[SERVER-78251] move_chunk_deferred_lookup.js can fail if mongos RSM is stale after stepup Created: 20/Jun/23  Updated: 29/Oct/23  Resolved: 27/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc7, 4.4.24, 5.0.20, 6.0.9

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0, v5.0, v4.4
Participants:
Linked BF Score: 61

 Description   

As part of the test, we step up a secondary, we then try to perform an update, it can hit a not primary error if the mongos replica set monitor has not been informed of the new primary.



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-78251 Make move_chunk_deferred_lookup.js wait for mongos repl monitor to notice the new primary

(cherry picked from commit a91844712bc3e80864d905c07f166bdfe8b89328)
Branch: v7.0
https://github.com/mongodb/mongo/commit/1782e609a2ac9e0f6ffe9212ece45b76a661f5f0

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-78251 Make move_chunk_deferred_lookup.js wait for mongos repl monitor to notice the new primary

(cherry picked from commit a91844712bc3e80864d905c07f166bdfe8b89328)
Branch: v6.0
https://github.com/mongodb/mongo/commit/b3be157202100a778b710de21deba26f470a03bd

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-78251 Make move_chunk_deferred_lookup.js wait for mongos repl monitor to notice the new primary

(cherry picked from commit a91844712bc3e80864d905c07f166bdfe8b89328)
Branch: v5.0
https://github.com/mongodb/mongo/commit/680a445a25773631c692f89de7fe1aa00da67d2b

Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-78251 Make move_chunk_deferred_lookup.js wait for mongos repl monitor to notice the new primary

(cherry picked from commit a91844712bc3e80864d905c07f166bdfe8b89328)
Branch: v4.4
https://github.com/mongodb/mongo/commit/4ce1f8973b55a74046359f5ab43580630216fcdb

Comment by Githook User [ 26/Jun/23 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-78251 Make move_chunk_deferred_lookup.js wait for mongos repl monitor to notice the new primary
Branch: master
https://github.com/mongodb/mongo/commit/a91844712bc3e80864d905c07f166bdfe8b89328

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