apache / apache/ignite

In ignite2.13.0, the number of cache hit times and the number of cache miss times are incorrectly calculated.

Open
#11,307 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.1k
Forks
1.9k
Avg merge
3d 2h
Merged PRs (30d)
46

Description

The number of cache hit times and the number of cache miss times are incorrectly calculated. We are using ignite version 2.13.0.
When I use two non-existent keys (A and B) and call getAll to query the cache, the number of misses for key A increases by 1, but the number of misses for key B does not increase by 1.
I suspect that only the local call misses metric is + 1, but the remote one is not. This doesn't feel reasonable. Can you help?
Here's how to intercept via arthas:
![1](https://github.com/apache/ignite/assets/43537920/13ec1254-a1ea-4564-b8b9-3461f05dd88c)
![2](https://github.com/apache/ignite/assets/43537920/288d8925-1a58-4613-8959-0141b5d7975e)
![3](https://github.com/apache/ignite/assets/43537920/586fc32d-dfb2-4877-9c8c-4cb47de2064d)
![4](https://github.com/apache/ignite/assets/43537920/aaa870b7-8652-4898-8a00-bb1907584460)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported getAll call with two nonexistent keys on Ignite 2.13.0 and compare local and remote hit/miss metrics, using the Arthas interception shown in the issue. Done means the miss count increases correctly for both keys and the corresponding hit/miss metrics are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.