mirror of
https://github.com/wassname/ray.git
synced 2026-09-12 12:51:15 +08:00
fix naming Pull -> Request
This commit is contained in:
@@ -32,7 +32,7 @@ service Scheduler {
|
||||
// Request an object reference for an object that will be pushed to an object store
|
||||
rpc PushObj(PushObjRequest) returns (PushObjReply);
|
||||
// Request delivery of an object from an object store that holds the object to the local object store
|
||||
rpc PullObj(PullObjRequest) returns (AckReply); // TODO(pcm): rename to RequestObj and change documentation
|
||||
rpc RequestObj(RequestObjRequest) returns (AckReply);
|
||||
// Used by an object store to tell the scheduler that an object is ready (i.e. has been finalized and can be shared)
|
||||
rpc ObjReady(ObjReadyRequest) returns (AckReply);
|
||||
// Used by the worker to report back and ask for more work
|
||||
@@ -75,9 +75,9 @@ message RemoteCallReply {
|
||||
repeated uint64 result = 1; // Object references of the function return values
|
||||
}
|
||||
|
||||
message PullObjRequest {
|
||||
uint64 workerid = 1; // Worker that tries to pull the object
|
||||
uint64 objref = 2; // Object reference of the object being pulled
|
||||
message RequestObjRequest {
|
||||
uint64 workerid = 1; // Worker that tries to request the object
|
||||
uint64 objref = 2; // Object reference of the object being requested
|
||||
}
|
||||
|
||||
message PushObjRequest {
|
||||
|
||||
Reference in New Issue
Block a user