]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Added a default Name method to Statistics (#8918)
authormrambacher <mrambach@gmail.com>
Fri, 17 Sep 2021 13:54:40 +0000 (06:54 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 17 Sep 2021 14:25:43 +0000 (07:25 -0700)
commit272cc7775186f9462ac076da99f701e976d13b0e
tree511ec40cfdf56482755c84dd7efb95b7fe7ffe49
parentd6aa8c49f849ebb3878e7f1e721dea89a8cf3dcb
Added a default Name method to Statistics (#8918)

Summary:
This keeps the implementations/API backward compatible.  Implementations of Statistics will need to override this method (and be registered with the ObjectRegistry) in order to be created via CreateFromString.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8918

Reviewed By: pdillinger

Differential Revision: D30958916

Pulled By: mrambacher

fbshipit-source-id: 75b99a84e9e11fda2a9e8eff9ee1ef69a17517b2
HISTORY.md
include/rocksdb/statistics.h
monitoring/statistics_test.cc