[SERVER-27734] Remove the _id field from config.chunks, as it appears to have no utility Created: 18/Jan/17  Updated: 18/Jan/17  Resolved: 18/Jan/17

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

Type: Improvement Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Dianna Hohensee (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-8829 String representation for chunk id is... Closed
Participants:

 Description   

The indexes on config.chunks are

{ns: 1, min: 1}, {ns: 1, shard: 1, min: 1}, {ns: 1, lastmod: 1}

(defined here).

This will probably touch a good bit of code. Backwards compatibility must be maintained, so we'll have to continue writing it, which should be easy because _id is the concatenation of the namespace and min key fields.



 Comments   
Comment by Dianna Hohensee (Inactive) [ 18/Jan/17 ]

Decided not to do this right now because we want more dramatic schema changes in the future. Created SERVER-27735 instead, to ease backwards compatibility in future releases when the schema is changed.

Generated at Thu Feb 08 04:16:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.