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
I tried to reproduce the scenario with a testcase as in siddhi-io/siddhi-io-nats#36. But the events are retrieved in the correct order at the Source. Furthermore, I encountered a bug related to duplicating an event during persisting and restoring. It was fixed in the above PR itself.
Tried the same by publishing through a Nats Sink instead of NatsClient. Couldn't reproduce the out-of-order scenario.
Will try this on distributed deployment and update the thread
Steps to reproduce.
Setup the distribution deployment with file based persistence.
Have a counting query without window.
Send some events and see how the count is increasing.
On one terminal kill the stateful pod wile continuing to publish the
messages to the non stateful pod from the other terminal.
You should be able to see the numbers printed out of order.
On Mon, Jan 6, 2020 at 11:45, Chiran Fernando ***@***.***> wrote:
I tried to reproduce the scenario with a testcase as in
siddhi-io/siddhi-io-nats#36
<siddhi-io/siddhi-io-nats#36>. But the events are
retrieved in the correct order at the Source. Furthermore, I encountered a
bug related to duplicating an event during persisting and restoring. It was
fixed in the above PR itself.
Tried the same by publishing through a Nats Sink instead of NatsClient.
Couldn't reproduce the out-of-order scenario.
Will try this on distributed deployment and update the thread
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#817?email_source=notifications&email_token=AA44D6ARCRACMMVH7N7GI3DQ4LEANA5CNFSM4KCMVEMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIEQ36A#issuecomment-571018744>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA44D6DU5L7ARNRXA7WMXSTQ4LEANANCNFSM4KCMVEMA>
.
Description:
Events are out of order during distributed deployment recovery (replaying data from NATS Streaming Server).
Better if we know the reason why, and fix this if it will not introduce performance issues.
The text was updated successfully, but these errors were encountered: