-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
While running a patch build against mongodb, there was a failure in one of the tests that was unrelated to the change. It failed on the multi_shard_multi_stmt_txn_stepdown_primary_jscore_passthrough test.
The error message is:
[ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.921+0000 | 2020-08-26T05:35:17.920+00:00 D4 TXN 23984 [BackgroundSync] "New transaction started","attr":{"txnNumber":104,"lsid":{"uuid":{"$uuid":"e17302a5-84d8-4648-a1ea-3934d238595f"}}} [ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.921+0000 | 2020-08-26T05:35:17.921+00:00 D2 COMMAND 21965 [conn285] "About to run the command","attr":{"db":"local","commandArgs":{"find":"oplog.rs","limit":1,"sort":{"$natural":1},"batchSize":1,"singleBatch":true,"maxTimeMS":1000,"$readPreference":{"mode":"secondaryPreferred"},"readConcern":{"level":"local"},"$db":"local"}} [ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.922+0000 | 2020-08-26T05:35:17.921+00:00 E STORAGE 22435 [BackgroundSync] "WiredTiger error","attr":{"error":22,"message":"[1598420117:921475][104884:0x7fbda6aba700], WT_SESSION.prepare_transaction: __txn_assert_after_reads, 539: prepare timestamp (1598420116, 56) must be greater than the latest active read timestamp (1598420116, 58) : Invalid argument"} [ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.922+0000 | 2020-08-26T05:35:17.921+00:00 F - 23083 [BackgroundSync] "Invariant failure","attr":{"expr":"s->prepare_transaction(s, conf.c_str())","error":"BadValue: 22: Invalid argument","file":"src/mongo/db/storage/wiredtiger/wiredtiger_recovery_unit.cpp","line":235} [ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.922+0000 | 2020-08-26T05:35:17.921+00:00 F - 23084 [BackgroundSync] "\n\n***aborting after invariant() failure\n\n" [ShardedClusterFixture:job0:shard0:node0] 2020-08-26T05:35:17.922+0000 | 2020-08-26T05:35:17.921+00:00 F CONTROL 4757800 [BackgroundSync] "Writing fatal message","attr":{"message":"Got signal: 6 (Aborted).\n"}
- duplicates
-
SERVER-49781 Setting lastApplied before startup recovery has finished causes race with reconstructing prepared transactions
- Closed