[ 
https://issues.apache.org/jira/browse/IGNITE-11738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dmitriy Govorukhin reassigned IGNITE-11738:
-------------------------------------------

    Assignee: Dmitriy Govorukhin

> Incorrect check  ObjectInput.available() in CacheMetricsSnapshot
> ----------------------------------------------------------------
>
>                 Key: IGNITE-11738
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11738
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Dmitriy Govorukhin
>            Assignee: Dmitriy Govorukhin
>            Priority: Major
>             Fix For: 2.8
>
>
> {code}
>  // 11 long and 5 float values give 108 bytes in total.
>         if (in.available() >= 108) {
>             entryProcessorPuts = in.readLong();
>             entryProcessorAverageInvocationTime = in.readFloat();
>             entryProcessorInvocations = in.readLong();
>             entryProcessorMaxInvocationTime = in.readFloat();
>             entryProcessorMinInvocationTime = in.readFloat();
>             entryProcessorReadOnlyInvocations = in.readLong();
>             entryProcessorHitPercentage = in.readFloat();
>             entryProcessorHits = in.readLong();
>             entryProcessorMisses = in.readLong();
>             entryProcessorMissPercentage = in.readFloat();
>             entryProcessorRemovals = in.readLong();
>         }
> {code}
> Here we have 6 long variables but not an 11.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to