• J
    Introduce a global StatsDumpScheduler for stats dumping (#7223) · 69760b4d
    Jay Zhuang 提交于
    Summary:
    Have a global StatsDumpScheduler for all DB instance stats dumping, including `DumpStats()` and `PersistStats()`. Before this, there're 2 dedicate threads for every DB instance, one for DumpStats() one for PersistStats(), which could create lots of threads if there're hundreds DB instances.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/7223
    
    Reviewed By: riversand963
    
    Differential Revision: D23056737
    
    Pulled By: jay-zhuang
    
    fbshipit-source-id: 0faa2311142a73433ebb3317361db7cbf43faeba
    69760b4d
db_impl.cc 170.2 KB