-
-
Notifications
You must be signed in to change notification settings - Fork 90
Description
ArcadeDB Version:
v23.7.1 (build 3213507/1692051585396/main)
OS and JDK Version:
Windows 10 10.0 - OpenJDK 64-Bit Server VM 11.0.20.1 (Corretto-11.0.20.9.1)
Expected behavior
After Inserting documents in async mode, updating one document, updating again the same document, the index should be updated accordingly.
Actual behavior
if the number of documents inserted asynchronously is > parallel level, the index is not updated.
If the number of docs inserted is < parallel level, the index is updated correctly.
Steps to reproduce
Execute the attached testWhereAfterAsyncInsert test case.
Sorry, it's a bit verbose, but if I try to simplify it, it does not reproduce the problem.
If you find what is the actual root cause of the problem, we can design a simpler test case.
In the test case I execute the first update asynchronously and the second update synchronously. but I have verified that also the other two combinations (both async or both sync) produce a failure.