-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.4.16
-
Component/s: None
-
None
-
ALL
-
We are in the process of upgrading our sharded Mongo cluster from 4.2 to 4.4. In production, we use replica sets, but in dev/test we do not. In dev/test, after upgrading featureCompatibilityVersion to 4.4, a moveChunk command executed from mongos fails with "Transaction numbers are only allowed on a replica set member or mongos". After downgrading to fcv 4.2, the moveChunk command succeeds. I encounter the same error both from the Java driver and mongo shell - in both cases retryable reads and retryable writes are disabled (we have had retryable reads and writes disabled since we upgraded to 4.0, since with them enabled we encountered similar errors about transactions not being supported without replica sets). The error message implies transaction numbers are allowed on mongos, which is where I am executing the command from. It also is unclear why there is a transaction number in the command in the first place. When I set breakpoints in the Java driver and inspect the moveChunk command at various points prior to it being sent to the server, there is no transaction number.
Thanks!
- is related to
-
SERVER-30765 Don't allow txnNumbers in commands for standalone mongods
- Closed
-
SERVER-41531 Support transactions on standalone instance
- Closed