Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-4757

Improve toString() representation of web session cache keys (org.wildfly.clustering.infinispan.spi.distribution.Key subclasses)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Do
    • Minor
    • None
    • 7.0.0.GA
    • None
    • None

    Description

      It might be just my ignorance, but it seems kinda weird anyway

      • clusterbench-ee7.ear from 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:
        karm@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@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
        

      WDYT?

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              mbabacek1@redhat.com Michal Karm
              Michal Vinkler Michal Vinkler
              Michal Vinkler Michal Vinkler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: