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

throw exception when commit transaction failed #206

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

zhaorongsheng
Copy link
Contributor

Proposed changes

Issue Number: close #205

Problem Summary:

Throw exception when commit unsuccessfully.

Checklist(Required)

  1. Does it affect the original behavior: (Yes)
  2. Has unit tests been added: (No Need)
  3. Has document been added or modified: (No Need)
  4. Does it need to update dependencies: (No)
  5. Are there any changes that cannot be rolled back: (No)

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

Copy link
Contributor

@gnehil gnehil left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution, there is indeed a problem here.
In the latest code, the class org.apache.doris.spark.load.DorisStreamLoad you modified has been deprecated. The new stream load implementation is in class org.apache.doris.spark.load.StreamLoader, which can be modified in the commit method of this class.

Copy link
Contributor

@caoliang-web caoliang-web 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
Member

@JNSimba JNSimba left a comment

Choose a reason for hiding this comment

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

LGTM

@JNSimba JNSimba merged commit 7fddf0a into apache:master Jun 5, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] data loss when enable 2pc
4 participants