Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable short circuit even domain socket is configured
### Background I found short circuit has better performance than domain socket. But when i enable short-circuit read/write, alluxio client prefer to use domain socket as default. I want to use short-circuit read/write, even domain socket is ready in AlluxioWorker. ### Discussion I use a new property `alluxio.user.short.circuit.preferred` to control the logic, which is backward compatible. But i think it is better to use only `alluxio.user.short.circuit.enabled` to judge whether to enable short circuit. pr-link: #10538 change-id: cid-981cb46b6b8cb919865b0b0ddc072e094c6ec661
- Loading branch information
1 parent
1570c68
commit 5ceb15b
Showing
3 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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 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