The goal of this task is to replace the timestamp-based logic that we have in the SSCCL to decide whether it has to use nss or uuid by the new flag. Note that this include two changes:
- We have to change the functions that insert/update/drop information to config.cache.chunks.* so they rely on the new flag.
- The transition from nss to uuid (and vice versa). Basically we have to rewrite the condition of this if-stmt in such a way that if it detects that the value of the flag changed it triggers the rename. The tricky part here is how to detect that the value that the shard has locally is different from the one it got from the CS. Open question: can we have something in memory so we don't have to go to disk?
Note that we will have to update some LOG messages too.
- depends on
-
SERVER-58570 Add a new field to config.collections/config.cache.collections representing whether a collection supports long names
- Closed
-
SERVER-58572 Extend the CatalogCache Loaders to properly propagate the long names flag
- Closed