sk0x50 commented on code in PR #5774:
URL: https://github.com/apache/ignite-3/pull/5774#discussion_r2084014119
##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/TableManager.java:
##########
@@ -428,7 +431,10 @@ public class TableManager implements IgniteTablesInternal,
IgniteComponent {
private final CompletableFuture<Void> readyToProcessReplicaStarts = new
CompletableFuture<>();
- private final Map<Integer, Set<TableImpl>> tablesPerZone = new
ConcurrentHashMap<>();
+ /** Mapping zone identifier to a collection of tables related to the zone.
*/
+ private final Map<Integer, Set<TableImpl>> tablesPerZone = new HashMap<>();
+ /** Locks to synchronize an access to the {@link #tablesPerZone}. */
+ private final Map<Integer, StampedLock> tablesPerZoneLocks = new
ConcurrentHashMap<>();
Review Comment:
Added a comment with a link to the corresponding ticket.
https://issues.apache.org/jira/browse/IGNITE-25347
--
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]