[Pgcluster-general] Replication while interface is brought down
K, Niranjan (NSN - IN/Bangalore)
niranjan.k at nsn.com
Wed Jun 25 05:24:01 UTC 2008
Hi,
I was checking the synchronous replication scenarios. I have a test
application, which reads counter (COUNTER column) from the table
(COUNTER_TABLE) and increments the counter and updates the table. This
will be done in a loop. I have attached the test app for your reference.
<<test_app.cpp>>
When the test_app is in the loop, I bring down the standby node's
interface (ifconfig eth0 down). With this, the test_app in the active
node hangs at the SELECT statement and this hang lasted for ~15 minutes
and then the updation resumed after that. I have configured
'Replication_timeout' as 50 seconds.
Proceeding further to the above, I brought back the interface up on the
standby node but the replication did not happen.
Are these known issues? And are there any workarounds to deal with these
problems?
regards,
Niranjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080625/b45cf67f/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_app.cpp
Type: application/octet-stream
Size: 3429 bytes
Desc: test_app.cpp
Url : http://pgfoundry.org/pipermail/pgcluster-general/attachments/20080625/b45cf67f/attachment.obj
More information about the Pgcluster-general
mailing list