> AFAICT, the worker process has one work to do: check replication lag. > pgPool only needs to check replication lag if we are using streaming > replication and if health check is enabled. However, it seems it checks > replication lag even if health check is disabled (with > health_check_period=0). > > This looks like a bug to me. > > I see two fixes: > * only launch the worker process if health_check_period>0 (main.c) > * before checking lag, make sure that health_check_period>0 > (pool_worker_child.c) > > I can write the patch, it won't be difficult. Just want to make sure > you're OK with this and that I didn't miss something.
People might want to check replication delay even if they are not using health check, no? -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp _______________________________________________ Pgpool-hackers mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-hackers
