Navigation Menu

Skip to content

Commit

Permalink
Cancel joining process if failed to update accept_messages_newer_than…
Browse files Browse the repository at this point in the history
… timestamp
  • Loading branch information
piroor committed Apr 21, 2015
1 parent edf4390 commit 574b8fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/droonga-engine-join
Expand Up @@ -66,7 +66,11 @@ module Droonga
do_join
register_to_existing_nodes
set_source_node_role
update_accept_messages_newer_than_timestamp
successed = update_accept_messages_newer_than_timestamp
unless successed
do_cancel
return false
end
if should_copy?
successed = copy_data
unless successed
Expand Down

0 comments on commit 574b8fd

Please sign in to comment.