Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-4557

The read http-upgrade-enabled attribute operation acquires the write lock unnecessarily

    XMLWordPrintable

Details

    Description

      When we are reading the http-upgrade-enabled, the model is read acquiring the write lock. That could make the operation block until the write lock is released by any other underlying operation that previously has acquired it.

      The read handler only reads the value and put it in the response, so taking the write lock here is unnecessary.

      This issue affects the ongoing work in WFCORE-4283, there, we could have servers starting with the write lock taken, so it negatively affects to any reading of this attribute.

      Attachments

        Issue Links

          Activity

            People

              yborgess1@redhat.com Yeray Borges Santana
              yborgess1@redhat.com Yeray Borges Santana
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: