[SERVER-24467] Make the shard-side implementation of 'moveChunk' joinable Created: 08/Jun/16 Updated: 14/Jul/16 Resolved: 13/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Minor Change | ||||
| Sprint: | Sharding 16 (06/24/16) | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Currently, if the caller of the shard moveChunk command closes the connection for any reason, the chunk move operation will continue running in the background. If the same moveChunk command is retried though, the shard will return a ConflictingOperationInProgress error. We should make the sharded 'moveChunk' operation joinable so that if a moveChunk command with exactly the same arguments is invoked it will block waiting for the already active moveChunk to complete. |
| Comments |
| Comment by Githook User [ 13/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: This change makes the shard implementation of the 'moveChunk' command join In addition, it makes the moveChunk command report success if the |
| Comment by Githook User [ 13/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |
| Comment by Githook User [ 13/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: Also makes them 'use strict'. |
| Comment by Githook User [ 13/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: This change implements the '==' operator on MoveChunkRequest and any |