[SERVER-7775] Make special commands (inprog, killop, unlock) go through the standard command codepath Created: 27/Nov/12 Updated: 22/Mar/17 Resolved: 13/Apr/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Adam Midvidy |
| 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: | Platform 1 04/03/15, Platform 2 04/24/15 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Currently inprog, killop, and unlock are special cased in the query handling code, rather than having a Command object with their implementation like ever other command. |
| Comments |
| Comment by Adam Midvidy [ 13/Apr/15 ] |
|
All pseudocommands are now in master. The associated wire version bump will happen when the find/getMore commands are implemented in mongos. As mentioned earlier, there is a behavior change in currentOp/inprog where the currentOp operation itself will now appear in the 'inprog' array of returned operations. |
| Comment by Githook User [ 13/Apr/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 13/Apr/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Adam Midvidy [ 09/Apr/15 ] |
|
the behavior of currentOp/inprog is slightly changed, it will now show itself in the list of returned operations, much like the ps command on unix. |
| Comment by Githook User [ 06/Apr/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 30/Mar/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 26/Mar/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |
| Comment by Githook User [ 25/Mar/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: Revert " This reverts commit 5c48ea0d3fd6556eb0ba7686a9da6159f0814d08. |
| Comment by Adam Midvidy [ 25/Mar/15 ] |
|
Going to need to do a bunch of work in Strategy::handleSpecialNamespaces to make this work properly in mongos. |
| Comment by Adam Midvidy [ 25/Mar/15 ] |
|
We're already going to bump the wire protocol for the find and getMore commands. We will include support for currentOp, killOp, and fsyncUnlock commands in that wire protocol version. |
| Comment by Githook User [ 25/Mar/15 ] |
|
Author: {u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}Message: |