-
Notifications
You must be signed in to change notification settings - Fork 18
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
PBM-1333 Warning about breaking ACID during selective restore #182
Conversation
Your Render PR Server URL is https://pbm-docs-pr-182.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-cphguou3e1ms73a8pnpg. |
eb1dd66
to
01ec2e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you mention exactly what happens? "break ACID" is not clear... let's say I have a tx involving collections A and B, if I selective restore collection A does it mean data on collection B will be "corrupted"?
docs/features/selective-backup.md
Outdated
@@ -13,6 +13,11 @@ With the selective backup and restore functionality, you have the following opti | |||
3. Restore certain databases and / or collections from a full backup | |||
4. Make a point-in time recovery for the specified databases / collections. Available for replica sets only. | |||
|
|||
!!! warning | |||
|
|||
Multi-collection transactions and time series collections are not supported. However, if you use them and try to make a selective restore, it may break ACID because not all operations with this transaction are restored. Thus, from the transaction's point of you, the data consistency may be broken. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Multi-collection transactions and time series collections are not supported. However, if you use them and try to make a selective restore, it may break ACID because not all operations with this transaction are restored. Thus, from the transaction's point of you, the data consistency may be broken. | |
Multi-collection transactions and time series collections are not supported. However, if you use them and try to make a selective restore, it may break ACID because not all operations with this transaction are restored. PBM only applies oplog records that relate to the selected namespace(s). Thus, from the transaction's point of view, the data consistency may be broken. | |
For example, if there is a transaction that contains changes for collections A and B, but only A is selected, PBM applies ops only for A and ignores B, which means the transaction is not be fully applied. |
2236697
to
e31376e
Compare
e31376e
to
b2aec1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.