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

search_near in indexes does not find exact matches

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • WT2.9.0
    • WT2.9.0, 3.2.10, 3.3.11
    • None
    • None

    Description

      Using the develop branch, I create a database create a few tables, insert a few rows and close the database using connection->close().

      When I re-open the database, data is missing.

      I don't use transactions and only use connection->close to close the database without any cursor->close or session-close.

      I tried using log=(enabled=true,recover=on) but it doesn't seem to fix the problem.

      I recognize that this a vague description of what happens, don't hesitate to ask for more information.

      FWIW, I pushed the code online and you can reproduce the bug as follow:

      $ git clone https://framagit.org/a-guile-mind/hyper.git
      $ cd hyper/src
      $ guile -L . index.scm
      $ guile -L . index.scm
      

      This requires Guile 2.0.11

      The second times guile -L . index.scm is run, the domain is said to be indexed but when the search is done no results is returned where the same thing returned results the first time.

      Attachments

        Activity

          People

            michael.cahill@mongodb.com Michael Cahill
            amz3 Amirouche
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: