tkalkirill commented on code in PR #1545:
URL: https://github.com/apache/ignite-3/pull/1545#discussion_r1073584019
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/AbstractPageMemoryTableStorage.java:
##########
@@ -82,16 +87,20 @@ public TablesConfiguration tablesConfiguration() {
@Override
public void start() throws StorageException {
- TableView tableView = tableCfg.value();
-
- mvPartitions = new AtomicReferenceArray<>(tableView.partitions());
+ inBusyLock(busyLock, () -> {
Review Comment:
Discussed in person.
##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/AbstractPageMemoryTableStorage.java:
##########
@@ -82,16 +87,20 @@ public TablesConfiguration tablesConfiguration() {
@Override
public void start() throws StorageException {
- TableView tableView = tableCfg.value();
-
- mvPartitions = new AtomicReferenceArray<>(tableView.partitions());
+ inBusyLock(busyLock, () -> {
Review Comment:
Discussed in person. Fix it.
--
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]