`CacheRemoveAllOperation` doesn't send completed event in some cases #5865

Closed
serkan-ozal opened this Issue Aug 5, 2015 · 0 comments

Projects

None yet

1 participant

@serkan-ozal
Contributor

CacheRemoveAllOperation doesn't send completed event

  • If CacheRecordStore for that partition is not created yet
  • If the filtered keys are empty (that partition is not owner of the any key to be removed)

The solution is sending completed event in these cases.

This failure can be reproduced by getting cache from the second node instead of first node in BasicCacheTest::testCompletionTest. I have tried the fix idea above on my local and it worked.

@serkan-ozal serkan-ozal self-assigned this Aug 5, 2015
@serkan-ozal serkan-ozal added this to the 3.6 milestone Aug 5, 2015
@serkan-ozal serkan-ozal added a commit to serkan-ozal/hazelcast that referenced this issue Aug 20, 2015
@serkan-ozal serkan-ozal Be sure that completion event is sent in all cases for `CacheRemoveAl…
…lOperation`. Fixes #5865
e7e119c
@serkan-ozal serkan-ozal added a commit to serkan-ozal/hazelcast that referenced this issue Aug 20, 2015
@serkan-ozal serkan-ozal Be sure that completion event is sent in all cases for `CacheRemoveAl…
…lOperation`. Fixes #5865
d3cbff0
@serkan-ozal serkan-ozal closed this in #6029 Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment