Re: [GENERAL] Template zero xid issue
От | Gregory Stark |
---|---|
Тема | Re: [GENERAL] Template zero xid issue |
Дата | |
Msg-id | 87ir7rgob3.fsf@oxford.xeocode.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] Template zero xid issue (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: [GENERAL] Template zero xid issue
|
Список | pgsql-hackers |
"Tom Lane" <tgl@sss.pgh.pa.us> writes: > 4. Keep spawning a child, but mark it in the BackendList as known > doomed, and don't count such children when deciding if it's OK to > terminate. The problem with this idea is that such children will > still be connected to shared memory, and we really don't want to > terminate the postmaster before all connections to shmem are gone. > (This objection also applies to #1, now that I think about it.) > > I'm sort of leaning to solution #3, but I wondered if anyone had > a different opinion or a better idea. A variant on option 4 would be to stop accepting new connections once there are only known-doomed clients left. Ie, behave as if we're shut down already but not actually exit until all the known-doomed clients drain out. I think I agree that option 3 sounds simpler though. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: