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

ISPN-15299 PutAll during rebalance can get a ClassCastException #11467

Closed
wants to merge 1 commit into from

Conversation

wburns
Copy link
Member

@wburns wburns commented Nov 7, 2023

@wburns wburns added the 14.0.x Annotate a PR with this label if you want it to be backported to the 14.0.x branch label Nov 7, 2023
currentStage = entryFactory.wrapEntryForWriting(ctx, key, keyPartitioner.getSegment(key),
ignoreOwnership || canReadKey(key), command.loadType() != VisitableCommand.LoadType.DONT_LOAD, currentStage);
currentStage = entryFactory.wrapEntryForWriting(ctx, key, segment,
ignoreOwnership || canReadSegment(segment) || needsWriteKeyForSegment(segment), command.loadType() != VisitableCommand.LoadType.DONT_LOAD, currentStage);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the actual fix as we now always wrap the entry in the context as an MVCCEntry which is required by the CallInterceptor for the PutAllCommand.

@pruivo
Copy link
Member

pruivo commented Nov 8, 2023

superseded by #11469

@pruivo pruivo closed this Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.0.x Annotate a PR with this label if you want it to be backported to the 14.0.x branch
Projects
None yet
2 participants