rabbit_db: Note that rabbit_db_msup:create_or_update() is not atomic
... with Khepri.
This commit is contained in:
parent
440eb5b355
commit
c8fafa3772
|
@ -160,6 +160,7 @@ create_or_update_in_khepri(Group, Overall, Delegate, ChildSpec, Id) ->
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
|
%% FIXME: Not atomic with the get above.
|
||||||
ok = rabbit_khepri:put(Path, S),
|
ok = rabbit_khepri:put(Path, S),
|
||||||
start
|
start
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue