You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by jd...@apache.org on 2026/09/22 01:30:19 UTC
(grails-core) branch 8.0.x updated (8c3851b9e4 -> 1fadd5c812)
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a change to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
from 8c3851b9e4 Merge pull request #16361 from apache/deps/dependency-updates-2026-09
add b2691d485d Add grails.mongodb.buildIndexes to skip MongoDB index creation on startup
add 2c25dfd0b3 Apply the configured settings when GORM is given an existing MongoClient
add 568013535e Add grails.mongodb.buildIndexesAsync to build indexes off the startup thread
add d0d68476fd Report what the index build applied and how long it took
add bf1917416f Report which indexes the build created and which were already there
add 14ac0c0fb1 Document the MongoDB settings in application.yml, not only application.groovy
add 6fbb305004 Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add b873801b55 Cover the index build's failure and degradation paths
add 51c977e13f Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add c431a33afb Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add 2cf25ea829 Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add fcac2072e0 Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add 2324ebc7af Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add ee362fa1f8 Merge branch '8.0.x' into feature/mongodb-skip-index-build-8.0.x
add 1726f84d3a Fix MongoDB index build lifecycle and review findings
add 211ef8de17 Fix MongoDB CI logging assertions and activate failOnError test
add 63776a4f42 Merge remote-tracking branch 'upstream/8.0.x' into feature/mongodb-skip-index-build-8.0.x
add 5e3403efe5 Close the connection source children over a snapshot
add 4710351bbe Point the documented logger category at the MongoDatastore logger
add 4ebb343fce Document everything an externally-supplied client now picks up
add 423ac93345 Pin the camel case setting names against a Spring Boot environment
add 4a4733ac09 Read a compound index's attributes without consuming the declaration
add 8a7e1ff4c4 Keep the mapping context's database when the client is supplied
add 4c074122eb Pin the tenant resolver a supplied client ends up with
add f4bb9466e6 Hold the per-connection children in a ConcurrentHashMap
add fd13f1a3d6 Read captured log events through a copy-on-write list
add 848282548a Report, interrupt and resume the index build through its whole lifecycle
add 6fe37380ea Stop SchemaBasedMultiTenancySpec dropping MongoDB's config database
add abc944e654 Merge remote-tracking branch 'upstream/8.0.x' into feature/mongodb-skip-index-build-8.0.x
add 5cafdb298e Describe the two index-build settings in the plugin's configuration metadata
add 9a88f6ecd1 Compare index key patterns in order
add 0a12094fa4 Put the logback note beside the dependency rather than in an empty closure
add d8adb08fcf Tighten the index build's lifecycle, reporting and per-collection listing
add 0ffc9215e7 Say which connection details a supplied client leaves out
add c6a64e8d1e Keep the index build's breakdown, errors and restarts honest per connection
add 7d927e10be Let an application build its indexes on demand with buildIndexes off
add 91a7eb489b Announce a background index build from its own thread and document every summary form
new 1fadd5c812 Merge pull request #16208 from codeconsole/feature/mongodb-skip-index-build-8.0.x
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
grails-data-mongodb/core/build.gradle | 5 +-
.../datastore/mapping/mongo/MongoDatastore.java | 741 +++++++++++++++++++--
.../mapping/mongo/config/MongoSettings.groovy | 24 +
.../AbstractMongoConnectionSourceSettings.groovy | 22 +
.../gorm/mongo/BuildIndexesAsyncSpec.groovy | 247 +++++++
.../mongo/BuildIndexesBackgroundFailureSpec.groovy | 198 ++++++
.../BuildIndexesClassificationCostSpec.groovy | 168 +++++
.../gorm/mongo/BuildIndexesDisabledSpec.groovy | 110 +++
...ovy => BuildIndexesEnabledByDefaultSpec.groovy} | 54 +-
.../mongo/BuildIndexesFailureSummarySpec.groovy | 135 ++++
.../gorm/mongo/BuildIndexesHookSpec.groovy | 141 ++++
.../gorm/mongo/BuildIndexesKeyOrderSpec.groovy | 93 +++
.../gorm/mongo/BuildIndexesLifecycleSpec.groovy | 326 +++++++++
.../gorm/mongo/BuildIndexesOnDemandSpec.groovy | 191 ++++++
.../BuildIndexesPartialClassificationSpec.groovy | 141 ++++
.../mongo/BuildIndexesRecreateSummarySpec.groovy | 95 +++
.../mongo/BuildIndexesStaleSnapshotSpec.groovy | 124 ++++
.../gorm/mongo/BuildIndexesSummaryLogSpec.groovy | 137 ++++
.../mongo/BuildIndexesUnfinishedSummarySpec.groovy | 143 ++++
.../BuildIndexesUnreadableIndexListSpec.groovy | 136 ++++
.../grails/datastore/gorm/mongo/CapturedLog.groovy | 63 +-
.../datastore/gorm/mongo/FailingMongoClient.groovy | 84 +++
.../gorm/mongo/TextIndexViaAttributesSpec.groovy | 31 +-
.../BuildIndexesPerConnectionSpec.groovy | 310 +++++++++
.../BuildIndexesSharedDeclarationSpec.groovy | 79 +++
.../connections/SchemaBasedMultiTenancySpec.groovy | 15 +-
.../SuppliedMongoClientSettingsSpec.groovy | 206 ++++++
.../MongoConnectionSourceSettingsSpec.groovy | 85 +++
.../core}/src/test/resources/logback-test.xml | 7 +-
.../asciidoc/gettingStarted/advancedConfig.adoc | 24 +-
.../docs/asciidoc/introduction/releaseNotes.adoc | 3 +
.../docs/asciidoc/introduction/upgradeNotes.adoc | 26 +
.../src/docs/asciidoc/querying/queryIndexes.adoc | 141 ++++
.../additional-spring-configuration-metadata.json | 12 +
.../functional/tests/LocalMongoUnitSpec.groovy | 2 -
35 files changed, 4190 insertions(+), 129 deletions(-)
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesAsyncSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesBackgroundFailureSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesClassificationCostSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesDisabledSpec.groovy
copy grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/{CountMethodSpec.groovy => BuildIndexesEnabledByDefaultSpec.groovy} (50%)
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesFailureSummarySpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesHookSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesKeyOrderSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesLifecycleSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesOnDemandSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesPartialClassificationSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesRecreateSummarySpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesStaleSnapshotSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesSummaryLogSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesUnfinishedSummarySpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/BuildIndexesUnreadableIndexListSpec.groovy
copy grails-core/src/testFixtures/groovy/org/apache/grails/core/testing/support/LogCapture.groovy => grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/CapturedLog.groovy (51%)
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/FailingMongoClient.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/connections/BuildIndexesPerConnectionSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/connections/BuildIndexesSharedDeclarationSpec.groovy
create mode 100644 grails-data-mongodb/core/src/test/groovy/org/grails/datastore/gorm/mongo/connections/SuppliedMongoClientSettingsSpec.groovy
copy {grails-datastore-core => grails-data-mongodb/core}/src/test/resources/logback-test.xml (76%)
(grails-core) 01/01: Merge pull request #16208 from codeconsole/feature/mongodb-skip-index-build-8.0.x
Posted by jd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
jdaugherty pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit 1fadd5c812513e951a4b1d9ca22642d6f406c79d
Merge: 8c3851b9e4 91a7eb489b
Author: James Daugherty <jd...@jdresources.net>
AuthorDate: Mon Sep 21 21:30:13 2026 -0400
Merge pull request #16208 from codeconsole/feature/mongodb-skip-index-build-8.0.x
Add grails.mongodb.buildIndexes and buildIndexesAsync for MongoDB index creation on startup
grails-data-mongodb/core/build.gradle | 5 +-
.../datastore/mapping/mongo/MongoDatastore.java | 741 +++++++++++++++++++--
.../mapping/mongo/config/MongoSettings.groovy | 24 +
.../AbstractMongoConnectionSourceSettings.groovy | 22 +
.../gorm/mongo/BuildIndexesAsyncSpec.groovy | 247 +++++++
.../mongo/BuildIndexesBackgroundFailureSpec.groovy | 198 ++++++
.../BuildIndexesClassificationCostSpec.groovy | 168 +++++
.../gorm/mongo/BuildIndexesDisabledSpec.groovy | 110 +++
.../mongo/BuildIndexesEnabledByDefaultSpec.groovy | 77 +++
.../mongo/BuildIndexesFailureSummarySpec.groovy | 135 ++++
.../gorm/mongo/BuildIndexesHookSpec.groovy | 141 ++++
.../gorm/mongo/BuildIndexesKeyOrderSpec.groovy | 93 +++
.../gorm/mongo/BuildIndexesLifecycleSpec.groovy | 326 +++++++++
.../gorm/mongo/BuildIndexesOnDemandSpec.groovy | 191 ++++++
.../BuildIndexesPartialClassificationSpec.groovy | 141 ++++
.../mongo/BuildIndexesRecreateSummarySpec.groovy | 95 +++
.../mongo/BuildIndexesStaleSnapshotSpec.groovy | 124 ++++
.../gorm/mongo/BuildIndexesSummaryLogSpec.groovy | 137 ++++
.../mongo/BuildIndexesUnfinishedSummarySpec.groovy | 143 ++++
.../BuildIndexesUnreadableIndexListSpec.groovy | 136 ++++
.../grails/datastore/gorm/mongo/CapturedLog.groovy | 70 ++
.../datastore/gorm/mongo/FailingMongoClient.groovy | 84 +++
.../gorm/mongo/TextIndexViaAttributesSpec.groovy | 31 +-
.../BuildIndexesPerConnectionSpec.groovy | 310 +++++++++
.../BuildIndexesSharedDeclarationSpec.groovy | 79 +++
.../connections/SchemaBasedMultiTenancySpec.groovy | 15 +-
.../SuppliedMongoClientSettingsSpec.groovy | 206 ++++++
.../MongoConnectionSourceSettingsSpec.groovy | 85 +++
.../core/src/test/resources/logback-test.xml | 34 +
.../asciidoc/gettingStarted/advancedConfig.adoc | 24 +-
.../docs/asciidoc/introduction/releaseNotes.adoc | 3 +
.../docs/asciidoc/introduction/upgradeNotes.adoc | 26 +
.../src/docs/asciidoc/querying/queryIndexes.adoc | 141 ++++
.../additional-spring-configuration-metadata.json | 12 +
.../functional/tests/LocalMongoUnitSpec.groovy | 2 -
35 files changed, 4318 insertions(+), 58 deletions(-)