Add TODO comment for possible race condition
This commit is contained in:
parent
2e2d282afc
commit
eef00e4f8f
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ do_pb_ll_request2(EpochID, CMD, S) ->
|
||||||
end.
|
end.
|
||||||
|
|
||||||
lookup_epoch(#state{epoch_tab=T}) ->
|
lookup_epoch(#state{epoch_tab=T}) ->
|
||||||
|
%% TODO: race in shutdown to access ets table after owner dies
|
||||||
ets:lookup_element(T, epoch, 2).
|
ets:lookup_element(T, epoch, 2).
|
||||||
|
|
||||||
%% Witness status does not matter below.
|
%% Witness status does not matter below.
|
||||||
|
|
Loading…
Reference in a new issue