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

Opening cursor on nonexistent index leads to failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.6.1
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      Open a cursor on nonexistent index (the base table must exist). This fails as expected. Then drop the table.

      $ ./bug_drop_index
      [1437748149:86701][9591:0x7fff75dcb300], WT_SESSION.drop: ../src/schema/schema_list.c, 228: table->refcnt <= 1
      [1437748149:86733][9591:0x7fff75dcb300], WT_SESSION.drop: aborting WiredTiger library
      Abort trap: 6

      The debugger shows table->refcnt to be 2.

      See attached test case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                donald.anderson Donald Anderson
                Reporter:
                donald.anderson Donald Anderson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: