This repository was archived by the owner on Jan 9, 2025. It is now read-only.

Description
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:
|
if(address != elementsBinaryBound || iterator.hasNext()) |
I need two answers about it:
- How can I reproduce it in Unit Testing?
- Is there some approach that I should follow to overcome this issue? As calling storeRoot every time I change the root collection.
Looking forward to your support.