pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
6+ messages / 1 participants
[nested] [flat]

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
master

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

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2b7dbe4bd5872ae5c6780e1a4121c2a5a8401e7c

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
REL_13_STABLE

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

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2c15b29f7c22231788571b5fd6671e2497e4b054

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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

* pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().
@ 2022-01-21 19:49  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 6+ messages in thread

From: Andres Freund @ 2022-01-21 19:49 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

fsync pg_logical/mappings in CheckPointLogicalRewriteHeap().

While individual logical rewrite files were synced to disk, the directory was
not. On some filesystems that could lead to loosing directory entries after a
crash.

Reported-By: Tom Lane <tgl@sss.pgh.pa.us>
Author: Nathan Bossart <bossartn@amazon.com>
Discussion: https://postgr.es/m/867F2E29-2782-4869-970E-B984C6D35A8F@amazon.com
Backpatch: 10-

Branch
------
REL_10_STABLE

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

Modified Files
--------------
src/backend/access/heap/rewriteheap.c | 3 +++
1 file changed, 3 insertions(+)



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


end of thread, other threads:[~2022-01-21 19:49 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>
2022-01-21 19:49 pgsql: fsync pg_logical/mappings in CheckPointLogicalRewriteHeap(). Andres Freund <andres@anarazel.de>

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