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

Create statistics to track usage of set_timestamp with the force option

    • Storage Engines
    • 3
    • StorEng - 2024-01-23

      In WT-12032, we figured out that MongoDB is using the set_timestamp API with the force field.

      MongoDB uses it in a way that the oldest timestamp becomes greater than the stable timestamp which can cause undesired issues. To diagnose issues related to such usage of the API, it would be great to:

      • Track with a new statistic the usage of the set_timestamp API along with the force field.
      • Track whenever the stable and oldest timestamps are not in order. We may want to expand this to other timestamps.
      • Log a warning when ooo ts is detected after calling set_timestamp.

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

              Created:
              Updated:
              Resolved: