Uh oh!
There was an error while loading. Please reload this page.
[fix](brokerload) fix be core dump casued by broker load - #15874
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
dataroaring
commented
Jan 12, 2023
We should add regression test for broker load. |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
TeamCity pipeline, clickbench performance test result: |
HappenLee
left a comment
There was a problem hiding this comment.
why not call ·_fs->get_client in BrokerFileReader Contructor ?
luozenglin
commented
Jan 13, 2023
The BrokerFileReader may be constructed before connect(), when the client is not yet constructed. |
66838eb to
91fb1aeCompare91fb1ae to
88a735dCompareclang-tidy review says "All clean, LGTM! 👍" |
76e0680 to
068a4ceCompareclang-tidy review says "All clean, LGTM! 👍" |
068a4ce to
c39844aCompareclang-tidy review says "All clean, LGTM! 👍" |
c39844a to
9897354Compareclang-tidy review says "All clean, LGTM! 👍" |
9897354 to
acec904Compareclang-tidy review says "All clean, LGTM! 👍" |
luozenglin
commented
Jan 17, 2023
Sorry, I made a mistake in my reply above. There is no problem getting the client in the constructor and the logic is much clearer. |
Proposed changes
Issue Number: close#15846
Problem summary
The BrokerFileReader is refactored in #15622, but the _client is not initialized
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...