Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1936

Floating reservation may be incorrectly re-used if release on disconnect leeway is zero

    XMLWordPrintable

Details

    • All
    • 55ac0de8f (dev)
    • License server development 50, License server development 51
    • All

    Description

      When leeway is configured as zero, in theory a following sequence may happen with tight enough timing:

      • Client1 has previously made a process based floating reservation
      • Client1 disconnects
      • Client2 connects
      • Licenser handles Client1 disconnection, this emits an immediate leeway_expired event
      • Client2 connection is next event to be handled in the queue
        • allows re-usage of the Client1 reservation
      • leeway_expired is the next event in queue
        • skip release because Client2 is now connected to reservation

      The expected result when leeway is zero, is that no re-use of a process based floating reservation should occur.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            arttu.tarkiainen Arttu Tarkiainen
            arttu.tarkiainen Arttu Tarkiainen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes