YUKI Hiroshi
null+****@clear*****
Wed Apr 8 18:02:22 JST 2015
YUKI Hiroshi 2015-04-08 18:02:22 +0900 (Wed, 08 Apr 2015) New Revision: 09f2d6e9f502bdffe0acb45d593b6cf980c63e84 https://github.com/droonga/droonga-engine/commit/09f2d6e9f502bdffe0acb45d593b6cf980c63e84 Message: Remove obsolete remote command "set_metadata" Modified files: lib/droonga/command/remote.rb lib/droonga/command/serf_event_handler.rb Modified: lib/droonga/command/remote.rb (+0 -9) =================================================================== --- lib/droonga/command/remote.rb 2015-04-08 16:50:59 +0900 (5d0d8df) +++ lib/droonga/command/remote.rb 2015-04-08 18:02:22 +0900 (06ef27f) @@ -139,15 +139,6 @@ module Droonga end end - class SetMetadata < Base - def process - metadata = NodeMetadata.new - log("old value: #{metadata.get(@params["key"])}") - metadata.set(@params["key"], @params["value"]) - log("new value: #{metadata.get(@params["key"])}") - end - end - class CrossNodeCommandBase < Base private def source_node Modified: lib/droonga/command/serf_event_handler.rb (+0 -2) =================================================================== --- lib/droonga/command/serf_event_handler.rb 2015-04-08 16:50:59 +0900 (e1fdae2) +++ lib/droonga/command/serf_event_handler.rb 2015-04-08 18:02:22 +0900 (f8dd914) @@ -86,8 +86,6 @@ module Droonga Remote::AcceptMessagesNewerThan when "report_metadata" Remote::ReportMetadata - when "set_metadata" - Remote::SetMetadata when "join" Remote::Join when "unjoin" -------------- next part -------------- HTML����������������������������... Download