[sheepdog-users] vdi snapshot tag not unique

Liu Yuan namei.unix at gmail.com
Fri Nov 29 07:55:22 CET 2013


On Wed, Nov 27, 2013 at 11:44:53AM +0100, Valerio Pachera wrote:
> Hi, I noticed that it's possible to create more snapshots with the same tag
> 
> dog vdi snapshot -s test myvdi
> dog vdi snapshot -s test myvdi
> dog vdi snapshot -s test myvdi
> 
> Then I'll get 3 snapshots with different id but same tag.
> 
> I thought that a tag was another way to refer to a snapshot by a unique
> name.
> 
> Shouldn't it be like that?

Yes. We should not allow the tag with the duplicated name. But iterate the tag
name in the snapshot chain list is time consuming. So we don't check the tag
name (yet). But this is a tradeoff between fast creation & spend considerable
time on name check, might be further discussed.

Thanks
Yuan



More information about the sheepdog-users mailing list