[Groonga-commit] droonga/droonga-engine at 31b2765 [buffered-forward] Output failed step itself to the error message, when there is no destination

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 27 13:57:42 JST 2015


YUKI Hiroshi	2015-03-27 13:57:42 +0900 (Fri, 27 Mar 2015)

  New Revision: 31b27655fcd94fab2c0a8af93fbec31820db8820
  https://github.com/droonga/droonga-engine/commit/31b27655fcd94fab2c0a8af93fbec31820db8820

  Message:
    Output failed step itself to the error message, when there is no destination

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+6 -4)
===================================================================
--- lib/droonga/dispatcher.rb    2015-03-27 13:43:09 +0900 (b71305b)
+++ lib/droonga/dispatcher.rb    2015-03-27 13:57:42 +0900 (3e56b76)
@@ -202,16 +202,18 @@ module Droonga
           if write_step?(step)
             target_nodes =****@clust*****_nodes
             if target_nodes.empty?
-              logger.error("there is no node to dispath a write message!",
+              logger.error("there is no node to dispath a write step!",
                            :my_role   => @engine_state.role,
-                           :all_nodes => @cluster.engine_nodes.collect(&:to_json))
+                           :all_nodes => @cluster.engine_nodes.collect(&:to_json),
+                           :step      => step)
             end
           else
             target_nodes =****@clust*****_nodes
             if target_nodes.empty?
-              logger.error("there is no node to dispath a read message!",
+              logger.error("there is no node to dispath a read step!",
                            :my_role   => @engine_state.role,
-                           :all_nodes => @cluster.engine_nodes.collect(&:to_json))
+                           :all_nodes => @cluster.engine_nodes.collect(&:to_json),
+                           :step      => step)
             end
           end
           routes = dataset.compute_routes(step, target_nodes)
-------------- next part --------------
HTML����������������������������...
Download 



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