[SERVER-24393] Implement updateZoneKeyRange and _configsvrUpdateZoneKeyRange Created: 03/Jun/16  Updated: 14/Mar/17  Resolved: 26/Jul/16

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

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

Issue Links:
Documented
is documented by DOCS-9535 Docs for SERVER-24393: Implement upda... Closed
Duplicate
is duplicated by SERVER-22108 MongoDB does not raise an exception w... Closed
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 17 (07/15/16), Sharding 18 (08/05/16)
Participants:

 Description   

Public command format:

{
  updateZoneKeyRange: <string namespace>,
  min: <BSONObj min>,
  max: <BSONObj max>,
  zone: <string zone|null>
}

Internal command format:

{
  _configsvrUpdateZoneKeyRange: <string namespace>,
  min: <BSONObj min>,
  max: <BSONObj max>,
  zone: <string zone|null>,
  writeConcern: <BSONObj>
}

Requirements:
1. min < max.
2. zone should be an existing shard zone.
3. [min, max) should not overlap with existing zoned range.

Note:

  • passing a null zone is for removing an existing zoned range [min, max) from it's existing zone. The [min, max) should exactly match a real zoned range, otherwise, it will be a no-op.


 Comments   
Comment by Githook User [ 26/Jul/16 ]

Author:

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

Message: SERVER-24393 rename assignKeyRangeToZone to updateZoneKeyRange
Branch: master
https://github.com/mongodb/mongo/commit/6059f993660adefd04521673c44c2a4fbba82a08

Comment by Githook User [ 26/Jul/16 ]

Author:

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

Message: SERVER-24393 Implement assignKeyRangeToZone and _configsvrAssignKeyRangeToZone
Branch: master
https://github.com/mongodb/mongo/commit/3274d62a05755320d6ff87a071cc791814f14796

Comment by Githook User [ 22/Jul/16 ]

Author:

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

Message: SERVER-24393 Fix Clang3.4 compile failure
Branch: master
https://github.com/mongodb/mongo/commit/f4fc210e00ac1be7cc960fa12358e02b0a92ede0

Comment by Githook User [ 19/Jul/16 ]

Author:

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

Message: SERVER-24393 Implement ShardingCatalogManagerImpl::assignKeyRangeToZone
Branch: master
https://github.com/mongodb/mongo/commit/db4149d0f5a92249f117f69c2f4749c923141289

Comment by Githook User [ 19/Jul/16 ]

Author:

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

Message: SERVER-24393 Rename addTagRange to addRangeToZone and return Status
Branch: master
https://github.com/mongodb/mongo/commit/60822fbcaced0ab696e1f2b1c8ab6d2eb76e6918

Comment by Githook User [ 28/Jun/16 ]

Author:

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

Message: SERVER-24393 Fix assignKeyRangeToZone request type to use NamespaceString
Branch: master
https://github.com/mongodb/mongo/commit/a6e07096fe0014dc27adb865b956d89f403c4d32

Comment by Githook User [ 14/Jun/16 ]

Author:

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

Message: SERVER-24393 Implement types for assignKeyRangeToZone and _configsvrAssignKeyRangeToZone
Branch: master
https://github.com/mongodb/mongo/commit/08d13f99571eb12e85b03488befc31f5ad23c3db

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