Skip to content
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

[Fix](group commit) Fix group commit wal back pressure case #37569

Merged

Conversation

Yukang-Lian
Copy link
Collaborator

Proposed changes

Problem: The group commit WAL back pressure case failed.

Reason: Previously, the group commit was restructured from regular load to pipeline architecture load, which improved the concurrency and speed of load. Consequently, the loads in the test case were completed much faster. The default batching time for a group commit is 10 seconds. Therefore, if all loads are finished in less than this time(10 seconds), the group commit data is not yet committed to the disk and visible, resulting in no data being returned by the final select statement.

Solution: To resolve the issue, wait for one batching period (10 seconds) after completing all imports before executing the query.

Plus, due to the faster speed of load, we move this case from p2 to p0.

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Yukang-Lian
Copy link
Collaborator Author

run buildall

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

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

@github-actions github-actions bot added approved Indicates a PR has been approved by one committer. reviewed labels Jul 10, 2024
Copy link
Contributor

PR approved by anyone and no changes requested.

@Yukang-Lian
Copy link
Collaborator Author

run buildall

@Yukang-Lian
Copy link
Collaborator Author

run p0

@Yukang-Lian
Copy link
Collaborator Author

run p0

Copy link
Contributor

@zhannngchen zhannngchen left a comment

Choose a reason for hiding this comment

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

LGTM

@zhannngchen zhannngchen merged commit 787779e into apache:master Jul 12, 2024
31 of 34 checks passed
seawinde pushed a commit to seawinde/doris that referenced this pull request Jul 17, 2024
…7569)

## Proposed changes

<!--Describe your changes.-->

Problem: The group commit WAL back pressure case failed.

Reason: Previously, the group commit was restructured from **regular
load** to **pipeline architecture load**, which improved the concurrency
and speed of load. Consequently, the loads in the test case were
completed much faster. The default batching time for a group commit is
10 seconds. Therefore, if all loads are finished in less than this
time(10 seconds), the group commit data is not yet committed to the disk
and visible, resulting in no data being returned by the final select
statement.

Solution: To resolve the issue, wait for one batching period (10
seconds) after completing all imports before executing the query.

Plus, due to the faster speed of load, we move this case from p2 to p0.
dataroaring pushed a commit that referenced this pull request Jul 17, 2024
## Proposed changes

<!--Describe your changes.-->

Problem: The group commit WAL back pressure case failed.

Reason: Previously, the group commit was restructured from **regular
load** to **pipeline architecture load**, which improved the concurrency
and speed of load. Consequently, the loads in the test case were
completed much faster. The default batching time for a group commit is
10 seconds. Therefore, if all loads are finished in less than this
time(10 seconds), the group commit data is not yet committed to the disk
and visible, resulting in no data being returned by the final select
statement.

Solution: To resolve the issue, wait for one batching period (10
seconds) after completing all imports before executing the query.

Plus, due to the faster speed of load, we move this case from p2 to p0.
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. reviewed
6 participants