You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The information about Scylla tasks (e.g. backup and restore) is stored on Scylla node for a limited amount of time after they are finished.
Querying status of a task which finished over TTL seconds ago results in an error.
For restore:
We are unlucky if we loose a successful task progress, as we would basically need to re-restore the whole batch from scratch.
The current Scylla implementation is that the internal tasks and user tasks have different TTL values. Note that setting TTL value means that all tasks started after the change will use the set value, but it's not possible to set per task TTL value directly.
Tasks scheduled by SM are qualified as regular user tasks - the default value for their TTL is 1h.
SM should always set the TTL value even when it's 1h - we can't be sure that the value hasn't been changed from the default.
The information about Scylla tasks (e.g. backup and restore) is stored on Scylla node for a limited amount of time after they are finished.
Querying status of a task which finished over TTL seconds ago results in an error.
For backup:
It's kind of fine if we loose a successful task progress, as we can always start a new one and since SSTables are being removed from the snapshot dir as they are being uploaded, we don't perform any redundant work (although we need to worry about progress calculation).
For restore:
We are unlucky if we loose a successful task progress, as we would basically need to re-restore the whole batch from scratch.
The current Scylla implementation is that the internal tasks and user tasks have different TTL values. Note that setting TTL value means that all tasks started after the change will use the set value, but it's not possible to set per task TTL value directly.
Tasks scheduled by SM are qualified as regular user tasks - the default value for their TTL is 1h.
SM should always set the TTL value even when it's 1h - we can't be sure that the value hasn't been changed from the default.
The question are:
cc: @karol-kokoszka @VAveryanov8 @regevran
The text was updated successfully, but these errors were encountered: