Comment 5 for bug 1705442

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/487694
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=35ae6fb90380a8e9db936827a4414cb249ef399b
Submitter: Jenkins
Branch: master

commit 35ae6fb90380a8e9db936827a4414cb249ef399b
Author: Vivek Soni <email address hidden>
Date: Wed Jul 26 22:09:17 2017 -0700

    Handle concurrent volume creation request

    Cinder passes same 'image_id', from which the
    lock_name is created. This 'lock_name' is used
    by 'tooz.locking' to acquire the lock.

    In this flow, based on 'lock_name' it creates the
    'key' and stored in 'etcd'. etcd3gw client does
    not allow to modify the same key several times
    within one transactionn. so to aviod this, pass
    unique 'lock_name' which in turn creates unique
    key.

    Change-Id: Ib78ba6aa1fcc488aa2ab7db25a37021f206519dd
    Closes-Bug: #1705442