[SERVER-36222] call to ReplSetTest.restart in shard_identity_rollback.js is racy Created: 20/Jul/18  Updated: 29/Oct/23  Resolved: 30/Sep/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.4.16, 3.6.6, 4.0.0, 4.1.1
Fix Version/s: 3.6.15, 4.0.13, 4.2.1, 4.3.1

Type: Bug Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
is duplicated by SERVER-34360 shard_identity_rollback.js has unreli... Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.2, v4.0, v3.6
Sprint: Sharding 2018-08-13, Sharding 2018-08-27, Sharding 2019-09-23, Sharding 2019-10-07
Participants:
Linked BF Score: 29

 Description   

The call to restart() waits to connect to the restarted node by default, but in this case the node is expected to crash after starting up, so the call to restart is racy and can fail if the node crashes before restart() is able to connect to it.

The test should pass {waitForConnect: false} as the options object to this call to restart.



 Comments   
Comment by Githook User [ 07/Oct/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js

(cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71)
Branch: v4.2
https://github.com/mongodb/mongo/commit/f7bb498a2544a9b513d6d361c0f6950520d82846

Comment by Githook User [ 07/Oct/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js

(cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71)
Branch: v3.6
https://github.com/mongodb/mongo/commit/73ea435a13e7347470a2e0b04f3c93d4fee30373

Comment by Githook User [ 07/Oct/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js

(cherry picked from commit f14c26dfc3975f0c98af26573ab91b5d9c09ee71)
Branch: v4.0
https://github.com/mongodb/mongo/commit/156b825e12aaf9d233a4cbb2bc499e259d0d2662

Comment by Githook User [ 30/Sep/19 ]

Author:

{'username': 'jannaerin', 'email': 'janna.golden@mongodb.com', 'name': 'Janna Golden'}

Message: SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js
Branch: master
https://github.com/mongodb/mongo/commit/f14c26dfc3975f0c98af26573ab91b5d9c09ee71

Comment by Githook User [ 28/Sep/19 ]

Author:

{'username': 'benety', 'email': 'benety@mongodb.com', 'name': 'Benety Goh'}

Message: Revert "SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js"

This reverts commit 1baa6565f72abccd2062af426b171d23af200b23.
Branch: master
https://github.com/mongodb/mongo/commit/7fdd49c2a80746baff1a2abed54c22003cb13078

Comment by Githook User [ 27/Sep/19 ]

Author:

{'username': 'jannaerin', 'email': 'janna.golden@mongodb.com', 'name': 'Janna Golden'}

Message: SERVER-36222 Wait for rollback is racy in shard_identity_rollback.js
Branch: master
https://github.com/mongodb/mongo/commit/1baa6565f72abccd2062af426b171d23af200b23

Comment by Githook User [ 23/Sep/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: Revert "SERVER-36222 Do not wait for connect when restarting node in shard_identity_rollback.js"

This reverts commit e91ba00e77b5c330d37474740b425f2c0d681e4f.
Branch: master
https://github.com/mongodb/mongo/commit/49130cd54ee550e4bc30d2d50ce7eeb01795e5bc

Comment by Githook User [ 20/Sep/19 ]

Author:

{'name': 'Janna Golden', 'username': 'jannaerin', 'email': 'janna.golden@mongodb.com'}

Message: SERVER-36222 Do not wait for connect when restarting node in shard_identity_rollback.js
Branch: master
https://github.com/mongodb/mongo/commit/e91ba00e77b5c330d37474740b425f2c0d681e4f

Generated at Thu Feb 08 04:42:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.