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

Autosplit tests may get one less chunk due to wuow commit delay

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v5.1
    • Sharding EMEA 2021-11-01
    • 157

    Description

      Reasons:

      1. With the new splitter algorithm (SERVER-55028 + SERVER-60009) it must not be possible to end up with more chunks than expected.
      2. The chunk splitter task is spawned by the sharding observer before the actual commit of the WriteUnitOfWork of the insert operation that is being observed. So it is actually possible for the last splitting round to be a no-op if the insert has not committed yet at the time of index scanning (intermediate split rounds could fail as well but subsequent ones would catch-up the missing splits).

      Tests to change:

      Attachments

        Activity

          People

            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: