-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Sharding EMEA
-
Fully Compatible
-
v7.0, v6.3, v6.0, v5.0
-
Sharding EMEA 2023-05-01, Sharding EMEA 2023-05-15
SERVER-72146 added extra statistics related to migration, we could use it to log it at the end of the operation to give more information about the current state of migrations, specifically the throughput, and how long a migration is taking.
Specifically, at the end of a successful migration we should log:
- migrationId: to identify the migration
- totalTimeMillis: to know the total amount of time taken by the migrations in milliseconds
- docsCloned: the number of documents cloned to the recipient shard by the migration
- bytesCloned: the total number of bytes cloned to the recipient shard by the migration
- cloneTime: the final amount of time taken by the clone phase by the migration in milliseconds.
- related to
-
SERVER-72146 Make chunk migrations metrics more accessible from Atlas
- Closed