-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unnecessary data copy on index add #13965
Conversation
… need to fill it again with the same data
@mmedenjak @taburet Can you please add me to CloudBees or paste here what the error was? |
Hi @TomaszGaweda , these are the failed tests:
I've checked the first one and it seems to fail consistently. |
Can you also please follow the instructions to sign and send the Hazelcast Contributor Agreement? |
@mmedenjak Sure, I will sign it, my boss just wants to check this by lawyer to be sure :) One test is broken, I probably have fix and will commit shortly |
@TomaszGaweda the tests are failing because of the so called global indexes, which share their index definitions across partitions, so if a global index definition is present that doesn't mean a corresponding index is populated by all partitions. Apparently, to fix that we need to track a set of indexed partitions. Also, I have discovered another flaw in the distributed map proxies implementation: looks like we are rebuilding all indexes (configured using an xml config) when a new member joins a cluster even if there are no manual calls to If you don't mind, I will take over the issue and fix both problems. |
@taburet Sorry for the late response. It would be great if you can take over this issue, I'm not feeling I can easilly fix the second issue you've written. For the issue with tests, I've tried to add counter to Indexes class that checks if all partitions are migrated, seems to work, but I didn't have time to check it more than rerun test |
Superseded by #13984, closing. |
For the the situation when the index already exists, then there is no need to fill it again with the same data
Closes #13964