JakeChampion opened a new pull request, #14141: URL: https://github.com/apache/trafficserver/pull/14141
A transaction gets its `ConnectionTracker::Group` from the table and then calls `reserve()`. `Group::release()` on a different thread can erase the group between those two steps. The next transaction then makes a second group for the same origin, so `per_server.connection.max` and the metrics count the origin in two parts. When the first group goes to zero, it also erases the second group from the table by key. `Group::release()` now erases only its own table entry, and only when no `TxnState` holds the group. The new unit test fails without the fix. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
