Skip to content

Commit c8fafa3

Browse files
committed
rabbit_db: Note that rabbit_db_msup:create_or_update() is not atomic
... with Khepri.
1 parent 440eb5b commit c8fafa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: deps/rabbit/src/rabbit_db_msup.erl

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ create_or_update_in_khepri(Group, Overall, Delegate, ChildSpec, Id) ->
160160
end
161161
end;
162162
_ ->
163+
%% FIXME: Not atomic with the get above.
163164
ok = rabbit_khepri:put(Path, S),
164165
start
165166
end.

0 commit comments

Comments
 (0)