[Groonga-commit] droonga/droonga-engine at 574b8fd [master] Cancel joining process if failed to update accept_messages_newer_than timestamp

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 21 19:55:10 JST 2015


YUKI Hiroshi	2015-04-21 19:55:10 +0900 (Tue, 21 Apr 2015)

  New Revision: 574b8fd8dd3b769dc0626a347b604d5c32abbbb7
  https://github.com/droonga/droonga-engine/commit/574b8fd8dd3b769dc0626a347b604d5c32abbbb7

  Message:
    Cancel joining process if failed to update accept_messages_newer_than timestamp

  Modified files:
    bin/droonga-engine-join

  Modified: bin/droonga-engine-join (+5 -1)
===================================================================
--- bin/droonga-engine-join    2015-04-21 19:54:29 +0900 (b2ae52b)
+++ bin/droonga-engine-join    2015-04-21 19:55:10 +0900 (91fd8ad)
@@ -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
-------------- next part --------------
HTML����������������������������...
下载 



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