-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Enhancement] reduce StarOSAgent lock contention #34788
Conversation
* optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com>
Kudos, SonarCloud Quality Gate passed!
|
[FE Incremental Coverage Report]✅ pass : 6 / 7 (85.71%) file detail
|
[BE Incremental Coverage Report]✅ pass : 0 / 0 (0%) |
@Mergifyio backport branch-3.2 |
@Mergifyio backport branch-3.1 |
✅ Backports have been created
|
@Mergifyio backport branch-3.0 |
✅ Backports have been created
|
✅ Backports have been created
|
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
optimize the lock usage in prepare(), the serviceId will not be updated once non-empty. Signed-off-by: Kevin Xiaohua Cai <caixiaohua@starrocks.com> (cherry picked from commit 46e3509)
Fixes #issue
What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: