0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-02 03:32:52 +01:00

ircd::db: Reflect kPeriodicCompaction (6.6.2).

This commit is contained in:
Jason Volk 2020-05-04 20:54:12 -07:00
parent 3ebc8f8a33
commit 5fbcc5b982

View file

@ -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;
} }