Skip to content

[Transaction] Call getCause() after exception wrapped by completeFuture#14214

Merged
codelipenghui merged 4 commits intoapache:masterfrom
liangyepianzhou:fix_getcause
Feb 28, 2022
Merged

[Transaction] Call getCause() after exception wrapped by completeFuture#14214
codelipenghui merged 4 commits intoapache:masterfrom
liangyepianzhou:fix_getcause

Conversation

@liangyepianzhou
Copy link
Contributor

Master Issue #13918

Motivation & Modification

Call getCause() after exception wrapped by completeFuture
Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): (yes / no)
  • The public API: (yes / no)
  • The schema: (yes / no / don't know)
  • The default values of configurations: (yes / no)
  • The wire protocol: (yes / no)
  • The rest endpoints: (yes / no)
  • The admin cli options: (yes / no)
  • Anything that affects deployment: (yes / no / don't know)

Documentation

Check the box below or label this PR directly (if you have committer privilege).

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

### Motivation & Modification
Call getCause() after exception wrapped by completeFuture
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 10, 2022
Copy link
Contributor

@Jason918 Jason918 left a comment

Choose a reason for hiding this comment

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

LGTM

Jason918
Jason918 previously approved these changes Feb 11, 2022
@congbobo184 congbobo184 modified the milestones: 2.10.0, 2.11.0 Feb 14, 2022
Copy link
Contributor

@codelipenghui codelipenghui left a comment

Choose a reason for hiding this comment

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

The change looks good to me, could you please add tests for the new changes?

@codelipenghui codelipenghui merged commit c35ac3f into apache:master Feb 28, 2022
codelipenghui pushed a commit that referenced this pull request Mar 1, 2022
@codelipenghui codelipenghui modified the milestones: 2.11.0, 2.10.0 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/transaction doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments