Open kushankurdas opened 3 months ago
I checked and it is because the max dbs was hard coded to 100.
We will get that fixed so it honors the dbms.max_databases in both 4.x and 5.x versions.
Here is the issue in the MultiDatabaseManager class. The next push will allow for the configuration option to be set.
private void checkDatabaseLimit(NamedDatabaseId namedDatabaseId) {
// TODO: Get the actual count from the Graph configuration.
if (databaseRepository.registeredDatabases().size() >= 100) {
throw new DatabaseManagementException(
"Could not create gdb: " + namedDatabaseId.name() + " because you have exceeded the limit of 100.");
}
}
We need to enforce a minimum of 2 for the default and system database. So any option > 2 will be acceptable for the first version.
Awesome, Let me know if there are ways to contribute to this project, since I am also experimenting with this
We updated the 5.x version and will update the 4.x version next.
I am running 4.4 versions and able to create upto 100 database but beyond that it throws error I tried modifying dbms.max_databases to 1000 but its not reflecting
I am planning to use this project in production hence looking for a immediate solution