Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18727

ATTRIBUTE granularity distributed sessions should always replicate on setAttribute(...)

    XMLWordPrintable

Details

    Description

      A web application can leverage "immutable" session attributes for one of two purposes:

      1. For genuine immutable attributes, to avoid an implicit write following an explicit read
      2. For mutable attributes to be treated as immutable, replacing implicit writes on every request with explicit writes only when needed

      WFLY-18572 mistakenly skipped writes if the object reference passed to setAttribute(...) is the same as the existing attribute. This precludes #2 above.

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: