[SERVER-14223] currentOp shows insert as op query Created: 10/Jun/14 Updated: 06/Dec/22 Resolved: 29/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Write Ops |
| Affects Version/s: | 2.6.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Asya Kamsky | Assignee: | Backlog - Query Team (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query
|
| Operating System: | ALL |
| Participants: |
| Description |
|
Output from db.currentOp() included:
This query is actually an insert? Not sure which component is lying here... |
| Comments |
| Comment by Asya Kamsky [ 29/Jan/19 ] |
|
This is no longer an issue, it was likely fixed as part of |
| Comment by James Wahlin [ 29/Jan/19 ] |
|
This was likely fixed as part of |
| Comment by Asya Kamsky [ 28/Jan/19 ] |
|
james.wahlin as of when was this no longer the case? I'm fine closing it but I'd prefer to close it as a dup of the ticket that fixed this. |
| Comment by James Wahlin [ 25/Jan/19 ] |
|
This should no longer be the case. We have this test that confirms that the "op" field for an insert has the value of "insert". I suspect the write command overhaul we did a few years ago fixed. asya - are you OK with closing this? |
| Comment by Githook User [ 29/Oct/14 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: Also rewrite top.js to actually test the stats |
| Comment by Eric Milkie [ 16/Jun/14 ] |
|
Need to re-evaluate this after we're done with the churn in this area of the codebase; curop code might be radically changed after 2.8 anyway. |
| Comment by Daniel Pasette (Inactive) [ 14/Jun/14 ] |
|
currentOp() is showing the write command itself, which is registered as a query. This is only cosmetic. The write ops are being recorded properly in serverStatus. |