The GitHub Actions job "Code Style" on grails-core.git/mongo-ttl-index-support 
has succeeded.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
b939e01015b7c98fe516b744576ebb60a01a4033 / Scott Murphy Heiberg 
<[email protected]>
Reconcile $text indexes too: match an existing text index by its synthetic _fts 
key

A declared text index has key {field: 'text'}, but MongoDB reports an existing 
one with a
synthetic {_fts: 'text', _ftsx: 1} key, so the IndexOptionsConflict reconcile 
never matched it
and recreateOnConflict couldn't absorb a differently-named text index. Since 
MongoDB allows at
most one text index per collection, an existing text index is unambiguously the 
conflicting one
— findIndexByKeyPattern now matches any existing text index when the declared 
index is itself a
text index, regardless of key shape or name.

Adds TextIndexViaAttributesSpec covering conventional text-index declaration via
indexAttributes: [type: 'text'] and absorption of a legacy differently-named 
text index.

Report URL: https://github.com/apache/grails-core/actions/runs/27806507623

With regards,
GitHub Actions via GitBox

Reply via email to