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

[Improve][txn] extend admin tools for transaction component. #15675

Merged
merged 6 commits into from
Jun 22, 2022
Merged

[Improve][txn] extend admin tools for transaction component. #15675

merged 6 commits into from
Jun 22, 2022

Conversation

liangyepianzhou
Copy link
Contributor

Motivation

In order to better monitor the usage of transactions. And more convenient positioning problem, so we hope to get more information when getting TB, TP, TC status.

Modification

  1. Add lowWaterMarks (optional) in stats of TB, TP.
  2. Add brokerOwnerUrl in stats of TB, TP
  3. Add ongoingtxns in stast of TB, TP, TC.

About lowWaterMark in TP

Fake code, wait the #15592 merge

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.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • no-need-doc
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-added
    (Docs have been already added)

### Motivation
In order to better monitor the usage of transactions. And more convenient positioning problem, so we hope to get more information when getting TB, TP, TC status.

### Modification
1. Add lowWaterMarks (optional) in stats of TB, TP.
2. Add brokerOwnerUrl in stats of TB, TP
3. Add ongoingtxns in stast of TB, TP, TC.
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label May 19, 2022
@liangyepianzhou liangyepianzhou changed the title [Improve][txn] extend admin tools for transaction buffer. [Improve][txn] extend admin tools for transaction component. May 25, 2022
@liangyepianzhou liangyepianzhou requested a review from eolivelli May 25, 2022 08:44
Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

+1

@liangyepianzhou liangyepianzhou merged commit c505659 into apache:master Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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