Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-76278

Log extra migration information

    • 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.

            Assignee:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Reporter:
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: