[SERVER-66542] Missing log/Update of the stats after the completion of a CatalogCache refresh Created: 18/May/22 Updated: 29/Oct/23 Resolved: 28/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc9, 6.1.0-rc0, 5.0.16 |
| Type: | Task | 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: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Backport Requested: |
v6.0, v5.3, v5.0
|
||||||||||||
| Sprint: | Sharding EMEA 2022-05-30 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
In However, I forgot to also log a line stating that the refresh was completed. This log line is very useful for debugging purposes, so I propose to add it. The same applies for the update of the stats. This fix will have to be backported to 6.0 but not to 5.0: the optimization was not backported to that version. |
| Comments |
| Comment by Githook User [ 27/Mar/23 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Before this change there was an early-exit path that wasn't updating the (cherry picked from commit 46a8e36aade47b36837d89cccfa41e28ddad272c) |
| Comment by Githook User [ 02/Jun/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Before this change there was an early-exit path that wasn't updating the (cherry picked from commit 46a8e36aade47b36837d89cccfa41e28ddad272c) |
| Comment by Githook User [ 27/May/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: Before this change there was an early-exit path that wasn't updating the |