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

tserver.wal.max.referenced needs a test #5200

Open
keith-turner opened this issue Dec 19, 2024 · 0 comments
Open

tserver.wal.max.referenced needs a test #5200

keith-turner opened this issue Dec 19, 2024 · 0 comments
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Milestone

Comments

@keith-turner
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The functionality behind tserver.wal.max.referenced does not have a test.

Describe the solution you'd like

In an IT create many tables that each reference a single write ahead log by doing the following.

  1. Lower the walog size to be really small
  2. Create N tablets in a table
  3. For each tablet write an amount of data that causes the walog to roll. This should cause N tablets to each reference a unique log
  4. Assert that tablet minor compact because the tserver is referencing too many logs.
@keith-turner keith-turner added the enhancement This issue describes a new feature, improvement, or optimization. label Dec 19, 2024
@keith-turner keith-turner added this to the 2.1.4 milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue describes a new feature, improvement, or optimization.
Projects
None yet
Development

No branches or pull requests

1 participant