[SERVER-67605] Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js not test restart with a 1-node shard Created: 28/Jun/22  Updated: 29/Oct/23  Resolved: 28/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.2, 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-62951 Deadlock on restarting the node with ... Open
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.0
Participants:
Linked BF Score: 6

 Description   

Due to the issue in described SERVER-62951, a 1-node replica set may end up performing replication recovery in the node is state "primary" rather than "secondary", and this can lead to a deadlock when there is a prepared transaction to reconstruct.



 Comments   
Comment by Githook User [ 12/Aug/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67605 Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js not test restart with a 1-node shard

(cherry picked from commit 64d2027a9485a267b93a3373fc64a573c5a172b1)
Branch: v6.0
https://github.com/mongodb/mongo/commit/48741207efea9d5386561f9bea988ac7e8dafc60

Comment by Githook User [ 28/Jun/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-67605 Make retryable_findAndModify_commit_and_abort_prepared_txns_after_failover_and_restart.js not test restart with a 1-node shard
Branch: master
https://github.com/mongodb/mongo/commit/64d2027a9485a267b93a3373fc64a573c5a172b1

Generated at Thu Feb 08 06:08:34 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.