-
Notifications
You must be signed in to change notification settings - Fork 6.5k
[core] UpdateObjectLocationBatch RPC Failure Handling #52723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
736e489
update obj lcoation resilience
dayshah dcb3f1c
use retryable grpc client
dayshah e2259f5
fix message
dayshah 7f4a6cf
fix build
dayshah d921cb2
fix cpp test
dayshah f83dff2
Add deterministic failure to rpc failure testing
dayshah dec4343
Merge branch 'master' into update-obj-loc-res
dayshah f3c4910
Merge branch 'rpc-fail-deterministic' into update-obj-loc-res
dayshah e7db069
add test
dayshah 6e5bf44
fix test
dayshah bed51d0
address comments
dayshah 1226c6e
fix
dayshah d825dba
Merge branch 'master' into update-obj-loc-res
dayshah f9894a2
const max report
dayshah 69bee71
update rpc chaos with configurable probability
dayshah 5f30141
change to num
dayshah d030f02
bad test
dayshah 2dfca02
Merge branch 'master' into update-obj-loc-res
dayshah ce367a3
address comments
dayshah cee12b1
add tests
dayshah 89dbe90
change to num remaining failures
dayshah 5ef1a5f
address comments
dayshah 784cd8f
address 2
dayshah 31043d1
Update core_worker_client_pool.cc
dayshah 47b1995
fix signed check
dayshah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,9 +157,11 @@ NodeManager::NodeManager( | |
config.enable_resource_isolation), | ||
client_call_manager_(io_service), | ||
worker_rpc_pool_([this](const rpc::Address &addr) { | ||
return std::make_shared<rpc::CoreWorkerClient>(addr, client_call_manager_, []() { | ||
RAY_LOG(FATAL) << "Raylet doesn't call any retryable core worker grpc methods."; | ||
}); | ||
return std::make_shared<rpc::CoreWorkerClient>( | ||
addr, | ||
client_call_manager_, | ||
rpc::CoreWorkerClientPool::GetDefaultUnavailableTimeoutCallback( | ||
gcs_client_.get(), &worker_rpc_pool_, &client_call_manager_, addr)); | ||
}), | ||
core_worker_subscriber_(std::make_unique<pubsub::Subscriber>( | ||
self_node_id_, | ||
|
@@ -179,8 +181,6 @@ NodeManager::NodeManager( | |
gcs_client_, | ||
core_worker_subscriber_.get(), | ||
/*owner_client_pool=*/&worker_rpc_pool_, | ||
/*max_object_report_batch_size=*/ | ||
RayConfig::instance().max_object_report_batch_size(), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it just annoyed me that I had to move one level up for this so i moved it one level down |
||
[this](const ObjectID &obj_id, const ErrorType &error_type) { | ||
rpc::ObjectReference ref; | ||
ref.set_object_id(obj_id.Binary()); | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.