Description
When the server handles a high volume of requests, during the garbage collection (GC) process, it logs incorrect license usage.
Sample Test Scenario
- Number of Threads: 20
- Ramp-Up Period: 1 second
- Number of Reservations: More than 5000
- GC Trigger: Should trigger when there are around 5000 reservations or more.
- Note: The load should continue during the GC process.
Issue
- The server logs negative values for license usage during high load scenarios.
Suspected Cause
- It appears that the server does not reject or queue requests while performing GC. As a result, multiple reservation requests may attempt to trigger GC simultaneously, leading to incorrect license usage logging.