-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Critical - P2
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
mongo-driver version: go.mongodb.org/mongo-driver v1.5.0
mongo server: sharded clusters with 2 shard, version: 4.2, WiredTiger engine
I use InsertMany API to insert 100000 documents (all documents will be hashed to the same shard), when context deadline exceed, it returned error, and part of the documents was inserted.
I expect that the InsertMany API is an atomic operation, but it is not.