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
…ces for encrypted at rest universe
Summary:
backupUniverseKeyHistory gets called n times for n namespaces during a backup while the
original implementation assumed it would only be called once. This results in an exception being
thrown because it fails to create a file that already exists on subsequent calls to the function for the same backup. Long story short is that we should handle the
case that the file already exists and gracefully skip writing to the file.
Test Plan: Run a "all namespaces" YSQL backup
Reviewers: wesley, arnav, sb-yb, sanketh
Reviewed By: sanketh
Subscribers: jenkins-bot, yugaware
Differential Revision: https://phabricator.dev.yugabyte.com/D10554
…e ysql namespaces for encrypted at rest universe
Summary:
backupUniverseKeyHistory gets called n times for n namespaces during a backup while the
original implementation assumed it would only be called once. This results in an exception being
thrown because it fails to create a file that already exists on subsequent calls to the function for the same backup. Long story short is that we should handle the
case that the file already exists and gracefully skip writing to the file.
Test Plan: Run a "all namespaces" YSQL backup
Reviewers: sanketh
Reviewed By: sanketh
Differential Revision: https://phabricator.dev.yugabyte.com/D10574
… namespaces for encrypted at rest universe
Summary:
backupUniverseKeyHistory gets called n times for n namespaces during a backup while the
original implementation assumed it would only be called once. This results in an exception being
thrown because it fails to create a file that already exists on subsequent calls to the function for the same backup. Long story short is that we should handle the
case that the file already exists and gracefully skip writing to the file.
Test Plan: Run a "all namespaces" YSQL backup
Reviewers: wesley, arnav, sb-yb, sanketh
Reviewed By: sanketh
Subscribers: jenkins-bot, yugaware
Differential Revision: https://phabricator.dev.yugabyte.com/D10554
We try to create the encryption key file for each namespace and throw an exception if the file already exists.
Original assumption was that this function should only be called once per backup but looks like this was modified at a later date.
The text was updated successfully, but these errors were encountered: