From 0ab937bc0ed62e1e0ab827a449dcf15db4ad24c0 Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Fri, 19 Jul 2024 12:20:40 +0200 Subject: [PATCH 1/2] Do not search in entities collection with strict mode --- lib/models/entitiesStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/entitiesStore.js b/lib/models/entitiesStore.js index 423fcf86..2e0ef42a 100644 --- a/lib/models/entitiesStore.js +++ b/lib/models/entitiesStore.js @@ -151,7 +151,7 @@ function findSilentEntitiesByMongo(service, subservice, ruleData, alterFunc, cal async.waterfall( [ - db.collection.bind(db, entitiesCollectionName, { strict: true }), + db.collection.bind(db, entitiesCollectionName, { strict: false }), function(col, cb) { col.find(criterion) .batchSize(config.orionDb.batchSize) From aef02fe5be53966ab340864df8ebb0d93d58908d Mon Sep 17 00:00:00 2001 From: Alvaro Vega Date: Fri, 19 Jul 2024 12:33:20 +0200 Subject: [PATCH 2/2] Update CHANGES_NEXT_RELEASE --- CHANGES_NEXT_RELEASE | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index a1191de3..4b7bb0fb 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1 +1,2 @@ +- Fix: Do not search in entities collection with strict mode by non_signal checker (#793) - Fix: do not invoke calback twice when error about trust not found in trustConf (#790)