Is atomic recursive send/recv possible? #15725
-
Hi, I'm having trouble sending recursive snapshot of the pool. The pool is represented by the tree of datasets. Is there a way to replicate either the whole tree or nothing, in other words, make multi-snapshots replication atomic? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Not really. The receives are always not atomic beyond the dataset under the hood, and you'd have to come up with how to resolve a truly astonishing number of edge cases in ways that didn't surprise people, like what to do if someone wanted to resume after deleting some of the source or destination's received things, and managing multiple in-progress receives pool wide. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. I think you are right, this should probably be implemented on the application side, not to complicate things, like:
Thanks! |
Beta Was this translation helpful? Give feedback.
Not really. The receives are always not atomic beyond the dataset under the hood, and you'd have to come up with how to resolve a truly astonishing number of edge cases in ways that didn't surprise people, like what to do if someone wanted to resume after deleting some of the source or destination's received things, and managing multiple in-progress receives pool wide.