未验证 提交 a8f77301 编写于 作者: R rongtong 提交者: GitHub

Merge pull request #2018 from imaffe/affe-0520-fix-slotvalue

[ISSUE #1807] only increase hashSlotCount when using slot for the first time
......@@ -134,7 +134,9 @@ public class IndexFile {
this.indexHeader.setBeginTimestamp(storeTimestamp);
}
this.indexHeader.incHashSlotCount();
if (invalidIndex == slotValue) {
this.indexHeader.incHashSlotCount();
}
this.indexHeader.incIndexCount();
this.indexHeader.setEndPhyOffset(phyOffset);
this.indexHeader.setEndTimestamp(storeTimestamp);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册