-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Migrated from deprecated BrokerClient to new BrokerClient #17681
base: master
Are you sure you want to change the base?
Conversation
@tarunk8924 , thanks for the changes! |
Yeah sure
…On Thu, 30 Jan, 2025, 10:01 am Kashif Faraz, ***@***.***> wrote:
@tarunk8924 <https://github.com/tarunk8924> , thanks for the changes!
I think you have reformatted which has bloated up the diff making the
review difficult.
Could you please take a look at the diff and revert the unnecessary
changes?
—
Reply to this email directly, view it on GitHub
<#17681 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDCD2KALL3LSL5TACG5K7LD2NGTJTAVCNFSM6AAAAABWDOIPDOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMRTGQ4TIOBVG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@kfaraz I have done the changes..!!! |
@tarunk8924 , it doesn't seem to have helped. The diff is still difficult to read. Please take a look at the "Files changed" tab of the PR and ensure that the diff shows only the lines that you originally intended to modify. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tarunk8924 , it seems that the entire file SegmentLoadStatusFetcher
has changed which makes it difficult to review.
Maybe try to keep only the change to use the new BrokerClient
in this PR.
Other improvements (if needed) may be done separately.
Title:
Improved Segment Load Status Fetcher: Enhanced Query Handling and Code Refactoring
Description:
This PR introduces improvements and refactoring to the
SegmentLoadStatusFetcher
in the Apache Druid project. The changes aim to improve code maintainability, enhance performance in segment loading operations, and ensure more reliable status checks when waiting for segments to load.Key Changes:
Enhanced Query Handling:
Status Update Logic:
Exception Handling Improvements:
Refactoring for Code Readability:
Thread Management:
Testing:*
Backward Compatibility:
The changes maintain backward compatibility with existing segment loading workflows in Apache Druid.
Reviewer Notes:
Review the SQL query and version condition logic for correctness and efficiency.
Validate exception handling mechanisms for edge cases.
Ensure thread handling improvements are correctly implemented.
This PR has:
been self-reviewed.
added documentation for new or modified features or behaviors.
a release note entry in the PR description.
added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
added or updated version, license, or notice information in licenses.yaml
added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
added integration tests.
been tested in a test Druid cluster.