mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::db: Reflect kPeriodicCompaction (6.6.2).
This commit is contained in:
parent
3ebc8f8a33
commit
5fbcc5b982
1 changed files with 7 additions and 0 deletions
|
@ -8530,6 +8530,13 @@ ircd::db::reflect(const rocksdb::CompactionReason &r)
|
|||
case CompactionReason::kTtl: return "Ttl";
|
||||
case CompactionReason::kFlush: return "Flush";
|
||||
case CompactionReason::kExternalSstIngestion: return "ExternalSstIngestion";
|
||||
|
||||
#if ROCKSDB_MAJOR > 6 \
|
||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR > 6) \
|
||||
|| (ROCKSDB_MAJOR == 6 && ROCKSDB_MINOR == 6 && ROCKSDB_PATCH >= 2)
|
||||
case CompactionReason::kPeriodicCompaction: return "kPeriodicCompaction";
|
||||
#endif
|
||||
|
||||
case CompactionReason::kNumOfReasons:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue