Re: Failed to request an autovacuum work-item in silence
От | Masahiko Sawada |
---|---|
Тема | Re: Failed to request an autovacuum work-item in silence |
Дата | |
Msg-id | CAD21AoC8bhnB_e=j+2R3tvF6U+xhi_1Vr2oJ17gJ-9BuOTaM=w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Failed to request an autovacuum work-item in silence (Fabrízio de Royes Mello <fabriziomello@gmail.com>) |
Ответы |
Re: Failed to request an autovacuum work-item in silence
|
Список | pgsql-hackers |
On Tue, Jan 23, 2018 at 8:03 PM, Fabrízio de Royes Mello <fabriziomello@gmail.com> wrote: > > Em ter, 23 de jan de 2018 às 03:36, Masahiko Sawada <sawada.mshk@gmail.com> > escreveu: >> >> Hi all, >> >> While reading the code, I realized that the requesting an autovacuum >> work-item could fail in silence if work-item array is full. So the >> users cannot realize that work-item is never performed. >> AutoVacuumRequestWork() seems to behave so from the initial >> implementation but is there any reason of such behavior? It seems to >> me that it can be a problem even now that there is only one kind of >> work-item. Attached patch for fixing it. > > > Seems reasonable but maybe you can use the word "worker" instead of "work > item" for report message. > Thank you for the comment. Or can we use the word "work-item" since the commit log and source code use this word? Regards, -- Masahiko Sawada NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
В списке pgsql-hackers по дате отправления: