Home Dashboard Directory Help
Search

RESTORE HEADERLISTONLY and FILELISTONLY do not remove leases when using FROM URL by Greg Low - Australia


Status: 

Active


13
0
Sign in
to vote
Type: Bug
ID: 869995
Opened: 5/9/2014 12:01:44 AM
Access Restriction: Public
0
Workaround(s)
view
1
User(s) can reproduce this bug

Description

When the RESTORE DATABASE .... FROM URL command is used, it creates an infinite lease on the file in Azure storage and removes the lease when it completes.

The HEADERLISTONLY and FILELISTONLY versions of RESTORE create the lease but do not release it again.
Details
Sign in to post a comment.
Posted by Microsoft on 5/15/2014 at 10:09 AM
Thank you for the feedback. We have identified the problem being a race condition in code. We are working on a fix to be published in later CU.

Since it is a race, running the same command again could get the lease released. That lease won't prevent a data restore command from running and that will actually get the lease released upon finish.

Thanks
Sign in to post a workaround.