Repository navigation
PBM 1763 pitr fails with document validation failure - #401
Open
rasika-chivate wants to merge 9 commits into
Open
rasika-chivate wants to merge 9 commits into
rasika-chivate wants to merge 9 commits into
Conversation
rasika-chivate
marked this pull request as draft
September 29, 2026 08:05
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The workaround must clarify that the runtime parameter needs configuring on applicable mongod instances.
Review effort: Balanced
Findings: 1
Open (1)
What changed in this PR
Documents a workaround for PITR failures involving expiring time-series collections.
Changes:
- Explains the TTL monitor failure.
- Advises disabling TTL monitoring during restoration.
| File | Description |
|---|---|
docs/features/known-limitations.md |
Adds the limitation, error, and workaround. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
…ttribute for ttlMonitorEnabled' Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
jcechace
approved these changes
Sep 29, 2026
boris-ilijic
reviewed
Oct 5, 2026
| (Location6781400) Time series bucket document is missing 'control' field | ||
| ``` | ||
|
|
||
| Before starting the restore, manually disable the TTL monitor on every data-bearing `mongod` instance in the target deployment. Keep it disabled for the duration of the restore. The [`ttlMonitorEnabled` :octicons-link-external-16:](https://www.mongodb.com/docs/v8.0/reference/parameters/#mongodb-parameter-param.ttlMonitorEnabled){:target="_blank"} parameter applies to individual instances, so configure each one separately: |
Member
There was a problem hiding this comment.
We should just disable it on the Primary instance on RS, or all Primary instances on every RS (config server + all shards) in sharded cluster.
jcechace
approved these changes
Oct 6, 2026
boris-ilijic
approved these changes
Oct 6, 2026
rasika-chivate
added a commit
that referenced
this pull request
Oct 6, 2026
rasika-chivate
added a commit
that referenced
this pull request
Oct 6, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Documents the TTL limitation for logical restores, including PITR, of time series collections configured with
expireAfterSeconds. Manually disable the TTL monitor before starting the restore and keep it disabled for the duration of the restore. Record each data-bearingmongodinstance's original setting and restore it when the operation ends, even if it fails.Updated
docs/features/known-limitations.md, under Logical restores of time series collections with expiration. The existing page TOC includes this heading; no navigation changes are needed.Sources:
Validation: MkDocs build and
git diff --checkpassed. Verified the rendered page TOC, warning, command blocks and upstream link attributes. Existing unrelated link warnings remain.