[Groonga-commit] droonga/droonga-engine at 38fb9ac [master] Output more logs for debugging

Back to archive index

YUKI Hiroshi null+****@clear*****
Mon Mar 23 19:58:08 JST 2015


YUKI Hiroshi	2015-03-23 19:58:08 +0900 (Mon, 23 Mar 2015)

  New Revision: 38fb9ac2e1e11ef42ac474dbf30a2197419d1df1
  https://github.com/droonga/droonga-engine/commit/38fb9ac2e1e11ef42ac474dbf30a2197419d1df1

  Message:
    Output more logs for debugging

  Modified files:
    lib/droonga/command/remote.rb

  Modified: lib/droonga/command/remote.rb (+3 -2)
===================================================================
--- lib/droonga/command/remote.rb    2015-03-23 19:29:11 +0900 (9886e39)
+++ lib/droonga/command/remote.rb    2015-03-23 19:58:08 +0900 (dbd8767)
@@ -211,15 +211,16 @@ module Droonga
         end
 
         def join_to_cluster
-          log("joining to the cluster: update myself")
-
+          log("joining to the cluster")
           @serf.join(*@other_hosts)
 
+          log("update catalog.json")
           CatalogModifier.modify do |modifier, file|
             modifier.datasets[dataset_name].replicas.hosts += @other_hosts
             modifier.datasets[dataset_name].replicas.hosts.uniq!
             @service_installation.ensure_correct_file_permission(file)
           end
+          log("done")
         end
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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