[Groonga-commit] droonga/droonga-engine at ef33ef4 [buffered-forward] Don't overwrite catalog.json of the joining node at first.

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Thu Jan 15 17:54:45 JST 2015


YUKI Hiroshi	2015-01-15 17:54:45 +0900 (Thu, 15 Jan 2015)

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

  Message:
    Don't overwrite catalog.json of the joining node at first.
    
    It is needless operation.

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

  Modified: lib/droonga/command/remote.rb (+0 -6)
===================================================================
--- lib/droonga/command/remote.rb    2015-01-15 17:41:46 +0900 (edef6c9)
+++ lib/droonga/command/remote.rb    2015-01-15 17:54:45 +0900 (03c7e88)
@@ -214,12 +214,6 @@ module Droonga
         end
 
         def join_to_cluster
-          # restart self with the fetched catalog.
-          SafeFileWriter.write(Path.catalog) do |output, file|
-            output.puts(JSON.pretty_generate(@catalog))
-            @service_installation.ensure_correct_file_permission(file)
-          end
-
           log("joining to the cluster: update myself")
 
           CatalogModifier.modify do |modifier, file|
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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