Thu Dec 13 09:19:20 PST 2007
- Previous message: [Slony1-commit] slony1-engine/doc/adminguide faq.sgml
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon In directory main.slony.info:/tmp/cvs-serv6881 Modified Files: Tag: REL_1_2_STABLE 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.124.2.29 retrieving revision 1.124.2.30 diff -C2 -d -r1.124.2.29 -r1.124.2.30 *** remote_worker.c 22 Oct 2007 20:44:24 -0000 1.124.2.29 --- remote_worker.c 13 Dec 2007 17:19:17 -0000 1.124.2.30 *************** *** 564,568 **** 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); } --- 564,571 ---- if (next_sync_group_size < 1) next_sync_group_size = 1; ! /* Limit group size to the value from the slon parameter, sync_group_maxsize */ ! if (next_sync_group_size > sync_group_maxsize) ! next_sync_group_size = sync_group_maxsize; ! slon_log(SLON_DEBUG2, "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/doc/adminguide faq.sgml
- Next message: [Slony1-commit] slony1-engine/src/slon remote_worker.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list