review fixes

add oom warning on index cache

more fixes
This commit is contained in:
Jonathan Shook
2024-10-30 18:10:43 -05:00
parent f6cbd5e42b
commit 9c53b4fa7c
14 changed files with 184 additions and 71 deletions

View File

@@ -57,7 +57,6 @@ public class MongoOpMapper<MC extends MongoDirectCommandOp> implements OpMapper<
if (connectionURL == null) {
throw new BasicError("Must provide a connection value for use by the MongoDB adapter.");
}
spaceCache.get(0).createMongoClient(connectionURL);
Optional<LongFunction<String>> oDatabaseF = op.getAsOptionalFunction("database");
if (oDatabaseF.isEmpty()) {