[SERVER-36987] ChunkVersion::minorVersion truncates to 16 bit Created: 04/Sep/18  Updated: 29/Oct/23  Resolved: 12/Sep/18

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 4.1.2
Fix Version/s: 3.4.18, 3.6.9, 4.0.3, 4.1.3

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6, v3.4
Sprint: Sharding 2018-09-24
Participants:
Case:

 Description   

Mask in here should be 0xFFFFFFFF:

https://github.com/mongodb/mongo/blob/r4.1.2/src/mongo/s/chunk_version.h#L135



 Comments   
Comment by Githook User [ 18/Sep/18 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-36987 ChunkVersion::minorVersion truncates to 16 bit

(cherry picked from commit cf3e9512586e2538833b248895cd14844f5fbd65)
Branch: v3.6
https://github.com/mongodb/mongo/commit/0b92be077a7219bbda6bf737b9751df4dbf83559

Comment by Githook User [ 13/Sep/18 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-36987 ChunkVersion::minorVersion truncates to 16 bit

(cherry picked from commit cf3e9512586e2538833b248895cd14844f5fbd65)
Branch: v3.4
https://github.com/mongodb/mongo/commit/2fb61ce63f2588f59bc1c89ef9b01379544f1a3e

Comment by Githook User [ 12/Sep/18 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-36987 ChunkVersion::minorVersion truncates to 16 bit

(cherry picked from commit cf3e9512586e2538833b248895cd14844f5fbd65)
Branch: v4.0
https://github.com/mongodb/mongo/commit/7d42cd9d3ff352d8fceaa801b2a4cc59fa75d74a

Comment by Githook User [ 12/Sep/18 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-36987 ChunkVersion::minorVersion truncates to 16 bit
Branch: master
https://github.com/mongodb/mongo/commit/cf3e9512586e2538833b248895cd14844f5fbd65

Comment by Kaloian Manassiev [ 05/Sep/18 ]

Good catch, renctan! When you fix it - can you please also add a unit-test here?

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