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

ShardServerOpObserver::onInserts should check if a chunk belongs to the shard before triggering a split

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL

    Description

      Right now, in the onInserts function in the shard op observer, we submit a chunk split task for any chunk in the ChunkManager. However, if the inserts are occurring due to a migration, the ChunkManager will contain the chunk, but that chunk will not belong to this shard yet, so we should not trigger a split.

      Attachments

        Activity

          People

            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: