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

Special case 8-byte timestamps

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

      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@mongodb.com Sulabh Mahajan
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: