JAkutenshi commented on code in PR #5300: URL: https://github.com/apache/ignite-3/pull/5300#discussion_r1976483973
########## modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java: ########## @@ -1936,6 +1950,13 @@ private CompletableFuture<Void> destroyTableLocally(int tableId) { for (int partitionId = 0; partitionId < partitions; partitionId++) { var replicationGroupId = new TablePartitionId(tableId, partitionId); + if (enabledColocation()) { + partitionReplicaLifecycleManager.unloadTableResourcesFromZoneReplica( + new ZonePartitionId(internalTable.zoneId(), replicationGroupId.partitionId()), Review Comment: Done ########## modules/partition-replicator/src/main/java/org/apache/ignite/internal/partition/replicator/PartitionReplicaLifecycleManager.java: ########## @@ -1428,6 +1453,27 @@ public void loadTableListenerToZoneReplica( resources.snapshotStorageFactory().addMvPartition(tablePartitionId.tableId(), partitionMvStorageAccess); } + /** + * Load a new table partition listener to the zone replica. + * + * @param zonePartitionId Zone partition id. + * @param tablePartitionId Table partition id. + */ + public void unloadTableResourcesFromZoneReplica( + ZonePartitionId zonePartitionId, + TablePartitionId tablePartitionId Review Comment: Done -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org