diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-02-08 19:30:17 -0500 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-02-08 19:30:17 -0500 |
commit | 86b3d2f681862117289c0e8944d5166c84ffa54a (patch) | |
tree | f6df31c86f63454860f6825f1e051ac0eb50a2ea | |
parent | 3511f7656b94d3cb69d3fc6b9c07c972886b30b4 (diff) | |
download | mongo-86b3d2f681862117289c0e8944d5166c84ffa54a.tar.gz |
WT-2361: column-store starting record number error
Test against WT_CKPT_OFF, not WT_CKPT_RUNNING, the prepare phase is when
checkpoint is waiting for eviction to drain, testing against running would
allow us to race.
-rw-r--r-- | src/btree/bt_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_split.c b/src/btree/bt_split.c index ae083a41ba9..68d3cc91eb3 100644 --- a/src/btree/bt_split.c +++ b/src/btree/bt_split.c @@ -1401,7 +1401,7 @@ __split_parent_climb(WT_SESSION_IMPL *session, WT_PAGE *page, bool page_hazard) * split chunk, but we'll write it upon finding it in a different part * of the tree. */ - if (btree->checkpointing == WT_CKPT_RUNNING) + if (btree->checkpointing != WT_CKPT_OFF) return (__split_internal_unlock(session, page, page_hazard)); /* |