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

Enable force shutdown with 2nd Ctrl+C #5414

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Enable force shutdown with 2nd Ctrl+C #5414

merged 1 commit into from
Sep 18, 2024

Conversation

rdettai
Copy link
Contributor

@rdettai rdettai commented Sep 12, 2024

Description

With ingest V2, we wait for all data to be ingested before shutting down. For users trying out Quickwit in their terminal, this means that the process hangs when pressing Ctrl+C. This PR adds a listning task for a second Ctrl+C to forcefully shutdown quickwit.

How was this PR tested?

Running Quickwit in a Bash terminal.

Copy link

github-actions bot commented Sep 12, 2024

On SSD:

Average search latency is 1.0x that of the reference (lower is better).
Ref run id: 3482, ref commit: 7d357fa
Link

On GCS:

Average search latency is 1.01x that of the reference (lower is better).
Ref run id: 3483, ref commit: 7d357fa
Link

@rdettai rdettai enabled auto-merge (squash) September 18, 2024 08:27
@rdettai rdettai merged commit 8db78d4 into main Sep 18, 2024
5 checks passed
@rdettai rdettai deleted the force-shutdown branch September 18, 2024 08:41
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.

2 participants