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

Special case 8-byte timestamps

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.11, WT3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              sulabh.mahajan Sulabh Mahajan
              Reporter:
              michael.cahill Michael Cahill
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: