Skip to content

Commit

Permalink
Merge branch 'fix_compactslots' into 'master' (merge request !582)
Browse files Browse the repository at this point in the history
fix compactslots doesn't work
### MR描述
<!--- 详细描述MR的细节 -->


### 修改动机和上下文背景
<!--- 为什么需要此修改, 解决了什么问题 -->
<!---如果解决了相关的#issue, 在此处进行关联(#issue, close #issue) -->



### 此MR如何进行测试 ?
<!--- 请描述测试MR的细节 -->
<!--- 包括测试的环境以及执行的测试用例 -->
<!--- 说明 change 如何影响其他部分的代码 etc. -->

### change 类型
<!---你的代码引入了何种类型的change, 在所有关联的复选框前选择"x" -->
- [ ] Bug fix (修复了issue的非侵入式修改)
- [ ] New feature (增加功能的非侵入式修改)
- [ ] Breaking change (修复或者增加特性, 但是会造成现有行为的非预期行为)

### 清单
<!--- 查看下述选项,并进行"x"勾选 -->
<!--- 如果你对所有都不确定, 请随时咨询我们 -->
- [ ] 遵循项目的Code-Style
- [ ] Change 需要文档的修改
- [ ] 我已经进行相关文档的修改
- [ ] 我的MR已经通过的相关流水线测试
  • Loading branch information
takenliu committed Feb 22, 2023
2 parents 408f142 + 3708077 commit ab04b4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tendisplus/commands/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4215,7 +4215,7 @@ class compactSlotsCommand : public Command {
for (uint32_t storeid = 0; storeid < server->getKVStoreCount(); storeid++) {
uint32_t myBegin = UINT32_MAX;
uint32_t myEnd = UINT32_MAX;
for (uint32_t chunkid = beginChunkid; chunkid <= beginChunkid;
for (uint32_t chunkid = beginChunkid; chunkid <= endChunkid;
chunkid++) {
if (server->getSegmentMgr()->getStoreid(chunkid) == storeid) {
if (myBegin == UINT32_MAX) {
Expand Down

0 comments on commit ab04b4c

Please sign in to comment.