@@ -1110,19 +1110,19 @@ Output Fields
1110
1110
1111
1111
.. data:: currentOp.totalOperationTimeElapsed
1112
1112
1113
- The total time elapsed, in seconds, for the current resharding
1114
- operation. The time is set to 0 when a new resharding operation
1115
- starts.
1113
+ The total time elapsed, in seconds, for the current :ref:` resharding
1114
+ operation <sharding-resharding>` . The time is set to 0 when a new
1115
+ resharding operation starts.
1116
1116
1117
1117
Only present if a resharding operation is taking place.
1118
1118
1119
1119
.. versionadded:: 5.0
1120
1120
1121
1121
.. data:: currentOp.remainingOperationTimeEstimated
1122
1122
1123
- The estimated time remaining in seconds for the current resharding
1124
- operation. The time is set to -1 when a new resharding operation
1125
- starts.
1123
+ The estimated time remaining in seconds for the current
1124
+ :ref:`resharding operation <sharding-resharding>` . The time is set to
1125
+ -1 when a new resharding operation starts.
1126
1126
1127
1127
Only present when a resharding operation is taking place.
1128
1128
@@ -1131,11 +1131,11 @@ Output Fields
1131
1131
.. data:: currentOp.approxDocumentsToCopy
1132
1132
1133
1133
The approximate number of documents to be copied from the donor
1134
- shards to the recipient shards during the resharding operation. This
1135
- number is an estimate that is set at the beginning of the resharding
1136
- operation and does not change after it has been set. The number is
1137
- set to 0 when a new resharding operation starts. It is
1138
- possible for ``$currentOp.documentsCopied`` and
1134
+ shards to the recipient shards during the :ref:` resharding operation
1135
+ <sharding-resharding>`. This number is an estimate that is set at the
1136
+ beginning of the resharding operation and does not change after it
1137
+ has been set. The number is set to 0 when a new resharding operation
1138
+ starts. It is possible for ``$currentOp.documentsCopied`` and
1139
1139
``$currentOp.bytesCopied`` to end up exceeding
1140
1140
``$currentOp.approxDocumentsToCopy`` and
1141
1141
``$currentOp.approxBytesToCopy``, respectively, if
@@ -1149,8 +1149,8 @@ Output Fields
1149
1149
.. data:: currentOp.documentsCopied
1150
1150
1151
1151
The number of documents copied form donor shards to recipient shards
1152
- during the resharding operation. The number is set to 0 when a new
1153
- resharding operation starts.
1152
+ during the :ref:` resharding operation <sharding-resharding>` . The
1153
+ number is set to 0 when a new resharding operation starts.
1154
1154
1155
1155
Only present on a recipient shard when a resharding operation is
1156
1156
taking place.
@@ -1160,12 +1160,13 @@ Output Fields
1160
1160
.. data:: currentOp.approxBytesToCopy
1161
1161
1162
1162
The approximate number of bytes to be copied from the donor shards to
1163
- the recipient shards during the resharding operation. This number is
1164
- an estimate that is set at the beginning of the resharding operation
1165
- and does not change after it has been set. The number is set to 0
1166
- when a new resharding operation starts. It is possible for
1167
- ``$currentOp.documentsCopied`` and ``$currentOp.bytesCopied`` to end
1168
- up exceeding ``$currentOp.approxDocumentsToCopy`` and
1163
+ the recipient shards during the :ref:`resharding operation
1164
+ <sharding-resharding>`. This number is an estimate that is set at the
1165
+ beginning of the resharding operation and does not change after it
1166
+ has been set. The number is set to 0 when a new resharding operation
1167
+ starts. It is possible for ``$currentOp.documentsCopied`` and
1168
+ ``$currentOp.bytesCopied`` to end up exceeding
1169
+ ``$currentOp.approxDocumentsToCopy`` and
1169
1170
``$currentOp.approxBytesToCopy``, respectively, if the
1170
1171
post-resharding data distribution is not perfectly uniform.
1171
1172
@@ -1177,8 +1178,8 @@ Output Fields
1177
1178
.. data:: currentOp.bytesCopied
1178
1179
1179
1180
The number of bytes copied from donor shards to recipient shards
1180
- during the resharding operation. The number is set to 0 when a new
1181
- resharding operation starts.
1181
+ during the :ref:` resharding operation <sharding-resharding>` . The
1182
+ number is set to 0 when a new resharding operation starts.
1182
1183
1183
1184
Only present on a recipient shard when a resharding operation is
1184
1185
taking place.
@@ -1188,9 +1189,9 @@ Output Fields
1188
1189
.. data:: currentOp.totalCopyTimeElapsed
1189
1190
1190
1191
The total elapsed time, in seconds, for ongoing data copy tasks from
1191
- donor shards to recipient shards for the current resharding
1192
- operation. The time is set to 0 when a new resharding operation
1193
- starts.
1192
+ donor shards to recipient shards for the current :ref:` resharding
1193
+ operation <sharding-resharding>` . The time is set to 0 when a new
1194
+ resharding operation starts.
1194
1195
1195
1196
Only present on a recipient shard when a resharding operation is
1196
1197
taking place.
@@ -1200,8 +1201,8 @@ Output Fields
1200
1201
.. data:: currentOp.oplogEntriesFetched
1201
1202
1202
1203
The number of entries fetched from the :term:`oplog` for the current
1203
- resharding operation. The number is set to 0 when a new resharding
1204
- operation starts.
1204
+ :ref:` resharding operation <sharding-resharding>` . The number is set
1205
+ to 0 when a new resharding operation starts.
1205
1206
1206
1207
Only present on a recipient shard when a resharding operation is
1207
1208
taking place.
@@ -1211,8 +1212,8 @@ Output Fields
1211
1212
.. data:: currentOp.oplogEntriesApplied
1212
1213
1213
1214
The number of entries applied to the :term:`oplog` for the current
1214
- resharding operation. The number is set to 0 when a new resharding
1215
- operation starts.
1215
+ :ref:` resharding operation <sharding-resharding>` . The number is set
1216
+ to 0 when a new resharding operation starts.
1216
1217
1217
1218
Only present on a recipient shard when a resharding operation is
1218
1219
taking place.
@@ -1222,10 +1223,10 @@ Output Fields
1222
1223
.. data:: currentOp.totalApplyTimeElapsed
1223
1224
1224
1225
The total elapsed time, in seconds, for the apply step of the
1225
- current resharding operation. In the apply step, recipient shards
1226
- apply :term:`oplog` entries to modify their data based on new
1227
- incoming writes from donor shards. The time is set to 0 when a new
1228
- resharding operation starts.
1226
+ current :ref:` resharding operation <sharding-resharding>` . In the
1227
+ apply step, recipient shards apply :term:`oplog` entries to modify
1228
+ their data based on new incoming writes from donor shards. The time
1229
+ is set to 0 when a new resharding operation starts.
1229
1230
1230
1231
Only present on a recipient shard when a resharding operation is
1231
1232
taking place.
@@ -1235,9 +1236,10 @@ Output Fields
1235
1236
.. data:: currentOp.countWritesDuringCriticalSection
1236
1237
1237
1238
The number of writes perfomed in the critical section for the current
1238
- resharding operation. The critical section prevents new incoming
1239
- writes to the collection currently being resharded. The number is set
1240
- to 0 when a new resharding operation starts.
1239
+ :ref:`resharding operation <sharding-resharding>`. The critical
1240
+ section prevents new incoming writes to the collection currently
1241
+ being resharded. The number is set to 0 when a new resharding
1242
+ operation starts.
1241
1243
1242
1244
Only present on a donor shard when a resharding operation is taking
1243
1245
place.
@@ -1247,9 +1249,10 @@ Output Fields
1247
1249
.. data:: currentOp.totalCriticalSectionTimeElapsed
1248
1250
1249
1251
The total elapsed time, in seconds, for the critical section of the
1250
- current resharding operation. The critical section prevents new
1251
- incoming writes to the collection currently being resharded. The time
1252
- is set to 0 when a new resharding operation starts.
1252
+ current :ref:`resharding operation <sharding-resharding>`. The
1253
+ critical section prevents new incoming writes to the collection
1254
+ currently being resharded. The time is set to 0 when a new
1255
+ resharding operation starts.
1253
1256
1254
1257
Only present on a donor shard when a resharding operation is taking
1255
1258
place.
@@ -1258,8 +1261,9 @@ Output Fields
1258
1261
1259
1262
.. data:: currentOp.donorState
1260
1263
1261
- The current state of a donor shard for the resharding operation. The
1262
- state is set to ``unused`` when a new resharding operation starts.
1264
+ The current state of a donor shard for the :ref:`resharding operation
1265
+ <sharding-resharding>`. The state is set to ``unused`` when a new
1266
+ resharding operation starts.
1263
1267
1264
1268
Only present on a donor shard when a resharding operation is taking
1265
1269
place.
@@ -1306,9 +1310,9 @@ Output Fields
1306
1310
1307
1311
.. data:: currentOp.recipientState
1308
1312
1309
- The current state of a recipient shard for a resharding operation.
1310
- The state is set to ``unused`` when a new resharding operation
1311
- starts.
1313
+ The current state of a recipient shard for a :ref:` resharding
1314
+ operation <sharding-resharding>`. The state is set to ``unused`` when
1315
+ a new resharding operation starts.
1312
1316
1313
1317
Only present on a donor shard when a resharding operation is taking
1314
1318
place.
@@ -1354,11 +1358,11 @@ Output Fields
1354
1358
1355
1359
.. data:: currentOp.coordinatorState
1356
1360
1357
- The state of the resharding coordinator for the current resharding
1358
- operation. The resharding coordinator is an operation that runs on
1359
- the :doc:`config server </core/sharded-cluster-config-servers>`
1360
- primary. The state is set to ``unused`` when a new resharding
1361
- operation starts.
1361
+ The state of the resharding coordinator for the current
1362
+ :ref:` resharding operation <sharding-resharding>`. The resharding
1363
+ coordinator is an operation that runs on the :doc:`config server
1364
+ </core/sharded-cluster-config-servers>` primary. The state is set to
1365
+ ``unused`` when a new resharding operation starts.
1362
1366
1363
1367
Only present on the coordinating config server.
1364
1368
@@ -1426,7 +1430,8 @@ Output Fields
1426
1430
1427
1431
.. data:: currentOp.opStatus
1428
1432
1429
- The current state of a resharding operation.
1433
+ The current state of a :ref:`resharding operation
1434
+ <sharding-resharding>`.
1430
1435
1431
1436
Only present if a resharding operation is taking place. Once the
1432
1437
operation has completed, the operation is removed from ``currentOp``
0 commit comments