Re: [PATCH] Btree BackwardScan race condition on Standby during VACUUM

Поиск
Список
Период
Сортировка
От Michail Nikolaev
Тема Re: [PATCH] Btree BackwardScan race condition on Standby during VACUUM
Дата
Msg-id CANtu0ojCsZHfSXGsJY6AF_pHwrD01tUa_mQnsnBcnY5ztkYq3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Btree BackwardScan race condition on Standby duringVACUUM  ("Andrey M. Borodin" <x4mmm@yandex-team.ru>)
Ответы Re: [PATCH] Btree BackwardScan race condition on Standby during VACUUM  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
Hello.

>  Probably, patch in this thread should fix this in btree_xlog_split() too?

I have spent some time trying to find any possible race condition
between btree_xlog_split and _bt_walk_left… But I can’t find any.
Also, I have tried to cause any issue by putting pg_sleep put into
btree_xlog_split (between releasing and taking of locks) but without
any luck.

I agree it is better to keep the same locking logic for primary and
standby in general. But it is a possible scope of another patch.

Thanks,
Michail.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Steele
Дата:
Сообщение: Re: psql FETCH_COUNT feature does not work with combined queries
Следующее
От: David Steele
Дата:
Сообщение: Re: pgbench - refactor init functions with buffers