Erroneous "illegal argument" response for index with value_format=i

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • WT2.7.0
    • Affects Version/s: WT2.5.3, WT2.6.1
    • Component/s: None
    • None
    • None
    • None

      When inserting a value that is more negative than -64 (e.g. -65, -66, etc) into a table with format "i", iterating or searching for that value always returns "illegal argument" instead of successful responses. This is probably a bug in the variable length encoding, since it doesn't happen with format "l". It only seems to happen when that value is the key of an index, when it is in the primary key or a value it works fine.

      See attached test case.

      It basically corrupts the database since it writes the data just fine, but any subsequent attempts to read past it will return errors.

            Assignee:
            Alexander Gorrod
            Reporter:
            Greg Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: