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

Avoid deleting pre-image/change collection entries before allDurable/lastApplied timestamps

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution EMEA
    • v7.1, v7.0, v6.0
    • Execution EMEA Team 2023-09-04, Execution EMEA Team 2023-09-18

    Description

      As change collections and preimages are implicitly replicated collections only deletes are propagated. This leads to an oplog applier race between the delete and insert since both operations could occur at the same time. To avoid this issue we should make sure that only entries after the lastApplied/allDurable timestamps are deleted. That way we can ensure that the insert will always occur before a delete.

      Note that this only occurs with replicated deletes. Unreplicated truncates already solved this issue with SERVER-77972.

      Attachments

        Activity

          People

            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: