Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-7196

don't commit active transaction until web response is committed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Detail
    • Resolution: Duplicate
    • Affects Version/s: 5.4.2
    • Fix Version/s: None
    • Component/s: None

      Description

      In NXP-5097 we've introduced a response wrapper that's committing the current transaction when it detects some information being transmitted to the client.
      In some cases, this makes the core session being used without active transaction.

      We want instead to put the information in a buffer that will be flushed when the transaction will be committed by the filter.
      The buffer will be implemented in memory and also on disk.
      The capacity of the in memory storage will be monitored and response buffers will goes on disk regarding the memory capacity limits configured (global and per request limits).

      First step, will be to experiment a new web filter for this. Once the new behaviors will be experimented, we will re-integrate them into the web request controller filter as a new option.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slacoin Stéphane Lacoin
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: