Possible concurrent adjustments to GapAwareTrackingToken.gaps #646
Labels
Priority 1: Must
Highest priority. A release cannot be made if this issue isn’t resolved.
Status: Resolved
Use to signal that work on this issue is done.
Type: Bug
Use to signal issues that describe a bug within the system.
Milestone
We have encountered two scenarios where we think the
gaps
in aGapAwareTrackingToken
might be adjusted concurrently. One such place is during theGapAwareTrackingToken#advanceTo()
function where in some scenario we end up with aNoSuchElementException
. Another recent scenario is the one giving in this user group thread, where theGapAwareTrackingToken#covers(TrackingToken)
ends up with aIllegalArgumentException
if a replay is performed whilst new events are added.The text was updated successfully, but these errors were encountered: