[SERVER-69771] Mongos must retry StaleConfig exceptions on collection creation Created: 16/Sep/22  Updated: 29/Sep/22  Resolved: 29/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.1.0-rc2
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Paolo Polato
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Operating System: ALL
Backport Requested:
v6.1
Sprint: Sharding EMEA 2022-09-19, Sharding EMEA 2022-10-03
Participants:

 Description   

In SERVER-67633 we made `_shardsvrCreateCollection` to possibly throw StaleConfig exception if the collection critical section is active.

The problem is that the mongos do not retry this error on the create command.



 Comments   
Comment by Paolo Polato [ 29/Sep/22 ]

We could verify that

  • there is already an existing an existing mechanism to retry _shardsvrCreateCollection when a StaleConfig error is raised
  • the failure that led to the creation of this ticket was actually a test artifact.

Closing SERVER-69771 and the related backport as a consequence of this.

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