SCM

[#1010206] Lifecheck.c socket problems

View Trackers | Patches | Download .csv | Monitor

Date:
2007-12-03 10:34
Priority:
3
State:
Open
Submitted by:
Martin Matuska (mma)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
Lifecheck.c socket problems

Detailed description
Version:
PGCluster 1.7.0rc7

Problem:
If you restart (start+stop) any of the pgreplicate servers, they are not registered properly, e.g. if you restart all pgreplicate servers there is no more replication at all. This is absolutely not HA compliant.

Cause:
Lifecheck tries to send packets on the old socket that should have been already closed

Solution (possible):
Try to close and reopen a new socket, if the old socket fails (see attached patch)

Followup

No Followups Have Been Posted

Attached Files:

Attachments:
replicate.diff

Changes:

Field Old Value Date By
File Added276: replicate.diff2007-12-03 10:43mma
Powered By FusionForge