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

KS service shutdown is stalling writing checkpoint file #312

Open
Tracked by #289
big-andy-coates opened this issue Apr 26, 2023 · 0 comments
Open
Tracked by #289

KS service shutdown is stalling writing checkpoint file #312

big-andy-coates opened this issue Apr 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@big-andy-coates
Copy link
Member

As it stands, when the system test shuts down a KS service, the service doesn't complete shutting down cleanly.

The ProcessorStateManager class in streams is calling:

checkpointFile.write(checkpointingOffsets);

Which kind of blocks... ish... but not. There aren't any checkpoints to write, and the state.dir doesn't exist. Yet the call blocks for 10+ seconds. After which, the JVM shuts down.

The System test executor has a 30s timeout for graceful shutdown and this is not hit.
The streams app defaults to a 30s timeout for graceful shutdown, and this isn't hit either.

So actually not sure what is causing it to shutdown.

However, as we haven't yet written the code for adding mount points for state to KS apps... maybe its something to do with that.

@big-andy-coates big-andy-coates added the bug Something isn't working label Apr 26, 2023
@big-andy-coates big-andy-coates self-assigned this Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant