mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Print oldest celldb snapshot to stats (#1078)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
679e6be294
commit
b3828f8eb2
6 changed files with 83 additions and 3 deletions
|
@ -27,6 +27,7 @@
|
|||
#include "auto/tl/ton_api.h"
|
||||
#include "validator.h"
|
||||
#include "db-utils.h"
|
||||
#include "td/db/RocksDb.h"
|
||||
|
||||
namespace rocksdb {
|
||||
class Statistics;
|
||||
|
@ -139,6 +140,7 @@ class CellDbIn : public CellDbBase {
|
|||
};
|
||||
|
||||
std::shared_ptr<rocksdb::Statistics> statistics_;
|
||||
std::shared_ptr<td::RocksDbSnapshotStatistics> snapshot_statistics_;
|
||||
CellDbStatistics cell_db_statistics_;
|
||||
td::Timestamp statistics_flush_at_ = td::Timestamp::never();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue