Is this a bug in auto vacuum worker? - Mailing list pgsql-bugs

From CNG L
Subject Is this a bug in auto vacuum worker?
Date
Msg-id CAJ3ejTw2_U7CfC6-eHuWgJaBGy=Fc5RCnVFnmiZbW3GBZnt38g@mail.gmail.com
Whole thread Raw
Responses Re: Is this a bug in auto vacuum worker?  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
In AutoVacWorkerMain(), the code calls on_shmem_exit(FreeWorkInfo,0) and then kill() to send SIGUSR2 to autovacuum launcher process. In FreeWorkInfo() it sets AutoVacuumShmem->av_signal[AutoVacRebalance] = true. But, is it possible that when autovacuum launcher’s SIGUSR2 handler checks av_signal[AutoVacRebalance], FreeWorkInfo() haven’t set this flag yet and thus autovacuum launcher will miss the AutoVacRebalance event?

pgsql-bugs by date:

Previous
From: Bartosz Polnik
Date:
Subject: Re: BUG #15577: Query returns different results when executedmultiple times
Next
From: Tom Lane
Date:
Subject: Re: BUG #15572: Misleading message reported by "Drop function operation" on DB with functions having same name