CID 1542943: (#1 of 1): Data race condition (MISSING_LOCK)
3.missing_lock:Accessing slot->AH without holding lock signal_info_lock. Elsewhere, ParallelSlot.AH is written to with signal_info_lock held 1 out of 1 times (1 of these accesses strongly imply that it is necessary).
The function DisconnectDatabase effectively writes the ParallelSlot.AH.
So the call in the function archive_close_connection:
if (slot->AH) DisconnectDatabase(&(slot->AH->public));