Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client Side Timeline/Backup LSN Support #187

Closed
5 tasks done
Jubilee101 opened this issue Feb 15, 2024 · 1 comment
Closed
5 tasks done

Client Side Timeline/Backup LSN Support #187

Jubilee101 opened this issue Feb 15, 2024 · 1 comment
Assignees
Labels
feature New feature

Comments

@Jubilee101
Copy link
Collaborator

Jubilee101 commented Feb 15, 2024

Currently pgmoneta has little support for fetching/extracting LSN info related to timeline and backup. We would like the following feature:

  • .history file streaming
  • .history file parsing
  • Corresponding prometheus support
  • Make sure pgmoneta starts fetching WAL segments of the next timeline when the current one ends
  • Extracting starting/ending LSN from backup_label into backup.info

Some references:
https://www.highgo.ca/2021/11/01/the-postgresql-timeline-concept/
https://developer.aliyun.com/article/234
https://www.postgresql.org/docs/current/protocol-replication.html

@Jubilee101 Jubilee101 added the feature New feature label Feb 15, 2024
@Jubilee101 Jubilee101 self-assigned this Feb 15, 2024
@Jubilee101 Jubilee101 changed the title Timeline Support Timeline/Backup LSN Support Feb 15, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Feb 19, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 2, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 3, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 3, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 3, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Mar 4, 2024
@Jubilee101
Copy link
Collaborator Author

Close this as most tasks have been done. I'll later submit a separate issue for server side LSN. That'll tie into the extension project, and require looking into postgres internals - base backup command as well as mvcc stuff.

@Jubilee101 Jubilee101 changed the title Timeline/Backup LSN Support Client Side Timeline/Backup LSN Support Apr 8, 2024
Jubilee101 added a commit to Jubilee101/pgmoneta that referenced this issue Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant