[Groonga-commit] droonga/fluent-plugin-droonga at 61bd228 [graceful-restart-on-catalog-update] Start and stop catalog observer

アーカイブの一覧に戻る

Yoji Shidara null+****@clear*****
Thu Feb 13 16:22:21 JST 2014


Yoji Shidara	2014-02-13 16:22:21 +0900 (Thu, 13 Feb 2014)

  New Revision: 61bd228bb553141acbc9dd6cedb864148b7d22e1
  https://github.com/droonga/fluent-plugin-droonga/commit/61bd228bb553141acbc9dd6cedb864148b7d22e1

  Message:
    Start and stop catalog observer

  Modified files:
    lib/fluent/plugin/out_droonga.rb

  Modified: lib/fluent/plugin/out_droonga.rb (+2 -0)
===================================================================
--- lib/fluent/plugin/out_droonga.rb    2014-02-13 16:22:06 +0900 (451d782)
+++ lib/fluent/plugin/out_droonga.rb    2014-02-13 16:22:21 +0900 (4e173ea)
@@ -29,6 +29,7 @@ module Fluent
       super
       Droonga::PluginLoader.load_all
       @catalog_observer = Droonga::CatalogObserver.new
+      @catalog_observer.start
       catalog = @catalog_observer.catalog
       @engine = Droonga::Engine.new(catalog, :name => @name)
       @engine.start
@@ -36,6 +37,7 @@ module Fluent
 
     def shutdown
       @engine.shutdown
+      @catalog_observer.stop
       super
     end
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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