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

FLCS table_bitv == 0 assertion failure on mirror branch

      Running on the wt-8372-format-mirror-objects branch, which is up to date with develop as of early April, I hit a mirror table assertion failure relating to FLCS.

      The assertion is in test/format/verify.c on that branch:

      203	                testutil_assert(table_bitv == 0);
      

      The relevant values near that code from gdb:

      (gdb) p table_keyno
      $2 = 100001
      (gdb) p table_bitv
      $3 = 1 '\001'
      (gdb) p table_ret
      $4 = 0
      (gdb) p table_keyno
      $5 = 100001
      (gdb) p base_keyno
      $6 = 100002
      

      The comment in the code says FLCS should be returning a value of 0 for a removed entry and it is not, the table_bitv value above is 1.

                  /*
                   * RS and VLCS skip over removed entries, FLCS returns a value of 0. Skip to the next
                   * matching key number, asserting intermediate records have values of 0.
                   */
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: