feat:progressive compact#3240
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| DoCompactRange(task.type, task.argv.front(), task.argv.back()); | ||
| } | ||
| } else if (task.operation == kCompactSST) { | ||
| DoCompactOldFiles(task.type); |
| enum BeforeOrAfter { Before, After }; | ||
|
|
||
| enum DataType { kAll, kStrings, kHashes, kLists, kZSets, kSets, kStreams }; | ||
| enum DataType { kAll, kStrings, kHashes, kLists, kZSets, kSets, kStreams, kSST }; |
There was a problem hiding this comment.
这个写法看着有点特别,是为了让渐进式支持动态开关么?
| } | ||
| } | ||
|
|
||
| if (min_level < 6) min_level++; |
There was a problem hiding this comment.
L0层的文件是不是交给后台自动处理比较好? L6文件的处理IO我觉得相对也比较高,我这边的策略是不处理,交给低峰期的全量compact(正在测试中)
No description provided.