Petr Onderka has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/84136


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/dumps/incremental 
refs/changes/36/84136/1

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: newchange
Gerrit-Change-Id: I451dc98c394fa9b0ce6b2eed338782939743d5a8
Gerrit-PatchSet: 1
Gerrit-Project: operations/dumps/incremental
Gerrit-Branch: gsoc
Gerrit-Owner: Petr Onderka <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to