[Groonga-commit] droonga/droonga-engine at 82a1000 [master] Remove obsolete remote command "report_metadata"

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Apr 21 10:45:00 JST 2015


YUKI Hiroshi	2015-04-21 10:45:00 +0900 (Tue, 21 Apr 2015)

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

  Message:
    Remove obsolete remote command "report_metadata"

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

  Modified: lib/droonga/command/remote.rb (+0 -7)
===================================================================
--- lib/droonga/command/remote.rb    2015-04-21 10:42:34 +0900 (1bf1cf9)
+++ lib/droonga/command/remote.rb    2015-04-21 10:45:00 +0900 (dba5a35)
@@ -131,13 +131,6 @@ module Droonga
         end
       end
 
-      class ReportMetadata < Base
-        def process
-          metadata = NodeMetadata.new
-          @response["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-21 10:42:34 +0900 (231f9dd)
+++ lib/droonga/command/serf_event_handler.rb    2015-04-21 10:45:00 +0900 (e5ea935)
@@ -84,8 +84,6 @@ module Droonga
           Remote::ChangeRole
         when "accept_messages_newer_than"
           Remote::AcceptMessagesNewerThan
-        when "report_metadata"
-          Remote::ReportMetadata
         when "join"
           Remote::Join
         when "unjoin"
-------------- next part --------------
HTML����������������������������...
Download 



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