[Groonga-commit] droonga/droonga-engine at 2d1abf6 [master] Always forward messages to internal port.

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Apr 2 17:17:11 JST 2015


YUKI Hiroshi	2015-04-02 17:17:11 +0900 (Thu, 02 Apr 2015)

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

  Message:
    Always forward messages to internal port.
    
    For graceful shutdown/restart, messages in progress must be processed by the original (old) process.
    Othwrwise, the number of pending sessions in the old process increases and the new process receives orphan results.

  Modified files:
    lib/droonga/engine_state.rb

  Modified: lib/droonga/engine_state.rb (+1 -6)
===================================================================
--- lib/droonga/engine_state.rb    2015-04-02 16:14:46 +0900 (d4fe1e3)
+++ lib/droonga/engine_state.rb    2015-04-02 17:17:11 +0900 (97c7432)
@@ -68,12 +68,7 @@ module Droonga
 
     def farm_path(route)
       if /\A[^:]+:\d+\/[^.]+/ =~ route
-        name = $MATCH
-        if name == @internal_name
-          @name
-        else
-          name
-        end
+        $MATCH
       else
         route
       end
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る