summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2018-07-25 15:04:48 -0400
committerMathias Stearn <mathias@10gen.com>2018-07-30 13:57:10 -0400
commit480192de1789e8387b64976ad015c11fac990617 (patch)
tree1bd8c4bf54334ca55254bbf534ad3d7127843355 /src/mongo/db/curop.h
parentd68d672dd4cc27c92be897e7523fad85664fc39e (diff)
downloadmongo-480192de1789e8387b64976ad015c11fac990617.tar.gz
SERVER-33135 Delete code for OP_COMMAND
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r--src/mongo/db/curop.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h
index 52b03ac7db2..4782935f8bf 100644
--- a/src/mongo/db/curop.h
+++ b/src/mongo/db/curop.h
@@ -150,10 +150,10 @@ public:
// -------------------
// basic options
- // _networkOp represents the network-level op code: OP_QUERY, OP_GET_MORE, OP_COMMAND, etc.
+ // _networkOp represents the network-level op code: OP_QUERY, OP_GET_MORE, OP_MSG, etc.
NetworkOp networkOp{opInvalid}; // only set this through setNetworkOp_inlock() to keep synced
// _logicalOp is the logical operation type, ie 'dbQuery' regardless of whether this is an
- // OP_QUERY find, a find command using OP_QUERY, or a find command using OP_COMMAND.
+ // OP_QUERY find, a find command using OP_QUERY, or a find command using OP_MSG.
// Similarly, the return value will be dbGetMore for both OP_GET_MORE and getMore command.
LogicalOp logicalOp{LogicalOp::opInvalid}; // only set this through setNetworkOp_inlock()
bool iscommand{false};
@@ -578,10 +578,10 @@ private:
// The cumulative duration for which the timer has been paused.
Microseconds _totalPausedDuration{0};
- // _networkOp represents the network-level op code: OP_QUERY, OP_GET_MORE, OP_COMMAND, etc.
+ // _networkOp represents the network-level op code: OP_QUERY, OP_GET_MORE, OP_MSG, etc.
NetworkOp _networkOp{opInvalid}; // only set this through setNetworkOp_inlock() to keep synced
// _logicalOp is the logical operation type, ie 'dbQuery' regardless of whether this is an
- // OP_QUERY find, a find command using OP_QUERY, or a find command using OP_COMMAND.
+ // OP_QUERY find, a find command using OP_QUERY, or a find command using OP_MSG.
// Similarly, the return value will be dbGetMore for both OP_GET_MORE and getMore command.
LogicalOp _logicalOp{LogicalOp::opInvalid}; // only set this through setNetworkOp_inlock()