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

Shard does not block inserts into time-series collection when in critical section

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • v5.0
    • QE 2021-08-09, QE 2021-08-23, QE 2021-09-06

    Description

      One of the steps during chunk migration is a critical section. While in critical section, shard should not accept any writes to the collection.

      While this is true for normal collection, for some reason time-series collection does accept writes during critical section. This could potentially lead to data loss, since the migrated chunk will be eventually deleted from the destination shard.

      Attachments

        Activity

          People

            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: