The GitHub Actions job "End to End" on 
grails-core.git/feat/mongo-objectid-default-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
425cdc0cbd4a3d140b4a1a6972cf5b768e027d2d / Scott Murphy Heiberg 
<[email protected]>
Deprecate the non-codec persistence engine

The "mapping" engine has not been the default since GORM 6, is selected by an
undocumented setting, and reaches MongoDB through an entirely separate
persister hierarchy -- MongoSession, MongoEntityPersister and
AbstractMongoObectEntityPersister -- that has to be kept in step with the
codec one for every change to the storage layer. It carries no capability the
codec engine lacks.

That cost is not theoretical: making ObjectId the default for String ids
required six separate fixes in this engine (id storage, the by-key filter, the
flush-time update and delete filters, the iterable delete, association
references and DBRef $id values, and bulk association updates), none of which
had any test coverage. Before this branch nothing in the test suite exercised
grails.mongodb.engine at all.

Deprecated rather than removed, because MongoEntityPersister and
AbstractMongoObectEntityPersister are public types that third parties may
extend, and an application setting the engine today deserves a warning before
its configuration stops working. Selecting it now logs at startup, and the
setting is documented for the first time -- as deprecated, with the advice to
remove it.

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

With regards,
GitHub Actions via GitBox

Reply via email to