Kentaro Hayashi
null+****@clear*****
Mon Jun 26 16:46:35 JST 2017
Kentaro Hayashi 2017-06-26 16:46:35 +0900 (Mon, 26 Jun 2017) New Revision: 4922c241e670943f58042984d8ee057575f90094 https://github.com/groonga/groonga/commit/4922c241e670943f58042984d8ee057575f90094 Merged 1d5b43a: Merge pull request #720 from kenhys/grndb-truncate-order Message: grndb: truncate object in advance for force truncate mode Database#recover fails when corrupted object is locked. so truncate such a object in advance. Modified files: lib/mrb/scripts/command_line/grndb.rb Modified: lib/mrb/scripts/command_line/grndb.rb (+1 -1) =================================================================== --- lib/mrb/scripts/command_line/grndb.rb 2017-06-25 20:44:51 +0900 (964ce59) +++ lib/mrb/scripts/command_line/grndb.rb 2017-06-26 16:46:35 +0900 (edd16d5) @@ -416,10 +416,10 @@ module Groonga end def recover - @database.recover if @force_truncate truncate_corrupt_objects end + @database.recover end def truncate_corrupt_objects -------------- next part -------------- HTML����������������������������... Download