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

Concurrent update while predicting in streams

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.7.18
    • Fix Version/s: 2.7.19
    • Component/s: AI Nuxeo Services
    • Tags:
    • Team:
      AI

      Description

      Due to a possibility of new model registry and enrichment pipelines happening at the same time, Insight model serving should account for it by using thread safe operations and copies of data instead of original on long calls

      java.util.ConcurrentModificationException: null
      	at java.util.HashMap$EntrySpliterator.forEachRemaining(HashMap.java:1728) ~[?:1.8.0_362]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[?:1.8.0_362]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[?:1.8.0_362]
      	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) ~[?:1.8.0_362]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_362]
      	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) ~[?:1.8.0_362]
      	at org.nuxeo.ai.model.serving.ModelServingServiceImpl.predict(ModelServingServiceImpl.java:265) ~[nuxeo-ai-model-2.7.18.jar:?]
      	at org.nuxeo.ai.model.serving.InsightProvider.lambda$null$0(InsightProvider.java:53) ~[nuxeo-ai-model-2.7.18.jar:?] 

        Attachments

          Activity

            People

            • Assignee:
              anechaev Andrei Nechaev
              Reporter:
              anechaev Andrei Nechaev
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: