mirror of
https://github.com/matrix-construct/construct
synced 2024-12-01 19:22:53 +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::kTtl: return "Ttl";
|
||||||
case CompactionReason::kFlush: return "Flush";
|
case CompactionReason::kFlush: return "Flush";
|
||||||
case CompactionReason::kExternalSstIngestion: return "ExternalSstIngestion";
|
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:
|
case CompactionReason::kNumOfReasons:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue