Skip to content

[fix](broker-read) refactor broker reading process to avoid null broker connection - #26050

Merged
dataroaring merged 6 commits into
apache:masterfrom
Hastyshell:avoid-null-broker-connection
Nov 1, 2023
Merged

[fix](broker-read) refactor broker reading process to avoid null broker connection#26050
dataroaring merged 6 commits into
apache:masterfrom
Hastyshell:avoid-null-broker-connection

Conversation

@Hastyshell

@HastyshellHastyshell commented Oct 28, 2023

Copy link
Copy Markdown
Collaborator

Proposed changes

issue: #26052
introduced: #16021

Move the broker related RPC into BrokerFileSystem to make the client under protection, and should not expose the connection to the reader.

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...

@github-actionsgithub-actionsBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment threadbe/src/io/fs/broker_file_system.cpp Outdated
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Hastyshell
Hastyshellforce-pushed the avoid-null-broker-connection branch from a4d9289 to 38aa90aCompareOctober 28, 2023 06:59
@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@Hastyshell
Hastyshellforce-pushed the avoid-null-broker-connection branch from 38aa90a to 3213a01CompareOctober 28, 2023 07:02
@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@github-actionsgithub-actionsBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment threadbe/src/io/fs/broker_file_reader.h
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@Hastyshell
Hastyshellforce-pushed the avoid-null-broker-connection branch from 3213a01 to 9899a6aCompareOctober 28, 2023 10:39
@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot

Copy link
Copy Markdown

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.17 seconds
stream load tsv: 552 seconds loaded 74807831229 Bytes, about 129 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 33 seconds loaded 861443392 Bytes, about 24 MB/s
insert into select: 28.8 seconds inserted 10000000 Rows, about 347K ops/s
storage size: 17162261855 Bytes

@Hastyshell
Hastyshellforce-pushed the avoid-null-broker-connection branch from 0f9821b to 53474d0CompareOctober 29, 2023 16:15
@Hastyshell

Copy link
Copy Markdown
CollaboratorAuthor

run buildall

@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot

Copy link
Copy Markdown

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 50.93 seconds
stream load tsv: 563 seconds loaded 74807831229 Bytes, about 126 MB/s
stream load json: 20 seconds loaded 2358488459 Bytes, about 112 MB/s
stream load orc: 65 seconds loaded 1101869774 Bytes, about 16 MB/s
stream load parquet: 32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select: 28.9 seconds inserted 10000000 Rows, about 346K ops/s
storage size: 17162361266 Bytes

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@dataroaringdataroaring left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actionsgithub-actionsBot added the approved Indicates a PR has been approved by one committer. label Nov 1, 2023
@github-actions

Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@dataroaring
dataroaring merged commit 4644191 into apache:masterNov 1, 2023
@dataroaringdataroaring changed the title [refactor](broker-read) refactor broker reading process to avoid null broker connection[fix](broker-read) refactor broker reading process to avoid null broker connectionNov 1, 2023
Hastyshell added a commit to Hastyshell/doris that referenced this pull request Nov 3, 2023
xiaokang pushed a commit that referenced this pull request Nov 3, 2023
dutyu pushed a commit to dutyu/doris that referenced this pull request Nov 4, 2023
seawinde pushed a commit to seawinde/doris that referenced this pull request Nov 13, 2023
gnehil pushed a commit to gnehil/doris that referenced this pull request Dec 4, 2023
@xiaokangxiaokang mentioned this pull request Dec 4, 2023
XuJianxu pushed a commit to XuJianxu/doris that referenced this pull request Dec 14, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approvedIndicates a PR has been approved by one committer.dev/2.0.3-mergedp0_creviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@Hastyshell@doris-robot@platoneko@dataroaring@xiaokang@wm1581066