Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor tweak of rrpid fix.

  • Loading branch information...
commit 485db8de9ba0b037bea6ea03e4f52717dbeed009 1 parent f3d6804
@pmundkur pmundkur authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 master/src/ddfs/ddfs_gc_main.erl
View
6 master/src/ddfs/ddfs_gc_main.erl
@@ -414,10 +414,10 @@ handle_cast({gc_done, Node, NodeStats}, #state{phase = gc,
% Start the replicator process which will
% synchronously replicate any blobs it is told to,
% and then iterate over all the blobs.
- RRPid = start_replicator(self()),
+ Sr = S#state{rr_pid = start_replicator(self())},
Start = ets:first(gc_blobs),
- rereplicate_blob(S#state{rr_pid = RRPid}, Start),
- S#state{phase = rr_blobs, rr_pid = RRPid};
+ rereplicate_blob(Sr, Start),
+ Sr#state{phase = rr_blobs};
Remaining ->
error_logger:info_report({"GC: nodes pending in gc", Remaining}),
S
Please sign in to comment.
Something went wrong with that request. Please try again.