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

Print keys in __verify_row_key_order_check in human readable format

    • 3
    • 2023-07-25 Absolute unit

      If possible we should unpack keys before logging them in verify_row_key_order_check this would allow for easier diagnosis and debugging of issues when they are encountered. Currently the log message looks something like this:

      __verify_row_key_order_check, 259: the 61 and 63 keys on page at [] are incorrectly sorted: \\\\e9&\\\\2a\\\\eb\\\\1e, \\\\e9&\\\\2a\\\\ea\\\\f7

      Ideally it would be in the unpacked format and easier to parse, e.g:

       __verify_row_key_order_check, 259: the 61 and 63 keys on page at [] are incorrectly sorted: 10950, 10945

            Assignee:
            jie.chen@mongodb.com Jie Chen
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: