You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 14, 2024. It is now read-only.
(found by @bobeal in preprod, and myself locally in other cases) 19-08-2016 12:05:19 LoadPersistedModelsAtInit [ERROR] Datacore - unknown error initing org.oasis.datacore.model.resource.LoadPersistedModelsAtInit java.lang.RuntimeException: Unexpected Exception reloading project resource from persistence {"@id":"http://data.ozwillo.com/dc/type/dcmp:Project_0/oasis.sandbox" ... Cause by: org.oasis.datacore.core.entity.query.QueryException: Query or sort on collection oasis.meta.dcmi:mixin_0 with non indexed fields has reached maxScan (300) before document limit (found 74<100) , meaning some documents can't be found without prohibitive cost. Use only indexed fields, or if you really want the few documents already found lower limit, or if in Model design mode add indexes. Retry in debug mode to get more information.
Workaround : remove maxScan constraint for metamodel queries (oasis.meta.dcmi:mixin_0, or even oasis.meta.* for also projects).
Solution : maybe prefix existing indexes ex. _p.dcmo:globalFields.dcmf:name (which was allowed by #168 field.isStorage) by _b, but shouldn't they be used anyway ?
The text was updated successfully, but these errors were encountered:
(found by @bobeal in preprod, and myself locally in other cases)
19-08-2016 12:05:19 LoadPersistedModelsAtInit [ERROR] Datacore - unknown error initing org.oasis.datacore.model.resource.LoadPersistedModelsAtInit java.lang.RuntimeException: Unexpected Exception reloading project resource from persistence {"@id":"http://data.ozwillo.com/dc/type/dcmp:Project_0/oasis.sandbox" ... Cause by: org.oasis.datacore.core.entity.query.QueryException: Query or sort on collection oasis.meta.dcmi:mixin_0 with non indexed fields has reached maxScan (300) before document limit (found 74<100) , meaning some documents can't be found without prohibitive cost. Use only indexed fields, or if you really want the few documents already found lower limit, or if in Model design mode add indexes. Retry in debug mode to get more information.
Workaround : remove maxScan constraint for metamodel queries (oasis.meta.dcmi:mixin_0, or even oasis.meta.* for also projects).
Solution : maybe prefix existing indexes ex. _p.dcmo:globalFields.dcmf:name (which was allowed by #168 field.isStorage) by _b, but shouldn't they be used anyway ?
The text was updated successfully, but these errors were encountered: