SOURCES: slony1-log_shipping_reliability.patch (NEW) - a patch whi...
jajcus
jajcus at pld-linux.org
Wed Nov 2 12:46:27 CET 2005
Author: jajcus Date: Wed Nov 2 11:46:27 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- a patch which improves Slony-I log shipping reliability on a full filesystem a little bit (there seem to be much more places in the code, where it may go wrong)
---- Files affected:
SOURCES:
slony1-log_shipping_reliability.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/slony1-log_shipping_reliability.patch
diff -u /dev/null SOURCES/slony1-log_shipping_reliability.patch:1.1
--- /dev/null Wed Nov 2 12:46:27 2005
+++ SOURCES/slony1-log_shipping_reliability.patch Wed Nov 2 12:46:22 2005
@@ -0,0 +1,16 @@
+diff -dur -x '*.orig' -x '*~' slony1-1.1.2.orig/src/slon/remote_worker.c slony1-1.1.2/src/slon/remote_worker.c
+--- slony1-1.1.2.orig/src/slon/remote_worker.c 2005-10-12 23:14:25.000000000 +0200
++++ slony1-1.1.2/src/slon/remote_worker.c 2005-11-02 12:40:01.000000000 +0100
+@@ -4870,7 +4870,12 @@
+ "commit;\n"
+ "vacuum analyze %s.sl_setsync_offline;\n",
+ rtcfg_namespace);
++ if ( rc < 0 )
++ return -1;
+ rc = fclose(archive_fp);
++ archive_fp = NULL;
++ if ( rc < 0 )
++ return -1;
+ rc = rename(archive_tmp, archive_name);
+ }
+ return rc;
================================================================
More information about the pld-cvs-commit
mailing list