BugZero found this defect 31 days ago.
Data sources
All data on this page is proprietary to BugZero® or gathered from public sources
4/18/2024
MongoDB Server
8.0.0-rc0
8.0 Required
This invariant fails in the following reproducer test run in bulk_write_targeted_override suite: import {CreateShardedCollectionUtil} from "jstests/sharding/libs/create_sharded_collection_util.js"; (function() { "use strict"; const st = new ShardingTest({mongos: 1, config: 1, shards: 2, rs: {nodes: 1}}); const db = st.s.getDB("test"); const collection = db.getCollection("mycoll"); CreateShardedCollectionUtil.shardCollectionWithChunks(collection, {x: 1}, [ {min: {x: MinKey}, max: {x: 0}, shard: st.shard0.shardName}, {min: {x: 0}, max: {x: 10}, shard: st.shard0.shardName}, {min: {x: 10}, max: {x: MaxKey}, shard: st.shard1.shardName}, ]); const updateCmd = { updates: [ {q: {_id: 1}, u: {$inc: {counter: 1}}}, {q: {_id: 2}, u: {$inc: {counter: 1}}}, {q: {_id: 3}, u: {$inc: {counter: 1}}}, ], ordered: true, txnNumber: NumberLong(0), }; const sessionCollection = st.s.startSession({causalConsistency: false, retryWrites: false}) .getDatabase(db.getName()) .getCollection(collection.getName()); assert.commandWorked(sessionCollection.runCommand("update", updateCmd)); })();