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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: WT2.5.3, WT2.6.1
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alexander.gorrod Alexander Gorrod
                Reporter:
                grogers Greg Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: