Sun Aug 15 15:43:27 PDT 2004
- Previous message: [Slony1-commit] By wieck: Added change notes for 1.0.2 Jan
- Next message: [Slony1-commit] By wieck: Added last commit message before 1.0.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Disabled a listen+unlisten per SYNC processing, that caused pg_listener bloat. The pg_listener entry was used to speedup failover. The entire node restart mechanism will be redone in 1.1. Jan Tags: ---- REL_1_0_STABLE Modified Files: -------------- slony1-engine/src/slon: remote_worker.c (r1.55.2.3 -> r1.55.2.4) -------------- next part -------------- Index: remote_worker.c =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_worker.c,v retrieving revision 1.55.2.3 retrieving revision 1.55.2.4 diff -Lsrc/slon/remote_worker.c -Lsrc/slon/remote_worker.c -u -w -r1.55.2.3 -r1.55.2.4 --- src/slon/remote_worker.c +++ src/slon/remote_worker.c @@ -2980,6 +2980,7 @@ } PQclear(res1); +#ifdef NOT_USED /* * Start listening on the special relation that will cause * our local connection to be killed when the provider node @@ -2993,6 +2994,7 @@ dstring_free(&query); return 60; } +#endif } dstring_init(&new_qual); @@ -3453,6 +3455,7 @@ PQclear(res1); } +#ifdef NOT_USED for (provider = wd->provider_head; provider; provider = provider->next) { /* @@ -3461,7 +3464,7 @@ * fails. */ slon_mkquery(&query, - "listen \"_%s_Node_%d\"; ", + "unlisten \"_%s_Node_%d\"; ", rtcfg_cluster_name, provider->no_id); if (query_execute(node, local_dbconn, &query) < 0) { @@ -3469,6 +3472,7 @@ return 60; } } +#endif /* * Get the nodes rowid sequence at that sync time just in case
- Previous message: [Slony1-commit] By wieck: Added change notes for 1.0.2 Jan
- Next message: [Slony1-commit] By wieck: Added last commit message before 1.0.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list