Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-46178

Synchrony Status Cache doesn't work in cluster

    XMLWordPrintable

Details

    Description

      The SynchronyStatusCheckJob runs every 30 seconds but doesn't actually save anything to the cache. This is most-likely a bug in VCache to do with the Hazelcast cache. It works fine in non-DC instances.

      Because of this, Synchrony might be down but the big red banner will never display, since if there is nothing in the cache, we assume Synchrony is just up and everything is fine. That should only happen the first time the job runs. Every other time it will be populated with Synchrony's actual status.

      We should fix the VCache issue with Hazelcast. We shouldn't use a supplier in the get for the cache miss, because it will make all page loads slow since it is used by the SynchronyDownBannerDataProvider which determines if the banner should be displayed or not. That runs on every page, and we can't be waiting for a rest request there, even if it's only for Sysadmins. Additionally, it accesses the cache multiple times in the job itself.

      Attachments

        Activity

          People

            alyakovlev Alex Yakovlev (Inactive)
            alyakovlev Alex Yakovlev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: