[SERVER-77511] Sharding index test is checking secondary that might not have majority written a write Created: 26/May/23  Updated: 29/Oct/23  Resolved: 29/May/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc3

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-05-29, Sharding EMEA 2023-06-12
Participants:
Linked BF Score: 35

 Description   

The sharding index catalog test is checking if the index's catalog write was replicated:

  1. After the first register
  2. After migrating: here and here,
  3. After a drop: here and here

However, the chosen secondary might not have the write replicated yet. We could check all secondaries and ensure that at least one of them does have the write.



 Comments   
Comment by Githook User [ 31/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-77511 Ensure sharding index catalog API checks are executed for all secondary nodes

(cherry picked from commit 304b6d4319c3e547caf607a9224c75395cdb3885)
Branch: v7.0
https://github.com/mongodb/mongo/commit/5084cf8202726607111ae95ed0e2cf3ad8c3d6bb

Comment by Githook User [ 29/May/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-77511 Ensure sharding index catalog API checks are executed for all secondary nodes
Branch: master
https://github.com/mongodb/mongo/commit/304b6d4319c3e547caf607a9224c75395cdb3885

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