[Groonga-commit] droonga/droonga-engine at d00cb87 [master] Report both internal and regular node name

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Mar 25 15:20:17 JST 2015


YUKI Hiroshi	2015-03-25 15:20:17 +0900 (Wed, 25 Mar 2015)

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

  Message:
    Report both internal and regular node name

  Modified files:
    lib/droonga/plugins/system.rb

  Modified: lib/droonga/plugins/system.rb (+3 -1)
===================================================================
--- lib/droonga/plugins/system.rb    2015-03-25 15:07:49 +0900 (4cbbf27)
+++ lib/droonga/plugins/system.rb    2015-03-25 15:20:17 +0900 (4bd5515)
@@ -25,9 +25,11 @@ module Droonga
         action.synchronous = true
 
         def handle(message)
+          engine_state =****@messe*****_state
+          reporter     = "#{engine_state.internal_name} @ #{engine_state.name}"
           {
             "nodes"    => @messenger.cluster.engine_nodes_status,
-            "reporter" => @messenger.engine_state.internal_name,
+            "reporter" => reporter,
           }
         end
       end
-------------- next part --------------
HTML����������������������������...
下载 



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