tkalkirill commented on code in PR #2456:
URL: https://github.com/apache/ignite-3/pull/2456#discussion_r1296742835
##########
modules/storage-api/src/main/java/org/apache/ignite/internal/storage/DataStorageManager.java:
##########
@@ -91,28 +67,10 @@ public void stop() throws Exception {
return engines.get(name);
}
- /**
- * Returns a consumer that will set the default {@link
DistributionZoneConfiguration#dataStorage table data storage}
- * depending on the {@link StorageEngine engine}.
- *
- * @param defaultDataStorageView View of {@link
DistributionZonesConfiguration#defaultDataStorage}.
- */
- public Consumer<DataStorageChange> defaultZoneDataStorageConsumer(String
defaultDataStorageView) {
- return zoneDataStorageChange -> {
- assert engines.containsKey(defaultDataStorageView)
- : "Default Storage Engine \"" + defaultDataStorageView +
"\" is missing from configuration";
-
- zoneDataStorageChange.convert(defaultDataStorageView);
- };
- }
-
- /**
- * Returns the default data storage.
- *
- * <p>{@link DistributionZonesConfiguration#defaultDataStorage} is used.
- */
- public String defaultDataStorage() {
- return defaultDataStorageConfig.value();
+ /** Returns the default data storage. */
+ // TODO: IGNITE-20237 Make it configurable
+ public static String defaultDataStorage() {
+ return "aipersist";
Review Comment:
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]