From 0849caafae34c235901febc432fa6ee6ecb64af5 Mon Sep 17 00:00:00 2001 From: David Benedeki Date: Thu, 26 Oct 2023 16:51:44 +0200 Subject: [PATCH 1/3] Version increase --- dao/pom.xml | 2 +- data-model/pom.xml | 2 +- examples/pom.xml | 2 +- menas/pom.xml | 2 +- migrations-cli/pom.xml | 2 +- migrations/pom.xml | 2 +- plugins-api/pom.xml | 2 +- plugins-builtin/pom.xml | 2 +- pom.xml | 2 +- spark-jobs/pom.xml | 2 +- utils/pom.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dao/pom.xml b/dao/pom.xml index 06f3d3ae3..0e2e214e2 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/data-model/pom.xml b/data-model/pom.xml index e87466665..cb779622d 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -24,7 +24,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/examples/pom.xml b/examples/pom.xml index bc29eceb7..aea714a98 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/menas/pom.xml b/menas/pom.xml index 1e6a8e0c5..191b481be 100644 --- a/menas/pom.xml +++ b/menas/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/migrations-cli/pom.xml b/migrations-cli/pom.xml index ffa4b255b..7412231fd 100644 --- a/migrations-cli/pom.xml +++ b/migrations-cli/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/migrations/pom.xml b/migrations/pom.xml index ddbceb7fb..2e70f4f3b 100644 --- a/migrations/pom.xml +++ b/migrations/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/plugins-api/pom.xml b/plugins-api/pom.xml index b8561b843..12af8e01e 100644 --- a/plugins-api/pom.xml +++ b/plugins-api/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/plugins-builtin/pom.xml b/plugins-builtin/pom.xml index 079606939..924bb4e25 100644 --- a/plugins-builtin/pom.xml +++ b/plugins-builtin/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/pom.xml b/pom.xml index ad47c4179..78ab5695c 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 4.0.0 za.co.absa.enceladus parent - 2.27.1 + 2.27.2 pom Enceladus diff --git a/spark-jobs/pom.xml b/spark-jobs/pom.xml index 17e350e9e..522cf2f7e 100644 --- a/spark-jobs/pom.xml +++ b/spark-jobs/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 diff --git a/utils/pom.xml b/utils/pom.xml index bce9fc24d..735bfe6d5 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.1 + 2.27.2 From e98ee00f6a5c2f242e9ef9bb1415aad2ce9537ee Mon Sep 17 00:00:00 2001 From: David Benedeki Date: Mon, 13 Nov 2023 14:00:41 +0100 Subject: [PATCH 2/3] #2199: Counting runs count takes too much MongoDB CPU * replaced DB-intensive `documentCount` for `estimatedDocumentCount` --- .../co/absa/enceladus/menas/repositories/MongoRepository.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menas/src/main/scala/za/co/absa/enceladus/menas/repositories/MongoRepository.scala b/menas/src/main/scala/za/co/absa/enceladus/menas/repositories/MongoRepository.scala index 5d4aaeb7c..3aea034be 100644 --- a/menas/src/main/scala/za/co/absa/enceladus/menas/repositories/MongoRepository.scala +++ b/menas/src/main/scala/za/co/absa/enceladus/menas/repositories/MongoRepository.scala @@ -48,7 +48,7 @@ abstract class MongoRepository[C](mongoDb: MongoDatabase)(implicit ct: ClassTag[ } def count(): Future[Long] = { - collection.countDocuments().toFuture() + collection.estimatedDocumentCount().toFuture() } private[repositories] def getNameFilter(name: String): Bson = { From a3348787f47f6e7a99fc83f1c2f83e33bf6b9e9f Mon Sep 17 00:00:00 2001 From: David Benedeki Date: Thu, 21 Dec 2023 16:56:26 +0100 Subject: [PATCH 3/3] * Version fix --- dao/pom.xml | 2 +- data-model/pom.xml | 2 +- examples/pom.xml | 2 +- menas/pom.xml | 2 +- migrations-cli/pom.xml | 2 +- migrations/pom.xml | 2 +- plugins-api/pom.xml | 2 +- plugins-builtin/pom.xml | 2 +- pom.xml | 2 +- spark-jobs/pom.xml | 2 +- utils/pom.xml | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dao/pom.xml b/dao/pom.xml index 0e2e214e2..66c9b1322 100644 --- a/dao/pom.xml +++ b/dao/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/data-model/pom.xml b/data-model/pom.xml index cb779622d..45b26fe15 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -24,7 +24,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/examples/pom.xml b/examples/pom.xml index aea714a98..40897e680 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/menas/pom.xml b/menas/pom.xml index 191b481be..61583e713 100644 --- a/menas/pom.xml +++ b/menas/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/migrations-cli/pom.xml b/migrations-cli/pom.xml index 7412231fd..3f398e3ca 100644 --- a/migrations-cli/pom.xml +++ b/migrations-cli/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/migrations/pom.xml b/migrations/pom.xml index 2e70f4f3b..b4793a897 100644 --- a/migrations/pom.xml +++ b/migrations/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/plugins-api/pom.xml b/plugins-api/pom.xml index 12af8e01e..0261f530e 100644 --- a/plugins-api/pom.xml +++ b/plugins-api/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/plugins-builtin/pom.xml b/plugins-builtin/pom.xml index 924bb4e25..58508cc35 100644 --- a/plugins-builtin/pom.xml +++ b/plugins-builtin/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/pom.xml b/pom.xml index 78ab5695c..b884e4ee2 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 4.0.0 za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT pom Enceladus diff --git a/spark-jobs/pom.xml b/spark-jobs/pom.xml index 522cf2f7e..9a94233de 100644 --- a/spark-jobs/pom.xml +++ b/spark-jobs/pom.xml @@ -21,7 +21,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT diff --git a/utils/pom.xml b/utils/pom.xml index 735bfe6d5..fdd0f2a7b 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -22,7 +22,7 @@ za.co.absa.enceladus parent - 2.27.2 + 3.1.0-SNAPSHOT