EHC ❯ Statistics Variables Need to be Longs
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
After a couple of days of stress we can overrun the hitCount variable. I changed these variables to longs. Sourceforge Ticket ID: 1588796 - Opened By: tonyvoss - 1 Nov 2006 18:53 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
Tony
You are the first to report this. You must be hammering those caches. We run it in production for weeks and do not see it.
I have changed the internal storage to long. To preserve backward compatibility I have deprecated the direct getters on cache and added a warning that the values can overflow. The Statistics class has also been changed to longs and you can get longs from there. That should work better for existing users as Statistics is a new class and I suspect less people are using it.
Let me know if this does not work for you.
Greg Comment by: gregluck - 13 Nov 2006 08:44 UTC