Add TODO comment for possible race condition

This commit is contained in:
Shunichi Shinohara 2015-12-10 15:58:17 +09:00
parent 2e2d282afc
commit eef00e4f8f

View file

@ -250,6 +250,7 @@ do_pb_ll_request2(EpochID, CMD, S) ->
end.
lookup_epoch(#state{epoch_tab=T}) ->
%% TODO: race in shutdown to access ets table after owner dies
ets:lookup_element(T, epoch, 2).
%% Witness status does not matter below.