summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/async
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2019-08-16 14:54:16 +1000
committerLuke Chen <luke.chen@mongodb.com>2019-08-16 14:54:16 +1000
commitd622dc9a28c6abf602432d34af64f87887407caf (patch)
tree72ea75766b99e5a72391c8fa10e4f0dad9743f61 /src/third_party/wiredtiger/src/async
parent3d9d70be9f5c824997e08a6feddd2792064aa621 (diff)
downloadmongo-d622dc9a28c6abf602432d34af64f87887407caf.tar.gz
Import wiredtiger: 280c572c8097a322e429a349f73135266f3faacf from branch mongodb-4.2
ref: 1a1197ef3c..280c572c80 for: 4.2.1 WT-4344 Add more test cases for metadata salvage WT-4460 Optimize for in-order, non-overlapping modifications WT-4858 Add compatibility support for gcc-9 and clang-8 WT-4909 Fix potential code caching/re-ordering issue in __search_insert_append WT-4917 Fix test/format where truncate operations not correctly compared with previous updates WT-4946 Tighten up failure checks for cursor join WT-4956 Handle the case where 4 billion updates are made to a page without eviction WT-4957 Revert part of a change about when pages are queued for urgent eviction WT-4963 Add debugging for rare test hang WT-4965 Disable problematic eviction during checkpoints WT-5036 Fix test/format where tracking buffer wrap causes repeatable operation failure WT-5038 Prevent eviction of prepared updates during commit WT-5040 Add dumping of cursor's page on a mismatch WT-5050 Assertion failure during urgent eviction of metadata page WT-5054 Fix test/format bug where truncation operations could fail repeatable read testing
Diffstat (limited to 'src/third_party/wiredtiger/src/async')
-rw-r--r--src/third_party/wiredtiger/src/async/async_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/async/async_api.c b/src/third_party/wiredtiger/src/async/async_api.c
index 9f9aa979139..0ef85b8cd28 100644
--- a/src/third_party/wiredtiger/src/async/async_api.c
+++ b/src/third_party/wiredtiger/src/async/async_api.c
@@ -160,8 +160,7 @@ retry:
WT_RET(__async_get_format(conn, uri, config, op));
op->unique_id = __wt_atomic_add64(&async->op_id, 1);
op->optype = WT_AOP_NONE;
- (void)__wt_atomic_store32(
- &async->ops_index, (i + 1) % conn->async_size);
+ async->ops_index = (i + 1) % conn->async_size;
*opp = op;
return (0);
}