Petr Onderka has submitted this change and it was merged.
Change subject: Fix for "Don't write empty indexes"
......................................................................
Fix for "Don't write empty indexes"
Change-Id: I451dc98c394fa9b0ce6b2eed338782939743d5a8
---
M Indexes/IndexLeafNode.tpp
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
Petr Onderka: Verified; Looks good to me, approved
diff --git a/Indexes/IndexLeafNode.tpp b/Indexes/IndexLeafNode.tpp
index c15fb27..4728fc7 100644
--- a/Indexes/IndexLeafNode.tpp
+++ b/Indexes/IndexLeafNode.tpp
@@ -106,11 +106,15 @@
left->indexMap.insert(*it);
it++;
+ left->modified = true;
+
for (; it != indexMap.end(); it++)
{
right->indexMap.insert(*it);
}
+ right->modified = true;
+
return SplitResult(
std::unique_ptr<IndexNode<TKey, TValue>>(left),
std::unique_ptr<IndexNode<TKey, TValue>>(right),
--
To view, visit https://gerrit.wikimedia.org/r/84136
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I451dc98c394fa9b0ce6b2eed338782939743d5a8
Gerrit-PatchSet: 3
Gerrit-Project: operations/dumps/incremental
Gerrit-Branch: gsoc
Gerrit-Owner: Petr Onderka <[email protected]>
Gerrit-Reviewer: Petr Onderka <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits