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

Commita3554d5

Browse files
committed
Remove assertion that circular buffer entries are monotonic
GetOldestXmin *can* go backwards, see its comment. For the record, spotted byshardman's test_worker_failover_with_offline_neighbour test: apparently LRlauncher background worker gets low oldestxmin on its start because it is notconnected to any database.
1 parentdff2f63 commita3554d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/backend/access/transam/global_snapshot.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ GlobalSnapshotMapXmin(GlobalCSN snapshot_global_csn)
282282

283283
Assert(TransactionIdIsNormal(current_oldest_xmin));
284284
Assert(TransactionIdIsNormal(previous_oldest_xmin));
285-
Assert(TransactionIdFollowsOrEquals(current_oldest_xmin,previous_oldest_xmin));
286285

287286
gap=csn_seconds-last_csn_seconds;
288287
offset=csn_seconds %gsXidMap->size;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp