Navigation Menu

Skip to content

Commit

Permalink
Don't set the "destination" role by self.
Browse files Browse the repository at this point in the history
Because the process is not finished.

Conflicts:
	bin/droonga-engine-join
  • Loading branch information
piroor committed Jan 16, 2015
1 parent 755b0a3 commit ca0e39c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/droonga/command/remote.rb
Expand Up @@ -192,13 +192,8 @@ def join_as_replica
log("other_hosts = #{@other_hosts}")
return if @other_hosts.empty?

@serf.role = NodeMetadata::Role::ABSORB_DESTINATION

join_to_cluster

absorb_data if should_absorb_data?

@serf.role = nil
end

def replica_hosts
Expand Down

0 comments on commit ca0e39c

Please sign in to comment.