Uploaded image for project: 'Gazelle Test Management'
  1. Gazelle Test Management
  2. GZL-4416

Make sure access to partner statistics will never be blocked

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Gazelle TM 5.4.6
    • Fix Version/s: Gazelle TM 5.5.3
    • Component/s: None
    • Labels:
      None
    • Account:
      VENICE 2017 (VENICE2017)

      Description

      see GZL-4407 for details

      During connectathon in Cleveland, it seems that the read access to the statistics map for partners was blocked causes the statistics not to be displayed. We need to make sure that it can never happen again.

      Partner statistics are cached in a Hashmap which is static and synchronized (see PartnersStatisticsBuilder). That means that each time the background job accesses it, the data are lock for reading by other threads. A new run of the job is launched every 30s.

      See: ConcurrentMap http://www.pixelstech.net/article/1394026282-ConcurrentHashMap-vs-Collections-synchronizedMap()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gthomazon Guillaume Thomazon
                Reporter:
                aberge Anne-Gaelle Berge
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours Time Not Required
                  2h

                    Potential Duplicates