[SERVER-27613] Remove unused 'chunkVersion' field sent in splitChunk command Created: 09/Jan/17  Updated: 05/Apr/17  Resolved: 11/Jan/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.5.1
Fix Version/s: 3.4.2, 3.5.2

Type: Improvement Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
is related to SERVER-27510 Compare only epochs instead of full c... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Sharding 2017-01-02
Participants:

 Description   

SERVER-27510 made splitChunk stop using the ChunkVersion sent in the 'chunkVersion' field of the command. This field should therefore stop being sent, since it's no longer used.

Note: splitChunk also has another ChunkVersion field, 'shardVersion', from which the epoch is extracted for comparison to ensure the collection hasn't been dropped and re-created. See here.



 Comments   
Comment by Githook User [ 11/Jan/17 ]

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27613 do not send chunk's ChunkVersion in split requests
Branch: v3.4
https://github.com/mongodb/mongo/commit/26bbc7bd32daa16a2a7585b5738bcc7800cd6c52

Comment by Githook User [ 11/Jan/17 ]

Author:

{u'username': u'EshaMaharishi', u'name': u'Esha Maharishi', u'email': u'esha.maharishi@mongodb.com'}

Message: SERVER-27613 do not send chunk's ChunkVersion in split requests
Branch: master
https://github.com/mongodb/mongo/commit/5998e8cde81d850e6b1bbd9156ed7d3223e6cd51

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