[SERVER-85366] Retryable Write should always register a collection in the sharding catalog Created: 18/Jan/24  Updated: 07/Feb/24

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Enrico Golfieri Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: PM-3364-Milestone-5
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Catalog and Routing
Operating System: ALL
Participants:

 Description   

Currently in case of a insert or update performed within a retryable write, we skip the registration of the collection in the CSRS. 

The goal of this ticket is

  • remove that barrier and start registering collections.
  • remove the same barrier in the createIndex. Note the retryable writes only propagates the session info if the operation is supported. Since createIndex is unsupported, that check should always return false and no test should break.

Note that point 1. is known to cause some tests to fail and it won't be as trivial as just removing the check


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