Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats are not updated when IMap.delete is called from the client #14471

Closed
alparslanavci opened this issue Feb 11, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@alparslanavci
Copy link

commented Feb 11, 2019

When IMap.delete is called from the client, the map statistics are not updated as they do with IMap.remove call. See the following test which fails:

@Test
public void testStatsAfterDeleteFromClient(){
    String name = "testMap";
    IMap<Object, Object> map = client.getMap(name);

    map.delete(1);

    assertEquals(1, hazelcastInstance.getMap(name)
            .getLocalMapStats().getRemoveOperationCount());
}

@sancar sancar added this to the 3.11.3 milestone Feb 11, 2019

@sancar sancar self-assigned this Feb 21, 2019

sancar added a commit to sancar/hazelcast that referenced this issue Feb 21, 2019

sancar added a commit to sancar/hazelcast that referenced this issue Feb 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.