tkalkirill commented on code in PR #1720:
URL: https://github.com/apache/ignite-3/pull/1720#discussion_r1122139579
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -2260,10 +2300,12 @@ protected void
handleChangeStableAssignmentEvent(WatchEvent evt) {
// TODO: IGNITE-18703 Destroy raft log and meta
// Should be done fairly quickly.
- allOf(
- internalTable.storage().destroyPartition(partitionId),
- runAsync(() ->
internalTable.txStateStorage().destroyTxStateStorage(partitionId), ioExecutor)
- ).join();
+ mvGc.removeStorage(tablePartitionId)
+ .thenCompose(unused -> allOf(
+
internalTable.storage().destroyPartition(partitionId),
Review Comment:
Of course, in a brave new future!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]