[SERVER-21132] Add more basic tests for moveChunk Created: 26/Oct/15  Updated: 16/Nov/16  Resolved: 10/Dec/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.2.0-rc0
Fix Version/s: 3.2.1, 3.3.0

Type: Improvement Priority: Major - P3
Reporter: Randolph Tan Assignee: Misha Tyulenev
Resolution: Done Votes: 0
Labels: test-only
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Sharding C (11/20/15), Sharding D (12/11/15), Sharding E (01/08/16)
Participants:

 Description   
  • Cannot moveChunk on unsharded collections
  • Cannot moveChunk on unsharded collections (with no config.db entry)
  • Returns an error for inavlid namespace
  • Errors if to shard does not exists
  • Errors if chunk is already at shard
  • Errors if find is not a valid shard key
  • Errors if either bounds is not a valid shard key
  • Using find on collections with hash shard keys should not crash
  • moveChunk with find on compound shard key


 Comments   
Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-21132 add basic tests for moveChunk command

(cherry picked from commit 1bcf9c7e197148299d7b49beef8290c7231d67cb)
Branch: v3.2
https://github.com/mongodb/mongo/commit/e882ffceebe67be6d61f88a219ae511335405141

Comment by Githook User [ 10/Dec/15 ]

Author:

{u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}

Message: SERVER-21132 add basic tests for moveChunk command
Branch: master
https://github.com/mongodb/mongo/commit/1bcf9c7e197148299d7b49beef8290c7231d67cb

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