Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Entry not removed from backup store when deleted using entry processor #1687
When deleting an entry from an entry processor, by setting the value to null, it isn't removed from the backup store. As a consequence, any following entry operation with a predicate will throw an IllegalArgumentException when creating the QueryEntry since the value is null.
This issue was found on 3.2 with two or more nodes in the cluster.
Without being too familiar with the code, the following change seems to fix the issue:
Below is the exception that is thrown the next time an entry processor is executed.
! java.lang.IllegalArgumentException: value cannot be null
Here is a reproducer: https://github.com/torkeld/hazelcast-issue-reproducer