Uploaded image for project: 'Nuxeo AI Core'
  1. Nuxeo AI Core
  2. AICORE-471

WK Stream failure on AI enrichment on version document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.4
    • Fix Version/s: 2.5.5
    • Component/s: ML Data Enrichment

      Description

      Scopes to fix:

      • have a filter on default configuration to remove versions to make sure that by default this situation never happens
      • fail elegantly when trying to write the document enrichment metadata (when it cannot for some reason)

      Seen in production: 2021-03-14

      Computation: enrichment.in$SaveEnrichmentFunction fails last record: enrichment.in-01:+0, after retries. org.nuxeo.ecm.core.api.PropertyException: Cannot set property on a version: enrichment:items	at org.nuxeo.ecm.core.storage.BaseDocument.checkReadOnlyIgnoredWrite(BaseDocument.java:303) ~[nuxeo-core-storage-10.10-HF39.jar:?]	at org.nuxeo.ecm.core.storage.BaseDocument.writeComplexProperty(BaseDocument.java:881) ~[nuxeo-core-storage-10.10-HF39.jar:?]	at org.nuxeo.ecm.core.storage.BaseDocument.writeDocumentPart(BaseDocument.java:848) ~[nuxeo-core-storage-10.10-HF39.jar:?]	at org.nuxeo.ecm.core.storage.dbs.DBSDocument.writeDocumentPart(DBSDocument.java:1089) ~[nuxeo-core-storage-dbs-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.DocumentModelFactory.writeDocumentModel(DocumentModelFactory.java:257) ~[nuxeo-core-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:374) ~[nuxeo-core-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.AbstractSession.writeModel(AbstractSession.java:370) ~[nuxeo-core-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.AbstractSession.saveDocument(AbstractSession.java:1607) ~[nuxeo-core-10.10-HF42.jar:?]	at org.nuxeo.ai.functions.SaveEnrichmentFunction.lambda$null$0(SaveEnrichmentFunction.java:46) ~[nuxeo-ai-core-2.4.4.jar:?]	at org.nuxeo.ecm.core.api.CoreInstance$3.run(CoreInstance.java:223) ~[nuxeo-core-api-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.UnrestrictedSessionRunner.runUnrestricted(UnrestrictedSessionRunner.java:137) ~[nuxeo-core-api-10.10-HF42.jar:?]	at org.nuxeo.ecm.core.api.CoreInstance.doPrivileged(CoreInstance.java:225) ~[nuxeo-core-api-10.10-HF42.jar:?]	at org.nuxeo.ai.functions.SaveEnrichmentFunction.lambda$accept$1(SaveEnrichmentFunction.java:41) ~[nuxeo-ai-core-2.4.4.jar:?] 

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h