Skip to content

Commit ecb4d80

Browse files
authored
DOCS-15602 Recipient shard may incorrectly return 0 milliseconds remaining in resharding (#2228)
1 parent c55124f commit ecb4d80

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

source/reference/command/serverStatus.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4737,14 +4737,16 @@ shardingStatistics
47374737
.. serverstatus:: shardingStatistics.resharding.oldestActive.coordinatorAllShardsHighestRemainingOperationTimeEstimatedMillis
47384738

47394739
Calculated across all shards, the highest estimate of the number of
4740-
seconds remaining.
4740+
seconds remaining. If the time estimate cannot be computed, the
4741+
value is set to -1.
47414742

47424743
.. versionadded:: 6.1
47434744

47444745
.. serverstatus:: shardingStatistics.resharding.oldestActive.coordinatorAllShardsLowestRemainingOperationTimeEstimatedMillis
47454746

47464747
Calculated across all shards, the lowest estimate of the number of
4747-
seconds remaining.
4748+
seconds remaining. If the time estimate cannot be computed, the
4749+
value is set to -1.
47484750

47494751
.. versionadded:: 6.1
47504752

source/reference/operator/aggregation/currentOp.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,8 @@ relevant for the operation:
15621562
:ref:`resharding operation <sharding-resharding>`. The time is set to
15631563
-1 when a new resharding operation starts.
15641564

1565-
Only present when a resharding operation is taking place.
1565+
Only present when a resharding operation is taking place. This
1566+
field may not be present if an estimate cannot not be computed.
15661567

15671568
.. versionadded:: 5.0
15681569

0 commit comments

Comments
 (0)