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
Multimap entry listener called twice #993
Comments
java.lang.AssertionError: |
@gurbuzali can you please look at this? |
a fix on the way, the one @tshipilov mentioned |
I'm sorry. I already deleted my comments about fix for 993, because it breaks multimap functionality since all Txn_Operation classes are not implementing BackupAwareOperation. For instance, after this fix other nodes will not be updated on add/remove. You should make Txn_Operation implement BackupAwareOperation. |
what makes you think other nodes will not be updated on add/remove ?
|
My other tests break after this change. Just debug it. In this cycle backupOpList become empty because all Txn*Operation are not instance of BackupAwareOperation:
|
As a quick and dirty workaround I commented afterRun() call in com.hazelcast.multimap.txn.TxnCommitBackupOperation#run().
It works, but I think it is better to make Txn*Operation implement BackupAwareOperation. |
Yes, you are correct, better to implement BackupAwareOperation. |
Thank you for quick resolution! Could you tell me when it is going to be available in official build? |
Test to reproduce the problem
The text was updated successfully, but these errors were encountered: