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

Avoid magic numbers related to timestamps

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 3
    • StorEng - Defined Pipeline

      For consistency, we should:

      • Compare our timestamps to WT_TS_NONE instead of comapring them to 0.
      • Use the wt_timestamp_t type when declaring timestamp related variables.

      We could improve our dist/ suite to detect this in the future.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: