[Groonga-commit] droonga/droonga-engine at 80e8c28 [master] Shutdown cluster (and each engine_node including FluentMessageSender) immediately.

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Mar 31 11:45:11 JST 2015


YUKI Hiroshi	2015-03-31 11:45:11 +0900 (Tue, 31 Mar 2015)

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

  Message:
    Shutdown cluster (and each engine_node including FluentMessageSender) immediately.
    
    Those living senders blocks the engine's shutdown process.

  Modified files:
    lib/droonga/engine.rb

  Modified: lib/droonga/engine.rb (+1 -2)
===================================================================
--- lib/droonga/engine.rb    2015-03-31 11:33:27 +0900 (75f2224)
+++ lib/droonga/engine.rb    2015-03-31 11:45:11 +0900 (6234cb1)
@@ -64,12 +64,11 @@ module Droonga
     def stop_gracefully
       logger.trace("stop_gracefully: start")
       @node_metadata.stop_observe
-      @cluster.stop_observe
+      @cluster.shutdown
       on_finish = lambda do
         logger.trace("stop_gracefully/on_finish: start")
         save_last_processed_message_timestamp
         @dispatcher.stop_gracefully do
-          @cluster.shutdown
           @state.shutdown
           yield
         end
-------------- next part --------------
HTML����������������������������...
Download 



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