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

OpObserverImpl should pass the shard key when calling shardObserveDeleteOp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.9.0-alpha4
    • Fix Version/s: 4.9.0
    • Component/s: Sharding
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Sharding 2021-03-22
    • Linked BF Score:
      121

      Description

      OpObserverImpl is only passing the document '_id' when calling shardObserveDeleteOp. However, it should also mass the shardKey element, because OpObserverShardingImpl::shardObserveDeleteOp needs it so that in assertIntersectingChunkHasNotMoved it is able to find the intersecting chunk.

      This line should be changed to:

      documentKey.getShardKeyAndId(),
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jordi.serra-torrens Jordi Serra Torrens
              Reporter:
              jordi.serra-torrens Jordi Serra Torrens
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: