Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-3643

Disable locking during deployment

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • None
    • None

      During import of tosca types a locking is performed to prevent oncurrent conflicting requests.

       
      The locking involves creating a node of type "lockNode" in the janusgraph (java class GraphNodeLock). There are three locks created and subsequently released during the create of each node type - one based on the name of the type and two with the uid. The creation of each lock takes ~ 0.5 s and another 0.5 s for each release.
      While locking is important where concurrent conflicting requests are possible, in a deployment scenario where the requests are controlled the locking adds unnecessary overhead to the deployment time.

      This story proposes to introduce support for disabling the locking feature during the deployment to improve deployment time

            davsad davsad
            davsad davsad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: