Use flags instead of booleans to store tracing options

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - 2022-08-08
    • 3

      Summary

      Use should use flags instead of booleans to store trace options because it is consistent with WiredTiger code style. We can use 

      uint32_t trace_flags; 

      Instead of 

          bool trace;
          bool trace_bulk;
          bool trace_cursor;
          bool trace_mirror_fail;
          bool trace_read;
          bool trace_timestamp;
          bool trace_txn; 

      in "GLOBAL" in "format.h:192"

            Assignee:
            Monica Ng
            Reporter:
            Alexey Anisimov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: