Skip to content

IGNITE-18027 Implementation of a full rebalance for RocksDbMvPartitionStorage on receiver#1530

Merged
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-18027
Jan 19, 2023
Merged

IGNITE-18027 Implementation of a full rebalance for RocksDbMvPartitionStorage on receiver#1530
tkalkirill merged 8 commits intoapache:mainfrom
gridgain:ignite-18027

Conversation

@tkalkirill
Copy link
Copy Markdown
Contributor

}

// Changed storage states and expect all storage operations to stop soon.
busyLock.block();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is it possible that a storage also gets stopped during a rebalance?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Documentation for org.apache.ignite.internal.storage.MvPartitionStorage#close says:
<p>REQUIRED: For background tasks for partition, such as rebalancing, to be completed by the time the method is called.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we should have an assertion here? Otherwise we will simply stall

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No need, because at the beginning we are trying to change the state of the storage on line 1474.

@tkalkirill tkalkirill merged commit 2cb222a into apache:main Jan 19, 2023
@tkalkirill tkalkirill deleted the ignite-18027 branch January 19, 2023 13:18
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
isapego pushed a commit to isapego/ignite-3 that referenced this pull request Dec 26, 2024
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