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

[docdb] High transactions_running metric after local bootstrap #3823

Closed
bmatican opened this issue Mar 4, 2020 · 0 comments
Closed

[docdb] High transactions_running metric after local bootstrap #3823

bmatican opened this issue Mar 4, 2020 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features

Comments

@bmatican
Copy link
Contributor

bmatican commented Mar 4, 2020

Screen Shot 2020-03-03 at 5 25 58 PM

Was looking at this with @mbautin , this is in the xdc universe. This might be some side effect of the transaction cleanup work that you did previously @spolitov , since this cluster is long running...

The side effect of this was ~3GB of unaccounted for memory. I think there's two issues here:

  • Why are these transactions still running and thus still kept in the transactions_ container?
  • Should we plumb these through MemTracker, so we successfully account for their memory usage too?
@bmatican bmatican added the area/docdb YugabyteDB core features label Mar 4, 2020
@bmatican bmatican added this to To Do in YBase features via automation Mar 4, 2020
spolitov added a commit that referenced this issue Mar 6, 2020
…e stopped

Summary:
Before recent work on intents cleanup we could have a lot of intents stuck at transaction participant.
But that cleanup does not work if write was stopped. So those transactions could hang there forever.

Fixed SafeTimeForFollower to looks also at pending operations.
Used it for transaction cleanup instead of last replicated hybrid time.

Test Plan: Jenkins

Reviewers: mikhail

Reviewed By: mikhail

Subscribers: ybase, bogdan

Differential Revision: https://phabricator.dev.yugabyte.com/D8092
YBase features automation moved this from To Do to Done Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features
Projects
Development

No branches or pull requests

2 participants