incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [7/7] git commit: Thrift API change.
Date Mon, 07 Dec 2015 21:15:26 GMT
Thrift API change.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/c607b667
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/c607b667
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/c607b667

Branch: refs/heads/v2_command
Commit: c607b6678175ee1214d627d56f713d26f627c1e3
Parents: 5853d86
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Dec 7 16:14:59 2015 -0500
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Dec 7 16:14:59 2015 -0500

----------------------------------------------------------------------
 scripts/interface/Blur.thrift | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/c607b667/scripts/interface/Blur.thrift
----------------------------------------------------------------------
diff --git a/scripts/interface/Blur.thrift b/scripts/interface/Blur.thrift
index 512c7e6..49d58a3 100644
--- a/scripts/interface/Blur.thrift
+++ b/scripts/interface/Blur.thrift
@@ -926,14 +926,10 @@ struct CommandDescriptor {
   6:string version
 }
 
-struct CommandTarget {
-  1:set<string> tables,
-  2:set<string> shards
-}
-
-struct CommandRequest {
+struct ShardOperationRequest {
   1:string name,
-  2:CommandTarget target
+  2:string table,
+  3:string shard
 }
 
 /**
@@ -983,9 +979,9 @@ service Blur {
   oneway void refresh()
 
   /**
-   * Executes command.
+   * Executes a shard operation which allows for bidirectional communication.
    */
-  oneway void executeCommand(1:CommandRequest commandRequest)
+  oneway void executeShardOperation(1:ShardOperationRequest shardOperationRequest)
 
   //Table Commands
 


Mime
View raw message