pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: BRIN: Handle concurrent desummarization properly
7+ messages / 1 participants
[nested] [flat]

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0426c75e7d1d058a3d61bac678e17b675ddaebb9

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ce3a8fde8e62c62c29e4342ad32b07b2bbf33b64

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7a3c261fbbb427ffa2ee9223728e811556284a6e

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f42d35a1d6144a23602b2c0bc7f97f3046cf890

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7af39993a47c56099e8cfea4191e7e686c7a6d0e

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/721ef4d28aae0afff6b714af9c545825f86a76da

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* pgsql: BRIN: Handle concurrent desummarization properly
@ 2020-08-12 19:50  Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 7+ messages in thread

From: Alvaro Herrera @ 2020-08-12 19:50 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

BRIN: Handle concurrent desummarization properly

If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602ff as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8782ea2f36a2468e08c227c8d7907a5a1a9f5e32

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2020-08-12 19:50 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-08-12 19:50 pgsql: BRIN: Handle concurrent desummarization properly Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox