Skip to content

zqd: prevent being orphaned by Brim (unix only)#1184

Merged
mattnibs merged 3 commits intomasterfrom
brimfd
Aug 27, 2020
Merged

zqd: prevent being orphaned by Brim (unix only)#1184
mattnibs merged 3 commits intomasterfrom
brimfd

Conversation

@mattnibs
Copy link
Collaborator

Add hidden -brimfd flag to zqd listen. Brim will use this option
to prevent zqd from being orphaned in the event that Brim is terminated
with a SIGKILL signal.

If set zqd with listen to the file descriptor and gracefully should
it be closed.

PART OF brimdata/zui#1018

@mattnibs mattnibs requested a review from a team August 27, 2020 19:15
@mattnibs mattnibs force-pushed the brimfd branch 3 times, most recently from 8518fd8 to 9d2bfd9 Compare August 27, 2020 19:20
Add hidden -brimfd flag to zqd listen. Brim will use this option
to prevent zqd from being orphaned in the event that Brim is terminated
with a SIGKILL signal.

If set zqd with listen to the file descriptor and gracefully should
it be closed.

PART OF brimdata/zui#1018
Copy link
Contributor

@alfred-landrum alfred-landrum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My comments are all just minor name changes, looks good to me overall. Like we discussed live, this seemed like the least invasive way to ensure zqd shuts down.

@mattnibs mattnibs merged commit 4444632 into master Aug 27, 2020
@mattnibs mattnibs deleted the brimfd branch August 27, 2020 23:04
brim-bot pushed a commit to brimdata/zui that referenced this pull request Aug 27, 2020
…y mattnibs

This is an auto-generated commit with a zq dependency update. The zq PR
brimdata/super#1184, authored by @mattnibs,
has been merged.

zqd: prevent being orphaned by Brim (unix only)

Add hidden -brimfd flag to zqd listen. Brim will use this option
to prevent zqd from being orphaned in the event that Brim is terminated
with a SIGKILL signal.

If set zqd with listen to the file descriptor and gracefully should
it be closed.

PART OF #1018
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