Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc978738

Browse files
Remove overzealous VACUUM visibility map assertion.
The all_visible_according_to_vm variable's value is inherently prone tobecoming invalidated concurrently, since it is set before we evenacquire a lock on a related heap page buffer.Oversight in commit7136bf3, which added the assertion in passing.Author: Masahiko Sawada <sawada.mshk@gmail.com>Reported-By: Tang <tanghy.fnst@fujitsu.com>Diagnosed-By:: Masahiko Sawada <sawada.mshk@gmail.com>Discussion:https://postgr.es/m/CAD21AoDzgc8_MYrA5m1fyydomw_eVKtQiYh7sfDK4KEhdMsf_g@mail.gmail.com
1 parent3fe773b commitc978738

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/backend/access/heap/vacuumlazy.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1344,7 +1344,6 @@ lazy_scan_heap(LVRelState *vacrel, VacuumParams *params, bool aggressive)
13441344
lazy_scan_prune(vacrel,buf,blkno,page,vistest,&prunestate);
13451345

13461346
Assert(!prunestate.all_visible|| !prunestate.has_lpdead_items);
1347-
Assert(!all_visible_according_to_vm||prunestate.all_visible);
13481347

13491348
/* Remember the location of the last page with nonremovable tuples */
13501349
if (prunestate.hastup)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp