[DOCS-979] Clarify which fields are included in db.currentOp() Created: 11/Jan/13 Updated: 30/Oct/23 Resolved: 17/Jan/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Randall Hunt | Assignee: | Sam Kleinman (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 11 years, 3 weeks, 1 day ago | ||||
| Description |
|
We should specify which fields are/are-not included in db.currentOp() and what criteria cause fields to be elided. |
| Comments |
| Comment by auto [ 29/Jan/13 ] |
|
Author: {u'date': u'2013-01-29T16:29:37Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}Message: merge: |
| Comment by auto [ 29/Jan/13 ] |
|
Author: {u'date': u'2013-01-29T16:20:58Z', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}Message: Randall commented in email: _active is probably more correctly thought of as _started – things remain active (currently) even when they're yielded. At least in my limited test and understanding of the execution logic. _active only goes back to false during a reset/when the op is done. I checked in the source and _active will only be set to false |
| Comment by Ed Costello [ 29/Jan/13 ] |
|
@samk I had an email from Randall in my pile that explained this a bit further, I just pushed a minor rewrite of this section in https://github.com/epc/docs/pull/new/DOCS-979-currentop |
| Comment by Randall Hunt [ 17/Jan/13 ] |
|
LGTM, I was just concerned that we were not being clear that the op looks different sometimes and that _active is more consistent with the idea of "started" than _active. |
| Comment by Sam Kleinman (Inactive) [ 16/Jan/13 ] |
|
ranman do you have more info about this that I may have missed? Its my sense from looking at the code that currentop docs are pretty consistent... |
| Comment by Sam Kleinman (Inactive) [ 15/Jan/13 ] |
|
https://github.com/mongodb/docs/commit/578876c863000ec8027b23db8cacc3129ec7abca |
| Comment by Randall Hunt [ 11/Jan/13 ] |