Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
hapostgres
/
pg_auto_failover
Public
Notifications
You must be signed in to change notification settings
Fork
142
Star
1.4k
Code
Issues
86
Pull requests
20
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Timeline-fork detection: fix #683 unrecoverable state after failed switchover
- #1161
#1161
Merged
dimitri
merged 28 commits into
main
hapostgres/pg_auto_failover:main
from
timeline-fork-detection
hapostgres/pg_auto_failover:timeline-fork-detection
Copy head branch name to clipboard
Jul 27, 2026
Conversation
Commits
28
(28)
Checks
Files changed
Merged
Timeline-fork detection: fix #683 unrecoverable state after failed switchover
#1161
dimitri
merged 28 commits into
main
hapostgres/pg_auto_failover:main
from
timeline-fork-detection
hapostgres/pg_auto_failover:timeline-fork-detection
Copy head branch name to clipboard
Commits
Commits on Jul 27, 2026
Part 1: verify genuine timeline ancestry at the secondary gate, not just numbers
Show description for 60ce50e
dimitri
committed
60ce50e
View commit details
Copy full SHA for 60ce50e
Browse repository at this point
Part 2 (schema + publishing): node_timeline_history table and reporting
Show description for 2c8ec55
dimitri
committed
2c8ec55
View commit details
Copy full SHA for 2c8ec55
Browse repository at this point
Part 2 (election): filter report_lsn candidates by timeline ancestry
Show description for 2a04ae9
dimitri
committed
2a04ae9
View commit details
Copy full SHA for 2a04ae9
Browse repository at this point
Part 3: operator-pinned accepted_timeline for genuine forks
Show description for b1e9263
dimitri
committed
b1e9263
View commit details
Copy full SHA for b1e9263
Browse repository at this point
Part 4: pg_autoctl show timeline
Show description for 52cb03c
dimitri
committed
52cb03c
View commit details
Copy full SHA for 52cb03c
Browse repository at this point
Add monitor regression tests for timeline-fork detection
Show description for 8ba911d
dimitri
committed
8ba911d
View commit details
Copy full SHA for 8ba911d
Browse repository at this point
Fix node_timeline_history FK to cascade on node removal
Show description for 9072320
dimitri
committed
9072320
View commit details
Copy full SHA for 9072320
Browse repository at this point
Fix #683: standby ahead of upstream retried a doomed reconnect forever
Show description for 303d30e
dimitri
committed
303d30e
View commit details
Copy full SHA for 303d30e
Browse repository at this point
timeline_fork_report_lsn_deadlock.pgaf: add live-cluster show/accept timeline coverage
Show description for 32526b6
dimitri
committed
32526b6
View commit details
Copy full SHA for 32526b6
Browse repository at this point
ci: add every .pgaf spec to a CI schedule
Show description for 29f8e65
dimitri
committed
29f8e65
View commit details
Copy full SHA for 29f8e65
Browse repository at this point
fast_forward.pgaf: fix test_003 deadlock by calling perform_failover via SQL
Show description for af9cb48
dimitri
committed
af9cb48
View commit details
Copy full SHA for af9cb48
Browse repository at this point
Drop fast_forward from this branch's CI schedule and revert its spec
Show description for 187ee3a
dimitri
committed
187ee3a
View commit details
Copy full SHA for 187ee3a
Browse repository at this point
Fix citus_indent formatting in timeline_history.c/.h
Show description for 1c61489
dimitri
committed
1c61489
View commit details
Copy full SHA for 1c61489
Browse repository at this point
monitor.c: fix show timeline fork message to not assert election behavior
Show description for 658d269
dimitri
committed
658d269
View commit details
Copy full SHA for 658d269
Browse repository at this point
docs: document timeline-fork detection (accept/show timeline, FSM, fault-tolerance, architecture, FAQ, operations)
Show description for 495ac43
dimitri
committed
495ac43
View commit details
Copy full SHA for 495ac43
Browse repository at this point
monitor: add missing SQL objects to the 2.2->2.3 upgrade script
Show description for 17d0ca4
dimitri
committed
17d0ca4
View commit details
Copy full SHA for 17d0ca4
Browse repository at this point
docs+tests: address review feedback on timeline-fork-detection docs
Show description for 69f35e8
dimitri
committed
69f35e8
View commit details
Copy full SHA for 69f35e8
Browse repository at this point
pgaftest: size expect-mismatch error buffers to fit multi-row output
Show description for 56d0ee8
dimitri
committed
56d0ee8
View commit details
Copy full SHA for 56d0ee8
Browse repository at this point
docs+tests: show concurrent application traffic during a 3-node fork
Show description for e21947f
dimitri
committed
e21947f
View commit details
Copy full SHA for e21947f
Browse repository at this point
monitor: detect a timeline fork on a secondary as soon as it's reported
Show description for 7037c99
dimitri
committed
7037c99
View commit details
Copy full SHA for 7037c99
Browse repository at this point
pgctl: pg_rewind must connect to the formation's own database, not a hardcoded postgres
Show description for 365bb62
dimitri
committed
365bb62
View commit details
Copy full SHA for 365bb62
Browse repository at this point
docs: describe the new automatic, near-instant catchingup push on a forked secondary
Show description for 79c3a3d
dimitri
committed
79c3a3d
View commit details
Copy full SHA for 79c3a3d
Browse repository at this point
timeline_fork_report_lsn_deadlock.pgaf: fix race between the new auto-catchingup guard and the maintenance-cycle step
Show description for e709c8b
dimitri
committed
e709c8b
View commit details
Copy full SHA for e709c8b
Browse repository at this point
fast_forward: fix silent promotion corruption in multi-node failover
Show description for 58c0b7d
dimitri
committed
58c0b7d
View commit details
Copy full SHA for 58c0b7d
Browse repository at this point
primary_standby: detect same-timeline LSN divergence in standby_check_timeline_with_upstream
Show description for c5846f6
dimitri
committed
c5846f6
View commit details
Copy full SHA for c5846f6
Browse repository at this point
fsm_transition_citus: fix same fast_forward promotion corruption for Citus workers
Show description for 13b7984
dimitri
committed
13b7984
View commit details
Copy full SHA for 13b7984
Browse repository at this point
fsm_mermaid.c: fix citus_indent formatting (missing blank line)
Show description for 0f70556
dimitri
committed
0f70556
View commit details
Copy full SHA for 0f70556
Browse repository at this point
tests: use SIGINT for cluster teardown, stop leaking orphaned nodes
Show description for 5e8a73f
dimitri
committed
5e8a73f
View commit details
Copy full SHA for 5e8a73f
Browse repository at this point
You can’t perform that action at this time.