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

Use helper function in __rollback_abort_row_ondisk_kv

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.1, 4.7.0
    • Affects Version/s: None
    • Component/s: None

      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))
      

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

              Created:
              Updated:
              Resolved: