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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • v5.0
    • QE 2021-08-09, QE 2021-08-23, QE 2021-09-06

      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.

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

              Created:
              Updated:
              Resolved: