sashapolo commented on code in PR #3488:
URL: https://github.com/apache/ignite-3/pull/3488#discussion_r1540643031
##########
modules/storage-rocksdb/src/main/java/org/apache/ignite/internal/storage/rocksdb/RocksDbStorageEngine.java:
##########
@@ -177,34 +198,23 @@ public RocksDbTableStorage createMvTable(
StorageTableDescriptor tableDescriptor,
StorageIndexDescriptorSupplier indexDescriptorSupplier
) throws StorageException {
- RocksDbDataRegion dataRegion =
regions.get(tableDescriptor.getDataRegion());
+ String regionName = tableDescriptor.getDataRegion();
- int tableId = tableDescriptor.getId();
+ RocksDbStorage storage = storageByRegionName.get(regionName);
- assert dataRegion != null : "tableId=" + tableId + ", dataRegion=" +
tableDescriptor.getDataRegion();
+ assert storage != null : "No instances exist for region " + regionName;
Review Comment:
Fixed
--
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]