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

Back to archive index

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: 6066802051aaf7c563f7d9ed50c56abbe07414fb
  https://github.com/droonga/droonga-engine/commit/6066802051aaf7c563f7d9ed50c56abbe07414fb

  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����������������������������...
Download 



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