Thu Dec 13 09:19:30 PST 2007
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine RELEASE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv6947 Modified Files: remote_worker.c Log Message: Per bug #23 http://www.slony.info/bugzilla/show_bug.cgi?id=23 Need to ensure that the config parameter, sync_group_maxsize, is actually used to constrain the maximum number of SYNCs grouped together. Also changed debugging level from SLON_DEBUG3 to SLON_DEBUG2, for the nearby log statement. (for 1.2 branch; SLON_DEBUG1, for HEAD) Index: remote_worker.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v retrieving revision 1.161 retrieving revision 1.162 diff -C2 -d -r1.161 -r1.162 *** remote_worker.c 11 Dec 2007 20:30:58 -0000 1.161 --- remote_worker.c 13 Dec 2007 17:19:28 -0000 1.162 *************** *** 566,570 **** if (next_sync_group_size < 1) next_sync_group_size = 1; ! slon_log(SLON_DEBUG3, "calc sync size - last time: %d last length: %d ideal: %d proposed size: %d\n", last_sync_group_size, last_sync_length, ideal_sync, next_sync_group_size); } --- 566,572 ---- if (next_sync_group_size < 1) next_sync_group_size = 1; ! if (next_sync_group_size > sync_group_maxsize) ! next_sync_group_size = sync_group_maxsize; ! slon_log(SLON_DEBUG1, "calc sync size - last time: %d last length: %d ideal: %d proposed size: %d\n", last_sync_group_size, last_sync_length, ideal_sync, next_sync_group_size); }
- Previous message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Next message: [Slony1-commit] slony1-engine RELEASE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list