Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31268

Index bulk action should not terminate on corrupted documents

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF66, 2023.0, 2021.27
    • Component/s: Bulk
    • Release Notes Summary:
      Bulk computation are now resilient to corrupted documents
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #70, nxplatform #71
    • Story Points:
      3

      Description

      A document that cannot be read will terminate the index bulk action with a stream failure.

      [AbstractBulkComputation] Action: bulk/index fails on record: bulk-index-01:+1 after retries.
      org.nuxeo.ecm.core.api.DocumentNotFoundException: Unknown document type: CorruptedType
      	at org.nuxeo.ecm.core.storage.dbs.DBSSession.getDocument(DBSSession.java:448) ~[nuxeo-core-storage-dbs-2021.26-SNAPSHOT.jar:?]
      
      or 
      
      [AbstractComputation] Computation: index fails last record: index-01:+3897, retrying ...
      org.nuxeo.ecm.core.api.model.PropertyConversionException: Unable to read property: my:transcodedVideos for document: 0b48cae2-8b5a-4ba1-9e93-d1aff048618e
      	at org.nuxeo.ecm.core.storage.BaseDocument.readComplexProperty(BaseDocument.java:766) ~[nuxeo-core-storage-10.10-HF55.jar:?]
      	at ...
      
      

      We want to avoid the stream failure in such case because it is ok to skip these possible error this needs to be reported as error in the bulk status.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: