Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-18712

unexpected forestdb iterator behavior

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • 4.5.0
    • forestdb
    • None
    • Untriaged
    • Unknown
    • ForestDB: Oct 17 - Nov 4

    Description

      ForestDB iterator created with start key:

      0x73, 0x37, 0x35, 0x34, 0x36, 0x32, 0x34, 0xff

      with options:

      FDB_ITR_NO_DELETES | FDB_ITR_SKIP_MAX_KEY

      does not see the key:

      0x73, 0x37, 0x35, 0x34, 0x36, 0x32, 0x34, 0xff, 0x00, 0x00, 0x00

      Even though it should sort higher (when memcmp of common portion is 0, length is consulted).

      I posted about there here:

      https://groups.google.com/d/msg/forestdb/iwgOs0kV5-U/KEjVXAjaBAAJ

      and Jung-Sang confirmed he saw the same behavior if WAL is manually flushed before iterator_init()

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jung-sang Jung-Sang Ahn (Inactive)
              mschoch Marty Schoch [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty