Failed to request an autovacuum work-item in silence

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Failed to request an autovacuum work-item in silence
Date: 2018-01-23 05:35:42
Message-ID: CAD21AoB1HrQhp6_4rTyHN5kWEJCEsG8YzsjZNt-ctoXSn5Uisw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
report_autovac_workitem_request_failure.patch application/octet-stream 899 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2018-01-23 06:19:53 Re: Query related to alter table ... attach partition
Previous Message Ashutosh Sharma 2018-01-23 05:35:14 Query related to alter table ... attach partition