Tristan Tarrant created ISPN-8189:
-------------------------------------
Summary: SizeCommand unnecessarily unmarshalls keys to count
Key: ISPN-8189
URL:
https://issues.jboss.org/browse/ISPN-8189
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 9.1.0.Final
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 9.1.1.Final
The SizeCommand uses cache.keySet().stream().count() to count keys, but if the cache is
using binary storage, this unmarshalls each key.
Using the identityencoder allows us to make this operation much cheaper.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)