anchor.diff:              HeavyNodes = gb_sets:filter(fun(El) -> El#lb_info.utilization >  K end, Pool),
               ScheduleNew = find_matches(LightNodes, HeavyNodes, []),
               ?TRACE("New schedule: ~p~n", [ScheduleNew]),
  -            NewDirectory = dir_clear_load(Directory),
  -            %% TODO Should this be inside a transcaction? We may not want atomic attributes here
  -            set_directory(TLog, NewDirectory),
               ScheduleNew
       end.
   
  
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:         {TLog2, {ok, Directory}} ->
              case api_tx:req_list(TLog2, [{write, DirKey, dir_clear_load(Directory)}, {commit}]) of
                  {[], ok, ok} -> Directory;
                  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])
  