Skip to content
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

Fixed bug for incorrect volumeAZ in restoration #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

OliverShang
Copy link

Related to #48

Now volumeAZ is stored in tags.

@@ -166,6 +167,7 @@ func (b *VolumeSnapshotter) CreateSnapshot(volumeID, volumeAZ string, tags map[s
req := ecs.CreateCreateSnapshotRequest()
req.DiskId = volumeID

tags["volumeAZ"] = volumeInfo.ZoneId
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Snapshots are not necessarily restored in the same zone that where they were created. Snapshots themselves are regionalized.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there should be more thoughts. @AlbeeSo. any comments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants