[infinispan-issues] [JBoss JIRA] (ISPN-6737) 1 new web session creates 3 records in the corresponding war cache
Radoslav Husar (JIRA)
issues at jboss.org
Thu Jun 16 18:06:00 EDT 2016
[ https://issues.jboss.org/browse/ISPN-6737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar closed ISPN-6737.
--------------------------------
Resolution: Rejected
What is printed out is controlled via java.lang.Object#toString thus the objects are not equal even if they have the same toString.
> 1 new web session creates 3 records in the corresponding war cache
> -------------------------------------------------------------------
>
> Key: ISPN-6737
> URL: https://issues.jboss.org/browse/ISPN-6737
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 8.1.2.Final
> Reporter: Michal Karm Babacek
> Assignee: Radoslav Husar
> Attachments: clusterbench-ee7.ear
>
>
> It might be just my ignorance, but it seems kinda weird anyway :)
> * [^clusterbench-ee7.ear] from [web-cache-investigator|https://github.com/Karm/clusterbench/tree/web-cache-investigator] branch
> * 1 server, no balancer, trivial standalone-ha startup
> * result is way too many records in the cache for a single session id:
> {noformat}
> karm at localhost:~/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin$ curl -c cookie.txt -b cookie.txt http://127.0.0.1:8080/clusterbench/debug
> Serial: 22
> Session ID: Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-
> Current time: Tue May 31 11:25:25 CEST 2016
> ServletRequest.getServerPort(): 8080
> ServletRequest.getLocalPort(): 8080
> Node name: localhost
> Members: [localhost]
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-passivating.war, Size: 0
> Keys: []
> Cache: routing, Size: 1
> Keys: [localhost]
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-granular.war, Size: 0
> Keys: []
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-default.war, Size: 3
> Keys: [Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-, Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-, Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-]
> Cache: dist, Size: 0
> Keys: []
> Physical addresses: 127.0.0.1:55200;
> karm at localhost:~/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin$ cat cookie.txt
> # Netscape HTTP Cookie File
> # http://curl.haxx.se/docs/http-cookies.html
> # This file was generated by libcurl! Edit at your own risk.
> 127.0.0.1 FALSE /clusterbench FALSE 0 JSESSIONID Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-.localhost
> {noformat}
> WDYT?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the infinispan-issues
mailing list