| От | Andres Freund |
|---|---|
| Тема | Re: Rework the way multixact truncations work |
| Дата | |
| Msg-id | 20150922132001.GB12446@alap3.anarazel.de обсуждение |
| Ответ на | Re: Rework the way multixact truncations work (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Rework the way multixact truncations work
Re: Rework the way multixact truncations work Re: Rework the way multixact truncations work Re: Rework the way multixact truncations work |
| Список | pgsql-hackers |
On 2015-09-21 16:36:03 +0200, Andres Freund wrote: > Agreed. I'll update the patch. Here's updated patches against master. These include the "legacy" truncation support. There's no meaningful functional differences in this version except addressing the review comments that I agreed with, and a fair amount of additional polishing. I've not: * removed legacy truncation support * removed SimpleLruFlush() from find_multixact_start() - imo it's easier to reason about the system when the disk state is in sync with the in memory state. * removed the interval syntax from debug messages and xlogdump - they're a fair bit more concise and the target audience of those will be able to figure it out. * unsplit DetermineSafeOldestOffset & SetOffsetVacuumLimit - imo the separate functions don't make sense anymore now that limits and truncations aren't as separate anymore. What I've tested is the following: * continous burning of multis, both triggered via members and offsets * a standby keeping up when the primary is old * a standby keeping up when the primary is new * basebackups made while a new primary is under load * verified that we properly PANIC when a truncation record is replayed in an old standby. Does anybody have additional tests in mind? I plan to push 0002 fairly soon, it seemed to be pretty uncontroversial. I'll then work tomorrow afternoon on producing branch specific versions of 0003 and on producing 0004 removing all the legacy stuff for 9.5 & master. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера