[SERVER-51614] The catalog cache should always refresh the routine information few times if it is inconsistent Created: 15/Oct/20  Updated: 29/Oct/23  Resolved: 16/Oct/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Bug Priority: Major - P3
Reporter: Sergi Mateo Bellido Assignee: Sergi Mateo Bellido
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

1. Add a sleep of two seconds here
2. Execute the following unitest: build/install/bin/s_test --suite CatalogCacheRefreshTest --filter IncrementalLoadNoChunksFound
3. The execution should hang because the test is expecting some incoming messages that are not going to be send.

Sprint: Sharding 2020-10-19
Participants:
Linked BF Score: 0

 Description   

We have some tests that rely that a constant number of collection routine info refreshes will take place under some conditions (no chunks on config.chunks) on the catalog cache. However, there is a fast path in the function that computes the collection routine info that may skip those refreshes ( here )

This issue was introduced when working on this other ticket



 Comments   
Comment by Githook User [ 16/Oct/20 ]

Author:

{'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}

Message: SERVER-51614 The catalog cache should always refresh the routine information few times if it is inconsistent
Branch: master
https://github.com/mongodb/mongo/commit/b6a04c494f73ca267547dcd79541c0977651037f

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