mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
Option to retry failed actor tasks (#8330)
* Python * Consolidate state in the direct actor transport, set the caller starts at * todo * Remove unused * Update and unit tests * Doc * Remove unused * doc * Remove debug * Update src/ray/core_worker/transport/direct_actor_transport.h Co-authored-by: Eric Liang <ekhliang@gmail.com> * Update src/ray/core_worker/transport/direct_actor_transport.cc Co-authored-by: Eric Liang <ekhliang@gmail.com> * lint and fix build * Update * Fix build * Fix tests * Unit test for max_task_retries=0 * Fix java? * Fix bad test * Cross language fix * fix java Co-authored-by: Eric Liang <ekhliang@gmail.com>
This commit is contained in:
co-authored by
Eric Liang
parent
41d8c2bd0a
commit
bd169749e0
@@ -275,8 +275,9 @@ class StreamingQueueTestBase : public ::testing::TestWithParam<uint64_t> {
|
||||
std::string name = "";
|
||||
ActorCreationOptions actor_options{
|
||||
max_restarts,
|
||||
/*max_concurrency=*/1, resources, resources, {},
|
||||
/*is_detached=*/false, name, /*is_asyncio=*/false};
|
||||
/*max_task_retries=*/0,
|
||||
/*max_concurrency=*/1, resources, resources, {},
|
||||
/*is_detached=*/false, name, /*is_asyncio=*/false};
|
||||
// Create an actor.
|
||||
ActorID actor_id;
|
||||
RAY_CHECK_OK(CoreWorkerProcess::GetCoreWorker().CreateActor(
|
||||
|
||||
Reference in New Issue
Block a user