Skip to content

Commit c62a0a4

Browse files
committed
Revert "Make vacuum a bit more verbose to debug BF failure."
This reverts commit 49967da. Enough time has passed that we can be confident that 07f32fc resolved the issue. Therefore we can remove the temporary debugging aids. Author: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/E1k7tGP-0005V0-5k@gemulon.postgresql.org
1 parent 0784c33 commit c62a0a4

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6048,16 +6048,7 @@ FreezeMultiXactId(MultiXactId multi, uint16 t_infomask,
60486048
TransactionIdIsInProgress(members[i].xid))
60496049
{
60506050
/* running locker cannot possibly be older than the cutoff */
6051-
if (TransactionIdPrecedes(members[i].xid, cutoff_xid))
6052-
{
6053-
/* temporary on-bf debugging */
6054-
elog(PANIC, "too old alive locker: multi: %u, member xid: %u, memb-current: %d, memb-progress: %d, cutoff: %u, cutoff-multi: %u, relfrozenxid: %u, relminmxid: %u",
6055-
multi, members[i].xid,
6056-
TransactionIdIsCurrentTransactionId(members[i].xid),
6057-
TransactionIdIsInProgress(members[i].xid),
6058-
cutoff_xid, cutoff_multi,
6059-
relfrozenxid, relminmxid);
6060-
}
6051+
Assert(!TransactionIdPrecedes(members[i].xid, cutoff_xid));
60616052
newmembers[nnewmembers++] = members[i];
60626053
has_lockers = true;
60636054
}

src/backend/access/heap/vacuumlazy.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,14 +1350,7 @@ lazy_scan_heap(Relation onerel, VacuumParams *params, LVRelStats *vacrelstats,
13501350
if (HeapTupleIsHotUpdated(&tuple) ||
13511351
HeapTupleIsHeapOnly(&tuple) ||
13521352
params->index_cleanup == VACOPT_TERNARY_DISABLED)
1353-
{
1354-
/* temporary on-bf debugging */
1355-
elog(LOG, "treating dead HOT tuple (updated %d, heap only: %d, index cleanup: %d) as alive",
1356-
HeapTupleIsHotUpdated(&tuple), HeapTupleIsHeapOnly(&tuple),
1357-
params->index_cleanup == VACOPT_TERNARY_DISABLED);
1358-
13591353
nkeep += 1;
1360-
}
13611354
else
13621355
tupgone = true; /* we can delete the tuple */
13631356
all_visible = false;

0 commit comments

Comments
 (0)