-
Type: Bug
-
Resolution: Done
-
Priority: Critical - P2
-
Affects Version/s: WT2.5.3, WT2.6.1
-
Component/s: 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.
- is depended on by
-
SERVER-19282 WiredTiger changes in MongoDB 3.1.6
- Closed