You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Do you access the collection from multiple threads? If so, it is very likely that another thread modified the collection while Microstream did the store operation. The required synchronization can’t be done by Microstream and must be done by the application.
I got it!
It can be a probable cause.
Besides that, I have found that I was trying to store an empty collection in that case. So, I isolated the case and caught the BinaryPersistenceException.
Hi Microstream Team,
I`m using microstream and receiving this error on the log from time to time: Inconsistent element count: specified 2 vs. iterated 8756688418745
For sure, with a different number of specified and iterated.
It happens on the part of code that I call store method of one collection.
I made several changes to this collection, such as removing and adding elements in a map that contains two nested Queues as values.
This is the microstream part of the code I have found this error:
microstream/persistence/binary/src/main/java/one/microstream/persistence/binary/types/Binary.java
Line 2009 in d589e94
I need two answers about it:
Looking forward to your support.
The text was updated successfully, but these errors were encountered: