[SERVER-8255] backport sorted chunk cursor to 2.2 Created: 21/Jan/13  Updated: 11/Jul/16  Resolved: 23/Jan/13

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

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Greg Studer
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-13089 setShardVersion failed host Closed
Operating System: ALL
Participants:

 Description   

...as the change is tested in 2.3.0, but was never backported.

2f83d4eb5ccce4d7da554c4034c1b8f32ae7246b

Also should add sanity checks to master and backport as well - we should never migrate if our "from" version seems to be zero (since this indicates we have no chunks).



 Comments   
Comment by auto [ 23/Jan/13 ]

Author:

{u'date': u'2013-01-21T20:36:38Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-8255 warn and abort if starting from-side zero-version migration
Branch: v2.2
https://github.com/mongodb/mongo/commit/ea9c49e06abed02cad55d74d1d35ecc82e5d804e

Comment by auto [ 23/Jan/13 ]

Author:

{u'date': u'2012-10-22T16:06:47Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-8255: buildbot sharding_balance4.js DEBUG sorting chunks by lastmod
necessary when retrieving otherwise cursor yields can miss newer versions
Branch: v2.2
https://github.com/mongodb/mongo/commit/ffb92e80ed7b3e68d41d1f1fd7307f4bd2fd9001

Comment by auto [ 21/Jan/13 ]

Author:

{u'date': u'2013-01-21T20:36:38Z', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-8255 warn and abort if starting from-side zero-version migration
Branch: master
https://github.com/mongodb/mongo/commit/9aff17649253a666b14d9fed0a932fce883495be

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