[Groonga-commit] droonga/droonga-engine at 67930ea [buffered-forward] Don't restart the node ifself if just a metadata is changed

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Mar 24 14:13:15 JST 2015


YUKI Hiroshi	2015-03-24 14:13:15 +0900 (Tue, 24 Mar 2015)

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

  Message:
    Don't restart the node ifself if just a metadata is changed

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

  Modified: lib/droonga/command/remote.rb (+0 -3)
===================================================================
--- lib/droonga/command/remote.rb    2015-03-24 13:59:14 +0900 (55e4130)
+++ lib/droonga/command/remote.rb    2015-03-24 14:13:15 +0900 (bcb194f)
@@ -133,7 +133,6 @@ module Droonga
           log("old value: #{metadata.get(@params["key"])}")
           metadata.set(@params["key"], @params["value"])
           log("new value: #{metadata.get(@params["key"])}")
-          Restarter.restart
         end
       end
 
@@ -277,7 +276,6 @@ module Droonga
 
           metadata = NodeMetadata.new
           metadata.set(:absorbing, true)
-          Restarter.restart(5)
 
           DataAbsorber.absorb(:dataset          => dataset_name,
                               :source_host      => source,
@@ -288,7 +286,6 @@ module Droonga
                               :client           => "droonga-send")
 
           metadata.delete(:absorbing)
-          Restarter.restart(5)
         end
 
         private
-------------- next part --------------
HTML����������������������������...
Download 



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