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

Don't strip too much content in wt_cmp_uri when printing the kv pairs

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 2024-02-20_A_near-death_puffin
    • 2

      The current function used to show a key/value:

      # Show a limited length version of a key/value
      def show_kv(kv):
          s = str(kv)
          if len(s) > 100:
              s = s[0:100] + '...'
          return s
      

      I like it but we should show the last bits, especially for the keys as we may have hundreds of 0's and then a number.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: