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

Use helper function in __rollback_abort_row_ondisk_kv

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.5.1
    • Component/s: None
    • Labels:

      Description

      We should replace the check of WT_TS_NONE with the helper function as the previous check is not very easy to understand:

      if (vpack->tw.durable_start_ts > rollback_timestamp ||
            (vpack->tw.durable_stop_ts == WT_TS_NONE && prepared))
      

      else if (vpack->tw.durable_stop_ts != WT_TS_NONE &&
            (vpack->tw.durable_stop_ts > rollback_timestamp || prepared))
      

        Attachments

          Activity

            People

            Assignee:
            chenhao.qu Chenhao Qu
            Reporter:
            chenhao.qu Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: