Skip to content

Commit 786b98a

Browse files
committed
feat:渐进式compact
1 parent b11fea6 commit 786b98a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pika_server.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ void PikaServer::AutoProgressiveCompact() {
11571157
db_item.second->DBLockShared();
11581158
auto storage = db_item.second->storage();
11591159
if (storage) {
1160-
Status s = storage->LongestNotCompactionSstCompact(storage::DataType::kAll);
1160+
storage::Status s = storage->LongestNotCompactionSstCompact(storage::DataType::kAll);
11611161
if (!s.ok()) {
11621162
LOG(WARNING) << "Progressive compact for DB: " << db_item.first
11631163
<< " failed: " << s.ToString();

0 commit comments

Comments
 (0)