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

Increment insert opcounter as part of resharding collection cloning

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • v5.0
    • Sharding 2021-07-12, Sharding 2021-07-26
    • 1

      Incrementing reshardingStatistics.resharding.opcounters.insert is technically redundant with shardingStatistics.resharding.documentsCopied but the opcounters version allows the graph to be continuous as the recipient shard transitions from cloning to applying.

      https://github.com/mongodb/mongo/blob/9103cc7b17be65b107ab7c9d49ce111bb32654fc/src/mongo/db/s/resharding/resharding_collection_cloner.cpp#L314

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: