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

Penciller work backlog #393

Closed
martinsumner opened this issue Feb 7, 2023 · 2 comments
Closed

Penciller work backlog #393

martinsumner opened this issue Feb 7, 2023 · 2 comments

Comments

@martinsumner
Copy link
Owner

As part of the recent refactoring of the Penciller, the behaviour on clerk prompt is that L0 work (either writing a L0 file because the cache is full, or clearing the L0 file to L1 because a L0 file is present) will always take priority.

What though if PUTs are received very fast? If the cache is full, but by the time the L0 file is written, and the L0 is written to L1 - the cache is already full again.

In this case, we keep writing and merging down L0 files. The L1 will eventually get into a backlog state - this will slow down the process of L0 writing to L1, and make it more likely that the cache will be full by the time of the L0 write will finish.

This has caused a situation during a transfer where there was a huge backlog at L1 of > 700 files.

If there is a backlog, the backlog should be resolved before new L0 files are written.

@martinsumner
Copy link
Owner Author

The potential workaround is to increase the backend pause.

@martinsumner
Copy link
Owner Author

#394

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

No branches or pull requests

1 participant