Skip to content

Fix restore command for shadow pg - #86

Merged
harshil-goel merged 2 commits into
mainfrom
harshil/shadow-restart-fix
Aug 18, 2026
Merged

Fix restore command for shadow pg#86
harshil-goel merged 2 commits into
mainfrom
harshil/shadow-restart-fix

Conversation

@harshil-goel

@harshil-goel harshil-goel commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Fixes #85

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@harshil-goel
harshil-goel force-pushed the harshil/shadow-restart-fix branch 7 times, most recently from 711ef70 to 867903d Compare August 17, 2026 06:01
@harshil-goel
harshil-goel force-pushed the harshil/shadow-restart-fix branch from 867903d to d5c7fdd Compare August 17, 2026 06:09
@harshil-goel harshil-goel reopened this Aug 17, 2026
@harshil-goel
harshil-goel changed the base branch from harshil/slot-fix to main August 17, 2026 06:12
@harshil-goel
harshil-goel force-pushed the harshil/shadow-restart-fix branch 5 times, most recently from 384ddc7 to d96f680 Compare August 17, 2026 13:48
Comment thread src/bin/stream.rs Outdated
ident.timeline,
ident.sysid.clone(),
aligned,
walsender_baseline,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can report server_wal_end ahead of pump, inflates lag for pg_stat_wal_receiver.latest_end_lsn

@serprex

serprex commented Aug 17, 2026

Copy link
Copy Markdown
Member

this has some overlap with 2nd commit in #83, I went with simpler path of reporting xlogpos 0/0

@serprex serprex added the bug Something isn't working label Aug 17, 2026
@harshil-goel
harshil-goel force-pushed the harshil/shadow-restart-fix branch from d96f680 to 3b3c9db Compare August 18, 2026 04:21
@harshil-goel
harshil-goel force-pushed the harshil/shadow-restart-fix branch from 3b3c9db to 96b54e6 Compare August 18, 2026 10:31
@harshil-goel
harshil-goel merged commit 23e3d1a into main Aug 18, 2026
5 checks passed
@harshil-goel
harshil-goel deleted the harshil/shadow-restart-fix branch August 18, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shadow pg takign too long to come up on restart

3 participants