Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12345

Return an error when setting a timestamp to an older value

    • Storage Engines
    • 3
    • 2024-03-19 - PacificOcean, 2024-04-02 - GreatMugshot, 나비 (nabi) - 2024-04-16
    • v8.0

      Currently, the API set_timestamp ignores when a timestamp is set to an older value than its current one; it returns success. This can be misleading and an application may think the timestamp is being moved backwards.

      See SERVER-84706 where the team has identified a call that is a silent no-op.

      We should revisit this behaviour and potentially throw an error instead. We have an existing test that covers this specific scenario.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: