Skip to content

mxqd: Give reaper thread fixed name #104

Merged
merged 1 commit into from
Aug 24, 2021
Merged

mxqd: Give reaper thread fixed name #104

merged 1 commit into from
Aug 24, 2021

Conversation

donald
Copy link
Contributor

@donald donald commented Aug 22, 2021

Give reaper thread a fixed name "mxqd reaper". This can be used by a
restarting mxqd to verify that a runnings jobs pid in the database still
identifies a reaper process and hasn't been reused after system reboot
or pid wrap and still identifies the reaper process.

The checks can be implemented only after the rolling upgrade adding this
commit is completed and all jobs running during the upgrade have
finished.

Adresses #90

mxqd.c Outdated Show resolved Hide resolved
mxqd.c Outdated Show resolved Hide resolved
Give reaper thread a fixed name "mxqd reaper". This can be used by a
restarting mxqd to verify that a runnings jobs pid in the database still
identifies a reaper process and hasn't been reused after a system reboot
or a pid wrap.

The checks can be implemented only after the rolling upgrade adding this
commit is completed and all jobs running during the upgrade have
finished.
@donald donald merged commit 26d8ff8 into master Aug 24, 2021
@donald donald deleted the set-reaper-pname branch October 28, 2022 14:21
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants