Skip to content

IGNITE-18021 Creating an API for full rebalance without losing user data in MvPartitionStorage on receiver#1286

Merged
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-18021
Nov 2, 2022
Merged

IGNITE-18021 Creating an API for full rebalance without losing user data in MvPartitionStorage on receiver#1286
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-18021

Conversation

@tkalkirill
Copy link
Contributor


@Override
public void destroyPartition(int partitionId) throws StorageException {
Integer boxedPartitionId = partitionId;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you change this code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is boxing for?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would say it was a small (maybe useless optimization), but nevertheless, this change is not related to the PR and does not improve the code much

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a test code, such optimization is not needed, and it does not look very nice.


@Override
public void destroyPartition(int partitionId) throws StorageException {
Integer boxedPartitionId = partitionId;
Copy link
Contributor

Choose a reason for hiding this comment

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

I would say it was a small (maybe useless optimization), but nevertheless, this change is not related to the PR and does not improve the code much

@tkalkirill tkalkirill merged commit a6b8a6d into apache:main Nov 2, 2022
@tkalkirill tkalkirill deleted the ignite-18021 branch November 2, 2022 08:02
ivgag pushed a commit to unisonteam/ignite-3 that referenced this pull request Nov 4, 2022
lowka pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Mar 18, 2023
lowka pushed a commit to gridgain/apache-ignite-3 that referenced this pull request Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants