Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swift backup service checks version during restore
Modified swift backup service to check metadata version during restore and raise an error if the backup version isn't a version that the service knows how to handle. The versions which can be handled are described in a dictionary mapping versions to methods which can handle them. This will facilitate graceful handling of newer backup formats by the swift backup service when we introduce changes. Fixes bug: 1136174 Change-Id: Id7d05848fd448ce21f641e5cd6945477702cbe38
- Loading branch information
Stephen Mulcahy
committed
Mar 4, 2013
1 parent
f211c15
commit 15962a4
Showing
3 changed files
with
49 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters