Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rocksdb): fix the problem that the usage of block cache is not se…
…t for the metric (apache#2060) apache#2061 The monitor of the block cache usage is server-level and created by std::call_once in a replica-level object, running periodically to update the block cache usage. However, once the replica-level object is stopped, the server-level monitor would be cancelled; as a result, the block cache usage would never be updated.
- Loading branch information