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
and then try to use Router.dispatch(..., consistency: :strong) it never returns :ok, but always {:error, :consistency_timeout}. You can easily test this in the dispatch_consistency_test.exs
The text was updated successfully, but these errors were encountered:
Thanks for the bug report @tcoopman, I will take a look. Expect it to be a straightforward fix - the consistency check is using the aggregate_uuid, which in the case of using a prefix will be different from the actual stream_uuid used to persist its events.
When you add a prefix to an AggregateRoot in the Router:
and then try to use
Router.dispatch(..., consistency: :strong)
it never returns:ok
, but always{:error, :consistency_timeout}
. You can easily test this in thedispatch_consistency_test.exs
The text was updated successfully, but these errors were encountered: