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

feat: add memstore check before writing database #16

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

whhe
Copy link
Member

@whhe whhe commented Apr 18, 2023

What changes were proposed in this pull request?

Add memstore check before writing database. Close #15

Why are the changes needed?

If the observer reaches memory threshold, we should pause the writer task otherwise error will occur.

Will break the compatibility? How if so?

No.

Does this PR introduce any user-facing change?

Yes, two new options introduced.

How was this patch tested?

Test locally.

Checklist

  • I've run the tests to see all new and existing tests pass.
  • If this Pull Request resolves an issue, I linked to the issue in the text above.
  • I've informed the technical writer about the documentation change if necessary.

@whhe whhe merged commit 51dd7b6 into oceanbase:main Apr 20, 2023
@whhe whhe deleted the memstore-check branch January 30, 2024 07:39
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.

[Feat.]: Adjust writer based on memory usage
1 participant