mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 15:06:28 +08:00
This reverts commit 1b1466748f.
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
class BaseWorkerCmd:
|
||||
"""
|
||||
base worker cmd
|
||||
"""
|
||||
|
||||
def __init__(self, actor_id):
|
||||
self.from_actor_id = actor_id
|
||||
|
||||
|
||||
class WorkerCommitReport(BaseWorkerCmd):
|
||||
"""
|
||||
worker commit report
|
||||
"""
|
||||
|
||||
def __init__(self, actor_id, commit_checkpoint_id):
|
||||
super().__init__(actor_id)
|
||||
self.commit_checkpoint_id = commit_checkpoint_id
|
||||
|
||||
|
||||
class WorkerRollbackRequest(BaseWorkerCmd):
|
||||
"""
|
||||
worker rollback request
|
||||
"""
|
||||
|
||||
def __init__(self, actor_id, exception_msg):
|
||||
super().__init__(actor_id)
|
||||
self.__exception_msg = exception_msg
|
||||
|
||||
def exception_msg(self):
|
||||
return self.__exception_msg
|
||||
Reference in New Issue
Block a user