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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Matthew Saltz (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: