Re: Testing pg_terminate_backend()
От | Magnus Hagander |
---|---|
Тема | Re: Testing pg_terminate_backend() |
Дата | |
Msg-id | 20080418232252.5fb7bc9b@mha-laptop обсуждение исходный текст |
Ответ на | Re: Testing pg_terminate_backend() (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Testing pg_terminate_backend()
Re: Testing pg_terminate_backend() |
Список | pgsql-patches |
Tom Lane wrote: > Bruce Momjian <bruce@momjian.us> writes: > > Attached is my test script. I ran it for 14 hours (asserts on), > > running 450 regression tests, with up to seven backends killed per > > regression test. > > Hmm, there are something on the order of 10000 SQL commands in our > regression tests, so even assuming perfect randomness you've exercised > SIGTERM on maybe 10% of them --- and of course there's multiple places > in a complex DDL command where SIGTERM might conceivably be a problem. > > Who was volunteering to run this 24x7 for awhile? That was me. As long as the script runs properly on linux, I can get that started as soon as I'm fed instructions on how to do it :-) Do I just fix the paths and set it running, or do I need to prepare something else? > > SLEEP=`expr $RANDOM \* $REGRESSION_DURATION / 32767` > > Uh, where's the randomness coming from? ... but I should probably wait until that one is answered or fixed, I guess :-) //Magnus
В списке pgsql-patches по дате отправления: