[Groonga-commit] droonga/droonga-engine at 9459aa2 [buffered-forward] Don't restart gracefully while the previous restart is not finished

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Mar 27 20:03:28 JST 2015


YUKI Hiroshi	2015-03-27 20:03:28 +0900 (Fri, 27 Mar 2015)

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

  Message:
    Don't restart gracefully while the previous restart is not finished

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

  Modified: lib/droonga/command/droonga_engine.rb (+2 -0)
===================================================================
--- lib/droonga/command/droonga_engine.rb    2015-03-27 19:46:29 +0900 (bb97578)
+++ lib/droonga/command/droonga_engine.rb    2015-03-27 20:03:28 +0900 (3da75b1)
@@ -491,6 +491,8 @@ module Droonga
         end
 
         def restart_graceful
+          return if @restarting
+          @restarting = true
           logger.trace("restart_graceful: start")
           old_service_runner = @service_runner
           reopen_log_file
-------------- next part --------------
HTML����������������������������...
Download 



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