anchor.diff:      Tmp0Entry = state_set_op(Entry, Op),
       Tmp1Entry = state_set_client(Tmp0Entry, Pid),
       TmpEntry = state_set_key(Tmp1Entry, Key),
  -    _ = case state_is_newly_decided(TmpEntry) of
  -            true ->
  -                Tmp2Entry = inform_client(Pid, TmpEntry),
  -                set_or_delete_if_all_replied(Tmp2Entry, Reps, Table);
  -            false -> pdb:set(TmpEntry, Table)
  -        end,
  +    set_and_inform_client_if_ready(Pid, TmpEntry, Reps, Table),
   %    State;
   %
   %%% triggered periodically
  
positive.code:                              [],
                               [{pid_groups_join_as, DHTNodeGroup, ?MODULE}]).
  
  -type state() :: {integer(), integer(), integer(), atom()}.
  
  %% initialize: return initial state.
  -spec init([]) -> state().
  
negative.code:                 %% when we get a client, we will inform it
                  pdb:set(TmpEntry, Table);
              Client ->
                  set_and_inform_client_if_ready(Client, TmpEntry, Reps, Table)
          end,
      State;
  
  