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

search_near in indexes does not find exact matches

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.10, 3.3.11
    • Affects Version/s: WT2.9.0
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: