[Groonga-commit] droonga/droonga-engine at 2af7eb1 [buffered-forward] Use common method to cancel joining for unexpected exceptions

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Mar 26 20:13:53 JST 2015


YUKI Hiroshi	2015-03-26 20:13:53 +0900 (Thu, 26 Mar 2015)

  New Revision: 2af7eb1ee4fb0e2267d97996eac938aa14f03cd2
  https://github.com/droonga/droonga-engine/commit/2af7eb1ee4fb0e2267d97996eac938aa14f03cd2

  Message:
    Use common method to cancel joining for unexpected exceptions

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+1 -2)
===================================================================
--- bin/droonga-engine-join    2015-03-26 20:13:39 +0900 (8b659ae)
+++ bin/droonga-engine-join    2015-03-26 20:13:53 +0900 (80f2c49)
@@ -54,8 +54,7 @@ class JoinCommand
     rescue Exception => exception
       puts("Unexpected exception: #{exception.message}")
       puts(exception.backtrace.join("\n"))
-      unregister_from_existing_nodes
-      reset_node_role
+      do_cancel
       exit(false)
     end
   end
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index