[SERVER-78696] Only clear shard filtering metadata before releasing the critical section in collmod participants Created: 06/Jul/23  Updated: 29/Oct/23  Resolved: 25/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.7, 7.0.0-rc6
Fix Version/s: 7.1.0-rc0, 7.0.1, 6.0.9

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: not-7.0-blocker, shardingemea-qw
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0, v6.0
Sprint: Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07
Participants:
Story Points: 1

 Description   

Collmod participants are currently forcing a metadata refresh before releasing the critical section. Since everything is happening in the same phase, it can possibly happen the following:

  1. Clear filtering metadata
  2. Release critical section
  3. Stepdown/up
  4. Repeat steps starting from (1)

In that case, metadata would be forcibly refreshed



 Comments   
Comment by Githook User [ 17/Aug/23 ]

Author:

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

Message: SERVER-78696 Change collmod participant behavior to clear sharding metadata instead of forcing a refresh

(cherry picked from commit f6628e802ff035ca40fbfdba81f35734ff5bb901)
Branch: v7.0
https://github.com/mongodb/mongo/commit/26b3a73aefeeeed6028c9310707d847a08a9454e

Comment by Githook User [ 26/Jul/23 ]

Author:

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

Message: SERVER-78696 Change collmod participant behavior to clear sharding metadata instead of forcing a refresh

(cherry picked from commit f6628e802ff035ca40fbfdba81f35734ff5bb901)
Branch: v6.0
https://github.com/mongodb/mongo/commit/620555b144a2117e1b266860a098e879e3f8b5fc

Comment by Githook User [ 25/Jul/23 ]

Author:

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

Message: SERVER-78696 Change collmod participant behavior to clear sharding metadata instead of forcing a refresh
Branch: master
https://github.com/mongodb/mongo/commit/f6628e802ff035ca40fbfdba81f35734ff5bb901

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