Special case 8-byte timestamps

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.11, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-07-31
    • None

      We should be able to make wt_timestamp_t a union of a uint64_t and an array when WT_TIMESTAMP_SIZE==8.

      Among other things, that should allow us to guarantee that copy and compare operations use single operation rather than calling memcpy or memcmp. It should further allow us to avoid locking just in order to read a shared timestamp.

            Assignee:
            Sulabh Mahajan
            Reporter:
            Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: