-
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
DST configuration local to snapshots #649
Comments
Well, they are snapshots - so refer to the values that were valid at the moment of their creation, and should be immutable afterwards. I don't think these are practically used by UPDATE: This statement was disproven, see below. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bump
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bump
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
bump
|
Re-reading the issue, and remembering the code (not online now) I think my earlier comment could be wrong. The new idea is (based on In that regard, pinpointing where known copies of these bits really are is better done with snapshot-local props (where available) than with a value du-jour inherited from live dataset. As for auto-cleaning - did you debug suspected flaws? I don't see logs, analysis, PRs... |
Ran a few experiments with
Note here the last two lines, with The snapshot dataset does have some properties inherited from the live dataset by default, as well as these two local to it:
So at least we have a data point on what happens in practice, when, and sort of why. I am not ready to elaborate on how/why this "messes up clean-up" - that indeed may be a bug of its own, probably can be tracked here and relevant part of debug log is likely welcome. As a quick workaround I might suggest defining remote destinations in Anyhow we can not pass ALL of those in a simple CC @oetiker : WDYT? |
I was running znapzend for couple of years, but then i was forced to change ip adresses of the servers during migration. i think its not that uncommon usecase. But it seems in znapzend there is no easy way to do it without breaking stuff or completely reconfiguring (and resyncing all data). |
hmmm I was not aware that the properties set in the snapshot should have any bearings on anything ... |
Hello,
i have recently changed IP address of my DST_A, but for some reason, local snapshots already have
org.znapzend:dst_a
property copied localy, which really messed up my plan to simply switch to different ip address. I think this should be inherited, not set localy to each snapshot or dataset. Otherwise it causes problems when something changes regarding the DST configuration. eg. the snapshots were kept indefinitely. that is despite using--cleanOffline
, which might be bug on its own.What do you think about this? is this a bug? how am is supposed to change dst_a without breaking things?
The text was updated successfully, but these errors were encountered: