orientdb: IllegalArgumentException: newPosition > limit
OrientDB Version: 3.2.2
Java Version: openjdk version “11.0.11”
OS: Ubuntu 21.04
Expected behavior
To execute scripts in the database without problems.
Actual behavior
I had a database in 3.2.0 running fine with a ETL process importing data to it daily without problems. When I switched to 3.2.2, the ETL failed in some scripts that were previously running fine with the following exception:
Error: com.orientechnologies.orient.core.exception.OStorageException: Error on executing command:
...[SCRIPT CONTENT]...
DB name="mydatabase"
Error: java.lang.IllegalArgumentException: newPosition > limit: (4966672 > 65536)
The numbers in newPosition vary between different thrown exceptions.
Steps to reproduce
I don’t know exactly. SQL scripts running fine in 3.2.0 started to fail in 3.2.2.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 24 (15 by maintainers)
@michele-pinto-kensu 3.2.1 version should work. I am sorry for this inconvenience, we have pretty big coverage of tests on indexes but collapsing of BTrees after items deletion causes corner cases which is really hard to reproduce.
Hi, going to provide a fix this week.
@michele-pinto-kensu yes those changes are in both versions.
@leszekgruchala unfortunately you will see it later again. But as far as you do not perform updates you should be OK.