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
[Why]
Ra consistent queries are currently fragile in the sense that the query
function may run on a remote node and the function reference or MFA may
not be valid on that node:
* A different Erlang compiler may produce difference function references
for the same module source code. We observed a difference between
Erlang/OTP 25.x and Erlang/OTP 26.x compilers for instance.
* There is no way to be sure that the remote function copy, whether it
is described by a function reference of an MFA tuple, is the same as
the copy local to the caller. Indeed, the remote node may run a
different version after an upgrade to one of the local or remote
nodes.
[How]
That's why we force local queries for now. This is fine for now,
especially that we use Khepri projections in many places and they are
local by design.
0 commit comments