Skip to content

PBM-1167#359

Merged
radoslawszulgo merged 5 commits intoRelease-notes-2.14.0from
PBM-1167-PITR-with-physical-backup-doesnt-recover-data
Apr 22, 2026
Merged

PBM-1167#359
radoslawszulgo merged 5 commits intoRelease-notes-2.14.0from
PBM-1167-PITR-with-physical-backup-doesnt-recover-data

Conversation

@rasika-chivate
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the PITR-from-physical-backup documentation to reflect a change in how oplog entries are applied during physical PITR restores.

Changes:

  • Document that PITR oplog entries are applied to all nodes in a replica set during physical restore, allowing any start order.
  • Add a “Version added” note for the behavior change and reframe the previous primary-first requirement.
  • Rework the sharded-cluster PITR limitations section into bullets.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +65 to +66
During a physical restore with point-in-time recovery (PITR), PBM applies oplog entries to all nodes in each replica set. As a result, all nodes contain the same restored data files when the restore completes, allowing replica set members to be started in any order.

Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

This paragraph says PBM applies PITR oplog entries to all nodes in each replica set, but later in this section the sharded-cluster bullet states oplog events are replayed only on the primary node of each shard. Please reconcile these statements (update/remove the bullet, or qualify this paragraph) so the documented behavior is consistent.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Updated the sharded-cluster bullet in commit d415a85 to say oplog events are replayed on all nodes of every shard, removing the "primary only" language and the "remaining nodes receive data during initial sync" note. This aligns the bullet with the paragraph above it that describes the 2.14.0 behavior.

…ct all-nodes behavior

Agent-Logs-Url: https://github.com/percona/pbm-docs/sessions/5cf9e396-42d9-49db-8902-91496dd3e247

Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/usage/pitr-physical.md Outdated
Comment thread docs/usage/pitr-physical.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rasika-chivate rasika-chivate temporarily deployed to PBM-1167-PITR-with-physical-backup-doesnt-recover-data - pbm-release-branch-docs PR #359 April 17, 2026 15:00 — with Render Destroyed
@rasika-chivate rasika-chivate marked this pull request as ready for review April 17, 2026 15:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

2. When doing point-in-time recovery for deployments with sharded collections, PBM only writes data to existing ones and doesn’t support creating new collections. Therefore, whenever you create a new sharded collection, make a new backup for it to be included there.
During a physical restore with point-in-time recovery (PITR), PBM applies oplog entries to all nodes in each replica set. As a result, all nodes contain the same restored data files when the restore completes, allowing replica set members to be started in any order.

!!! admonition "Version added: [2.14.0](../release-notes/2.14.0.md)"
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

The new “Version added: 2.14.0” admonition links to ../release-notes/2.14.0.md, but that release-notes file doesn’t exist in the repo, so this will render as a broken link. Either add the docs/release-notes/2.14.0.md page, or remove/adjust the link (e.g., keep the version text without a link) to match the existing documentation pattern.

Suggested change
!!! admonition "Version added: [2.14.0](../release-notes/2.14.0.md)"
!!! admonition "Version added: 2.14.0"

Copilot uses AI. Check for mistakes.
@radoslawszulgo radoslawszulgo changed the base branch from 2.14.0 to Release-notes-2.14.0 April 22, 2026 14:06
@radoslawszulgo radoslawszulgo merged commit 99a5197 into Release-notes-2.14.0 Apr 22, 2026
4 checks passed
@radoslawszulgo radoslawszulgo deleted the PBM-1167-PITR-with-physical-backup-doesnt-recover-data branch April 22, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants