Return an error when setting a timestamp to an older value

XMLWordPrintableJSON

    • Storage Engines
    • 2024-03-19 - PacificOcean, 2024-04-02 - GreatMugshot, 나비 (nabi) - 2024-04-16
    • 3
    • 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
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: