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

Add an assert to ensure we are not unintentionally returning empty values

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 1
    • Storage - Ra 2020-08-10, Storage - Ra 2020-08-24

      WT-6538 see we return empty value to mongodb. One theory is that we may unintentionally set cbt->upd_value->skip_buf to true in search. We can add an assert in __wt_value_return to ensure that is never set to true when we return the value to verify the theory.

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

              Created:
              Updated:
              Resolved: