Error handling #109
-
Hey again :) I'm going through the code and was wondering what can VolSync do in case of error handling while replication. Maybe you can pinpoint me to the code that handles this stuff? Thanks :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
During a sync iteration, the controller code will restart the mover pod if it doesn't complete successfully. In the code, you can search for the |
Beta Was this translation helpful? Give feedback.
During a sync iteration, the controller code will restart the mover pod if it doesn't complete successfully.
How retries are treated is a function of the specific mover. All three of the movers should be pretty good about resuming where they left off. The partial data that was transferred will still be in the destination's temporary volume, so the retry will just be a sync where the destination already has some of the changes, resulting in less data transfer.
In the code, you can search for the
ensureJob
functions that implement the controller-level retry (this would happen after kube's Job controller tries to restart the Pod a few times). The destination side won't take a snapshot after …