]> granicus.if.org Git - postgresql/commit
Log when a BRIN autosummarization request fails
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 14 Mar 2018 14:53:56 +0000 (11:53 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 14 Mar 2018 14:59:40 +0000 (11:59 -0300)
commit484a4a08abe316212d67d84bb8705b06e44f862d
treec1f2a31f60ac9609097a5ee765d6ca2ce70cfa30
parent97d18ce27da47de2de60de8dfca8e364e71ff6fe
Log when a BRIN autosummarization request fails

Autovacuum's 'workitem' request queue is of limited size, so requests
can fail if they arrive more quickly than autovacuum can process them.
Emit a log message when this happens, to provide better visibility of
this.

Backpatch to 10.  While this represents an API change for
AutoVacuumRequestWork, that function is not yet prepared to deal with
external modules calling it, so there doesn't seem to be any risk (other
than log spam, that is.)

Author: Masahiko Sawada
Reviewed-by: Fabrízio Mello, Ildar Musin, Álvaro Herrera
Discussion: https://postgr.es/m/CAD21AoB1HrQhp6_4rTyHN5kWEJCEsG8YzsjZNt-ctoXSn5Uisw@mail.gmail.com
doc/src/sgml/brin.sgml
src/backend/access/brin/brin.c
src/backend/postmaster/autovacuum.c
src/include/postmaster/autovacuum.h