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

XMLWordPrintableJSON

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

      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
              Reporter:
              Chenhao Qu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: