Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
Facebook
Downloads
Home
>
mailing lists
why doesn't call XLogCheckInvalidPages during primary crash recovery? - Mailing list pgsql-hackers
From
王伟(学弈)
Subject
why doesn't call XLogCheckInvalidPages during primary crash recovery?
Date
July 3, 2023
13:11:51
Msg-id
646b4d3e-cacc-4012-8cb8-9cfa5037093b.rogers.ww@alibaba-inc.com
Whole thread
Raw
List
pgsql-hackers
Tree view
Hi hackers,
Startup process will record not existed pages into hash table
invalid_page_tab during replaying WAL
.
And it would call
XLogCheckInvalidPages after reaching consistent recovery state. Finally, it will
PANIC or WARNING based on parameter
ignore_invalid_pages if where's any invalid pages.
Now I'm wondering why doesn't call
XLogCheckInvalidPages during primary crash recovery?
When primary node crash recovery, the mini recovery point is
InvalidXLogRecPtr, so it skips
consistent recovery state stage. Startup process get no chance to call
XLogCheckInvalidPages
before exit.
In my opinion, invalid pages found in hash table
invalid_page_tab means there's something
inconsistent
between WAL and data. But why primary node can ignore it?
Can anyone help
to answer?
--
Best regards,
rogers.ww
pgsql-hackers
by date:
Previous
From:
Alvaro Herrera
Date:
03 July 2023, 12:58:25
Subject:
Re: Optionally using a better backtrace library?
Next
From:
David Rowley
Date:
03 July 2023, 13:14:50
Subject:
Re: Todo: Teach planner to evaluate multiple windows in the optimal order
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
I confirm that I have read and accepted PostgresPro’s
Privacy Policy
.
I agree to get Postgres Pro discount offers and other marketing communications.
✖
×
×
Everywhere
Documentation
Mailing list
List:
all lists
pgsql-general
pgsql-hackers
buildfarm-members
pgadmin-hackers
pgadmin-support
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-benchmarks
pgsql-bugs
pgsql-chat
pgsql-cluster-hackers
pgsql-committers
pgsql-cygwin
pgsql-docs
pgsql-hackers-pitr
pgsql-hackers-win32
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql-patches
pgsql-performance
pgsql-php
pgsql-pkg-debian
pgsql-pkg-yum
pgsql-ports
pgsql-rrreviewers
pgsql-ru-general
pgsql-sql
pgsql-students
pgsql-testers
pgsql-translators
pgsql-www
psycopg
Period
anytime
within last day
within last week
within last month
within last 6 months
within last year
Sort by
date
reverse date
rank
Services
24×7×365 Technical Support
Migration to PostgreSQL
High Availability Deployment
Database Audit
Remote DBA for PostgreSQL
Products
Postgres Pro Enterprise
Postgres Pro Standard
Cloud Solutions
Postgres Extensions
Resources
Blog
Documentation
Webinars
Videos
Presentations
Community
Events
Training Courses
Books
Demo Database
Mailing List Archives
About
Leadership team
Partners
Customers
In the News
Press Releases
Press Info
By continuing to browse this website, you agree to the use of cookies. Go to
Privacy Policy
.
I accept cookies