-
Notifications
You must be signed in to change notification settings - Fork 136
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
Handle not-sending of not-enabled datasets #626
Conversation
…of org.znapzend:enabled" for sub-datasets Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… cleanup of snapshots on enabled=off sub-datasets Signed-off-by: Jim Klimov <jimklimov@gmail.com>
…teSnapshot() so it can also be used in sendRecvCleanup() Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… done in refreshBackupPlans() once Track the list of names as @{$backupSet->{srcDisabledDescendants}} Signed-off-by: Jim Klimov <jimklimov@gmail.com>
Signed-off-by: Jim Klimov <jimklimov@gmail.com>
hmmm sorry ... this is getting a bit complex now aren't you changeing the same function as in the other PR ? |
As noted in the other PR at #625 - indeed, same function but for a different purpose. The change here merely skips sending of datasets that are "not-enabled" by whatever definition of that is in the codebase. That other PR changes the definition. Also both of these PRs include and supersede the less impactful changes proposed in #623 (at least, as of when it did not include numerous merge-backs from master-branch updates). |
…a not-enabled dataset Signed-off-by: Jim Klimov <jimklimov@gmail.com>
… emit a debug message about sending (or not) a dataset Signed-off-by: Jim Klimov <jimklimov@gmail.com>
Follows up from ideas in #623
UPDATE: There was a thought about using
oracleMode
to fall back from a recursive snapshot send to one-by-one processing in case we have exclusions (and/or send recursively only some smaller sub-trees that are safe to send - no exclusions there), but looking at this code structure I do not see a recursive send in fact. Maybe it is hidden deeper in$self->zZFS->...
?..