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

Fixes IMap#replace not loading from MapLoader #14797

Merged

Conversation

mustafaiman
Copy link
Contributor

replace operation just overlooked MapLoader when given key is not present in-memory. Instead, it should try to load from MapLoader first.

fixes #11300

@vbekiaris vbekiaris self-requested a review April 5, 2019 13:34
Copy link
Collaborator

@vbekiaris vbekiaris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I think we should add the load interaction explicitly in IMap javadoc (just like we already mention the write part). Once that's done I'm fine to merge.

replace operation just overlooked MapLoader when given key is not present in-memory. Instead, it should try to load from MapLoader first.

fixes hazelcast#11300
@mustafaiman
Copy link
Contributor Author

@vbekiaris I added documentation to two replace methods in IMap. Can you check if those are good?

Copy link
Collaborator

@vbekiaris vbekiaris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @mustafaiman

@mustafaiman mustafaiman merged commit 166c5fc into hazelcast:master Apr 5, 2019
@mustafaiman mustafaiman deleted the fix/map-replace-maploader branch April 5, 2019 17:39
@mmedenjak mmedenjak modified the milestones: 3.13, 4.0 Apr 17, 2019
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DefaultRecordStore#replace methods should load from MapLoader when key not found in storage
4 participants