-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
14.0.0.Final
-
None
Remove hits/misses does not seem to report what they are meant to according to description in the Console. Upon freshly created 3 nodes cluster and executing 3 put operations followed up by 3 removals all reported as successful, console reports 1 remove hit and two misses. Expected would be 3 removal hits and none missed.
Console description:
- Remove hits displays the number of successful requests to delete cache entries.
- Remove misses displays the number of times that a client attempted to delete an entry that was not in the cache.
Cache config:
{
"default": {
"distributed-cache": {
"owners": "3",
"mode": "SYNC",
"statistics": true,
"memory": {
"storage": "OFF_HEAP",
"max-size": "96468992",
"when-full": "REMOVE"
},
"partition-handling": {
"when-split": "ALLOW_READ_WRITES",
"merge-policy": "REMOVE_ALL"
}
}
}
}
Rest requests:
$ curl -i -k -X PUT -u developer:Uu9YAViJLqMkoMuA -d "val1" https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key1 HTTP/2 204 etag: -1296900333 $ curl -i -k -X PUT -u developer:Uu9YAViJLqMkoMuA -d "val2" https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key2 HTTP/2 204 etag: 2024505566 $ curl -i -k -X PUT -u developer:Uu9YAViJLqMkoMuA -d "val3" https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key3 HTTP/2 204 etag: 2005855882 $ curl -i -k -X DELETE -u developer:Uu9YAViJLqMkoMuA https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key1 HTTP/2 204 $ curl -i -k -X DELETE -u developer:Uu9YAViJLqMkoMuA https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key2 HTTP/2 204 $ curl -i -k -X DELETE -u developer:Uu9YAViJLqMkoMuA https://cache-service-external-datagrid.apps.paris.rhdg-qe.rhocf-dev.net/rest/v2/caches/default/key3 HTTP/2 204