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

Increment insert opcounter as part of resharding collection cloning

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.0.4, 5.1.0-rc0
    • 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

        Issue Links

          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: