[Groonga-commit] droonga/droonga-engine at 40463de [buffered-forward] Report all engine nodes more readable

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Jan 15 16:05:01 JST 2015


YUKI Hiroshi	2015-01-15 16:05:01 +0900 (Thu, 15 Jan 2015)

  New Revision: 40463dedba1f962fdcfe5dca156674dce050a7a5
  https://github.com/droonga/droonga-engine/commit/40463dedba1f962fdcfe5dca156674dce050a7a5

  Message:
    Report all engine nodes more readable

  Modified files:
    lib/droonga/dispatcher.rb
    lib/droonga/engine_node.rb

  Modified: lib/droonga/dispatcher.rb (+2 -2)
===================================================================
--- lib/droonga/dispatcher.rb    2015-01-15 15:52:22 +0900 (da5f69c)
+++ lib/droonga/dispatcher.rb    2015-01-15 16:05:01 +0900 (beaaaa0)
@@ -206,14 +206,14 @@ module Droonga
             if target_nodes.empty?
               logger.error("there is no node to dispath a write message!",
                            :my_role   => @engine_state.role,
-                           :all_nodes => @cluster.engine_nodes(&:to_json))
+                           :all_nodes => @cluster.engine_nodes.collect(&:to_json))
             end
           else
             target_nodes =****@clust*****_nodes
             if target_nodes.empty?
               logger.error("there is no node to dispath a read message!",
                            :my_role   => @engine_state.role,
-                           :all_nodes => @cluster.engine_nodes(&:to_json))
+                           :all_nodes => @cluster.engine_nodes.collect(&:to_json))
             end
           end
           routes = dataset.compute_routes(step, target_nodes)

  Modified: lib/droonga/engine_node.rb (+1 -1)
===================================================================
--- lib/droonga/engine_node.rb    2015-01-15 15:52:22 +0900 (da0ed00)
+++ lib/droonga/engine_node.rb    2015-01-15 16:05:01 +0900 (e19da0c)
@@ -95,7 +95,7 @@ module Droonga
       {
         "name"   => name,
         "role"   => role,
-        "status" => status
+        "status" => status,
       }
     end
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る