[CSHARP-2251] Single insert succeed, but bulk insert fails Created: 23/Apr/18  Updated: 05/Apr/19  Resolved: 25/Apr/18

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 2.5
Fix Version/s: None

Type: Task Priority: Minor - P4
Reporter: Bin Guo Assignee: Robert Stam
Resolution: Duplicate Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

MongoDB 3.6.3


Issue Links:
Duplicate
duplicates CSHARP-2129 Insert with RetryWrites=true should w... Closed

 Description   

Environment: MongoDB 3.6.3 single node
C# Driver:2.5

With C# 2.5, bulk insert gives the error message: "Transaction numbers are only allowed on a replica set member or mongos"; Single insert works.

I guess it is related to new features in 3.6 such as session. But how I could deal with it.

Thanks



 Comments   
Comment by Robert Stam [ 25/Apr/18 ]

This looks like a duplicate of CSHARP-2129 which is fixed in version 2.5.1.

Please follow up if you continue to see this after upgrading to 2.5.1.

Generated at Wed Feb 07 21:42:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.