We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong insertion policy at MongoSink at
fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMongoSink.java
Line 246 in 24e235b
backend.createDatabase(dbName); backend.createCollection(dbName, collectionName, collectionsSize, maxDocuments, dataExpiration); backend.insertContextDataRaw(dbName, collectionName, aggregation); } catch (Exception e) { throw new CygnusPersistenceError("-, " + e.getMessage()); } // try catch
Seems we are "creating" DataBase and Collection on every agg insertion. Weird.
Try to insert and then create a DataBase and Collection in case of error seems more accurate.
The text was updated successfully, but these errors were encountered:
Fixed by PR #2031
Sorry, something went wrong.
No branches or pull requests
Wrong insertion policy at MongoSink at
fiware-cygnus/cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMongoSink.java
Line 246 in 24e235b
Seems we are "creating" DataBase and Collection on every agg insertion. Weird.
Try to insert and then create a DataBase and Collection in case of error seems more accurate.
The text was updated successfully, but these errors were encountered: