[SERVER-26607] waitForMoveChunkStep test helper should take in to account moveChunk in 'join' mode Created: 12/Oct/16 Updated: 25/Jan/17 Resolved: 17/Oct/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | 3.4.0-rc0 |
| Fix Version/s: | 3.4.0-rc1 |
| Type: | Bug | 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: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Sharding 2016-10-31 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 0 | ||||||||||||
| Description |
|
It is possible to have multiple threads running the same moveChunk command at the same time on the same shard. Only one of which is doing the actual work while the rest waits for it to finish. The waitForMoveChunkStep assumes that there can only be one moveChunk and returns right away instead of checking the other ops: https://github.com/mongodb/mongo/blob/r3.4.0-rc0/jstests/libs/chunk_manipulation_util.js#L129 |
| Comments |
| Comment by Githook User [ 17/Oct/16 ] |
|
Author: {u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}Message: |