summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-02-07 09:33:58 -0500
committerKeith Bostic <keith@wiredtiger.com>2016-02-07 09:33:58 -0500
commit9bf9311365e9b213d5e67a965c8dd21185c9fbd3 (patch)
tree58e7195166902c8bf6fc9367e75be7f420e5f784
parentb96f95cc8b351635f487e5413eb2796b858e11c5 (diff)
downloadmongo-9bf9311365e9b213d5e67a965c8dd21185c9fbd3.tar.gz
WT-2361: column-store starting record number error
Column-store cannot skip past aborted or not-yet-visible entries in the page. If they are the only entries on the page, the page will be marked empty and reverse-split into its parent, discarding chunks of the name space, corrupting the tree.
-rw-r--r--src/reconcile/rec_write.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/reconcile/rec_write.c b/src/reconcile/rec_write.c
index 60482cb25b4..f60da40a0d2 100644
--- a/src/reconcile/rec_write.c
+++ b/src/reconcile/rec_write.c
@@ -3992,8 +3992,6 @@ __rec_col_fix(WT_SESSION_IMPL *session, WT_RECONCILE *r, WT_PAGE *page)
} else {
WT_RET(
__rec_txn_read(session, r, ins, NULL, NULL, &upd));
- if (upd == NULL)
- continue;
recno = WT_INSERT_RECNO(ins);
}
for (;;) {
@@ -4548,8 +4546,6 @@ compare: /*
} else {
WT_ERR(
__rec_txn_read(session, r, ins, NULL, NULL, &upd));
- if (upd == NULL)
- continue;
n = WT_INSERT_RECNO(ins);
}
while (src_recno <= n) {