Skip to content

Commit

Permalink
Disable deletion of OOB results temporarily, see ISSUE discoproject#227
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Tuulos committed Dec 6, 2010
1 parent e6a2020 commit 5c93cf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion master/src/disco_server.erl
Expand Up @@ -340,7 +340,8 @@ do_schedule_next(#state{nodes = Nodes, workers = Workers} = S) ->
-spec do_purge_job(nonempty_string(), #state{}) -> #state{}.
do_purge_job(JobName, #state{purged = Purged} = S) ->
handle_call({clean_job, JobName}, none, S),
ddfs:delete(ddfs_master, disco:oob_name(JobName), internal),
% NB! next line disabled for 0.3.1, ISSUE #227
%ddfs:delete(ddfs_master, disco:oob_name(JobName), internal),
Key = list_to_binary(JobName),
NPurged =
case gb_trees:is_defined(Key, Purged) of
Expand Down

0 comments on commit 5c93cf7

Please sign in to comment.