[CSHARP-2361] Command update failed: Transaction numbers are only allowed on a replica set member or mongos. Created: 23/Aug/18  Updated: 05/Apr/19  Resolved: 10/Sep/18

Status: Closed
Project: C# Driver
Component/s: Session Management
Affects Version/s: 2.7.0
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Jin Assignee: Unassigned
Resolution: Done Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

.net core 2.1


Attachments: PNG File image-2018-08-23-16-19-50-674.png     PNG File image-2018-08-23-16-20-16-390.png     PNG File image-2018-08-23-16-24-54-805.png    

 Description   

Command update failed: Transaction numbers are only allowed on a replica set member or mongos.

 



 Comments   
Comment by Jeffrey Yemin [ 10/Sep/18 ]

Looks like you found the answer, but please comment back if you are still having an issue.

Comment by Jin [ 24/Aug/18 ]

I find this  https://stackoverflow.com/questions/51238986/pymongo-transaction-errortransaction-numbers-are-only-allowed-on-a-replica-set

Comment by Jin [ 23/Aug/18 ]
MongoDB Version 4.0.1

on docker.

 

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