gabrielgiussi / cappio

1 stars 0 forks source link

Solve duplicates of Undelivered #129

Open gabrielgiussi opened 4 years ago

gabrielgiussi commented 4 years ago

Actions duplicated (aka same id) break laminar split.

Duplicated Undelivered happens when in the same step, i.e. same index, a new request generates sends and the stubborn link timeout triggers (see point 2 in #86).

As a patch, this was solved by removing duplicates (toSet.toList in Snapshot#next 🤢) but the question is if we should prevent from this message to be created at all.