[Groonga-commit] droonga/droonga-engine at b7462de [master] Move preparation process to top block

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Nov 6 00:13:22 JST 2014


Kouhei Sutou	2014-11-06 00:13:22 +0900 (Thu, 06 Nov 2014)

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

  Message:
    Move preparation process to top block

  Modified files:
    lib/droonga/catalog/version2.rb

  Modified: lib/droonga/catalog/version2.rb (+2 -1)
===================================================================
--- lib/droonga/catalog/version2.rb    2014-11-06 00:06:34 +0900 (c1dd8b0)
+++ lib/droonga/catalog/version2.rb    2014-11-06 00:13:22 +0900 (f09248a)
@@ -44,9 +44,10 @@ module Droonga
             volume.slices.each do |slice|
               volume_address = slice.volume.address
               if volume_address.node == node
+                migrate_database_location(device, volume_address.name)
+
                 path = File.join([device, Path.databases.basename.to_s, volume_address.name, "db"])
                 path = Pathname(path).expand_path(base_path)
-                migrate_database_location(device, volume_address.name)
                 options = {
                   :dataset => dataset_name,
                   :database => path.to_s,
-------------- next part --------------
HTML����������������������������...
下載 



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