[SERVER-59661] Refactor construction of persisted chunks collection namespace Created: 30/Aug/21  Updated: 29/Oct/23  Resolved: 30/Aug/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Antonio Fuschetto Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-09-06
Participants:

 Description   

A collection may or may not support a long name, depending on the value of the supportLongName field. The actual namespace of the corresponding chunks collection depends on this configuration and, in particular, might use the collection name or UUID as a suffix (for example, config.cache.chunks.test.foo or config.cache.chunks.c4522ed9-6a0e-4e02-8145-cf2e9f35081e).

The logic that determines the actual chunks collection namespace should reside in a single function, avoiding scattering which are subsequently difficult to maintain.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 30/Aug/21 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-59661 Refactor construction of persisted chunks collection namespace
Branch: master
https://github.com/mongodb/mongo/commit/0f5e46ed312f5cfecfa0a07de293cebfb5ac645f

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