Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[improvement](transaction) abort txn after be lost heartbeat over 1 min#22781

Merged
dataroaring merged 1 commit into
apache:masterfrom
yujun777:impr-abort-txn-when-be-lost-heartbeat
Aug 10, 2023
Merged

[improvement](transaction) abort txn after be lost heartbeat over 1 min#22781
dataroaring merged 1 commit into
apache:masterfrom
yujun777:impr-abort-txn-when-be-lost-heartbeat

Conversation

@yujun777

@yujun777 yujun777 commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

Proposed changes

Default heartbeat failure time is 5s, it's too sensitive to abort a txn.

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

@yujun777

yujun777 commented Aug 9, 2023

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.02 seconds
stream load tsv: 514 seconds loaded 74807831229 Bytes, about 138 MB/s
stream load json: 22 seconds loaded 2358488459 Bytes, about 102 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: 29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size: 17162223622 Bytes

@dataroaring dataroaring 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-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Aug 9, 2023
@github-actions

github-actions Bot commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Aug 9, 2023

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@kaijchen kaijchen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, hard-coded value could be a config.

@dataroaring dataroaring merged commit 35dd787 into apache:master Aug 10, 2023
@wm1581066 wm1581066 added the usercase Important user case type label label Aug 12, 2024
dataroaring pushed a commit that referenced this pull request Aug 14, 2024
@xiaokang xiaokang mentioned this pull request Sep 14, 2024
mongo360 pushed a commit to mongo360/doris that referenced this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/2.0.15-merged reviewed usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants