You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static Map<String, ShardingSphereDatabase> create(final Map<String, DatabaseConfiguration> databaseConfigMap,
final ConfigurationProperties props, final ComputeNodeInstanceContext computeNodeInstanceContext) throws SQLException {
DatabaseType protocolType = DatabaseTypeEngine.getProtocolType(databaseConfigMap, props);
SystemDatabase systemDatabase = new SystemDatabase(protocolType);
Map<String, ShardingSphereDatabase> result = new ConcurrentHashMap<>(databaseConfigMap.size() + systemDatabase.getSystemDatabaseSchemaMap().size(), 1F);
result.putAll(createGenericDatabases(databaseConfigMap, protocolType, systemDatabase, props, computeNodeInstanceContext));
result.putAll(createSystemDatabases(databaseConfigMap, protocolType, systemDatabase, props));
return result;
}
The variable “databaseConfigMap” contains multiple logical databases of different types (specifically, Kingbase and MySQL logical databases), but the method "DatabaseTypeEngine.getProtocolType()" only accommodates one database type (MySQL).
The text was updated successfully, but these errors were encountered:
see zhe following code:
The variable “databaseConfigMap” contains multiple logical databases of different types (specifically, Kingbase and MySQL logical databases), but the method "DatabaseTypeEngine.getProtocolType()" only accommodates one database type (MySQL).
The text was updated successfully, but these errors were encountered: