anchor.diff:          {TLog2, {ok, Directory}} ->
               case api_tx:req_list(TLog2, [{write, DirKey, dir_clear_load(Directory)}, {commit}]) of
                   {[], ok, ok} -> Directory;
  -                _ -> pop_load_in_directory(DirKey)
  +                Error -> log:log(warn, "~p: Failed to save directory ~p because of failed transaction: ~p", [?MODULE, DirKey, Error]),
  +                         pop_load_in_directory(DirKey)
               end;
           {_TLog2, {fail, not_found}} ->
               log:log(warn, "~p: Directory not found while posting load. This should never happen...", [?MODULE])
  
positive.code:           % post_load()
            MyDHT = pid_groups:get_my(dht_node),
            DirKey = int_to_str(get_random_directory_key()),
            comm:send_local(MyDHT, {lb_active, {request_load, DirKey, self()}}),
            State#state{schedule = []}
      end;
  
  handle_msg({directory_trigger}, State) ->
  
negative.code:             Pool = Directory#directory.pool,
              K = case Type of
                      periodic ->
                          %% clear directory only for periodic
                          NewDirectory = dir_clear_load(Directory),
                          set_directory(TLog, NewDirectory),
                          AvgUtil = gb_sets:fold(fun(El, Acc) -> Acc + El#lb_info.utilization end, 0, Pool) / gb_sets:size(Pool),
                          (1 + AvgUtil) / 2;
                      emergency ->
  