Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24646

notification cache can be repopulated with an outdated result after its invalidation

    XMLWordPrintable

Details

    • Unknown

    Description

      The regression is caused by XWIKI-16244.

      Reproduction steps

      The reproduction steps are flaky since it is a race condition issue, but the problem surfaces in the form of flickering test (e.g., XWIKI-18257).

      The notification query must overlap with storage of an event corresponding to the query.

      Expected

      Even are returned soon after they are saved.

      Actual

      Under the race condition, an event can stay unavailable for 24h (lifespan of the cache), unless the cache is cleared by receiving another event.

       

      Attachments

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              mleduc Manuel Leduc
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: