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

Increment insert opcounter as part of resharding collection cloning

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • v5.0
    • Sharding 2021-07-12, Sharding 2021-07-26
    • 1

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: