org.sonatype.nexus.repository.storage.RetryDeniedException: Reached max retries: 8/8

Sonatype JIRA | Michael Prescott | 9 months ago
  1. 0

    [~aavritzer] noticed during a 4-CPU, 4-thread migration of the 10Gb dataset the following exception: 2016-03-13 07:21:14,672-0400 WARN [change-processing-5-thread-2] admin org.sonatype.nexus.repository.storage.StorageTxImpl - Reached max retries: 8/8 2016-03-13 07:21:14,731-0400 WARN [plan-executor-4-thread-3] admin com.sonatype.nexus.migration.repository.ProcessChangesStep - Failed org.sonatype.nexus.repository.storage.RetryDeniedException: Reached max retries: 8/8 at org.sonatype.nexus.repository.storage.StorageTxImpl.allowRetry(StorageTxImpl.java:191) [na:na] at sun.reflect.GeneratedMethodAccessor225.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) [na:1.8.0_71] at org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53) [na:na] at org.sonatype.nexus.common.stateguard.StateGuardAspect$1.invoke(StateGuardAspect.java:69) [na:na] at com.sun.proxy.$Proxy174.allowRetry(Unknown Source) [na:na] at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:79) [na:na] at org.sonatype.nexus.transaction.Operations.transactional(Operations.java:150) [na:na] at org.sonatype.nexus.transaction.TransactionalBuilder.call(TransactionalBuilder.java:88) [na:na] at com.sonatype.nexus.migration.repository.migrators.RepositoryMigratorSupport.inStorageTx(RepositoryMigratorSupport.java:157) [na:na] at com.sonatype.nexus.migration.repository.migrators.Maven2RepositoryMigratorSupport.recordMetadata(Maven2RepositoryMigratorSupport.java:72) [na:na] at com.sonatype.nexus.migration.repository.migrators.RepositoryMigratorSupport.processChange(RepositoryMigratorSupport.java:118) [na:na] at com.sonatype.nexus.migration.repository.RepositoryMigrator$processChange$1.call(Unknown Source) [na:na] at com.sonatype.nexus.migration.repository.ProcessChangesStep$_submit_closure2.doCall(ProcessChangesStep.groovy:227) [na:na] at com.sonatype.nexus.migration.repository.ProcessChangesStep$_submit_closure2.doCall(ProcessChangesStep.groovy) [na:na] at sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) [na:1.8.0_71] at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) [na:na] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) [na:na] at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) [na:na] at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019) [na:na] at groovy.lang.Closure.call(Closure.java:426) [na:na] at groovy.lang.Closure.call(Closure.java:420) [na:na] at groovy.lang.Closure.run(Closure.java:507) [na:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_71] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_71] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_71] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71] Caused by: com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #10:1508 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v13 your=v12) at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55) [na:na] at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42) [na:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2394) [na:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:2026) [na:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2477) [na:na] at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1206) [na:na] at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:606) [na:na] at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:156) [na:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2689) [na:na] at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2658) [na:na] at org.sonatype.nexus.repository.storage.StorageTxImpl.commit(StorageTxImpl.java:160) [na:na] at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [na:1.8.0_71] at java.lang.reflect.Method.invoke(Method.java:497) [na:1.8.0_71] at org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53) [na:na] at org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39) [na:na] at org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:191) [na:na] at org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56) [na:na] at org.sonatype.nexus.common.stateguard.StateGuardAspect$1.invoke(StateGuardAspect.java:66) [na:na] at com.sun.proxy.$Proxy174.commit(Unknown Source) [na:na] at org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:65) [na:na] ... 23 common frames omitted

    Sonatype JIRA | 9 months ago | Michael Prescott
    org.sonatype.nexus.repository.storage.RetryDeniedException: Reached max retries: 8/8
  2. 0

    NPE on move Records To Secondary Cache

    GitHub | 2 years ago | azzazeli
    com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #9:104667 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v15 your=v14)
  3. 0

    CONFLICTSTRATEGY - automerge

    GitHub | 2 years ago | lvca
    com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #197:4 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v5 your=v4)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OConcurrentModificationException while creating relations between verticies

    GitHub | 2 years ago | profic
    com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #32:2 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v62 your=v61)
  6. 0

    conflictStrategy 'content' still throwing version exception - 2.0 SNAPSHOT

    Google Groups | 2 years ago | hihim...@gmail.com
    com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #17:0 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v312 your=v311)

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.orientechnologies.orient.core.exception.OConcurrentModificationException

      Cannot UPDATE the record #10:1508 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v13 your=v12)

      at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions()
    2. OrientDB Core
      ODatabaseDocumentTx.commit
      1. com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55)[na:na]
      2. com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42)[na:na]
      3. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:2394)[na:na]
      4. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:2026)[na:na]
      5. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2477)[na:na]
      6. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1206)[na:na]
      7. com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:606)[na:na]
      8. com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:156)[na:na]
      9. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2689)[na:na]
      10. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2658)[na:na]
      10 frames
    3. org.sonatype.nexus
      StorageTxImpl.commit
      1. org.sonatype.nexus.repository.storage.StorageTxImpl.commit(StorageTxImpl.java:160)[na:na]
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_71]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_71]
      3 frames
    5. org.sonatype.nexus
      StateGuardAspect$1.invoke
      1. org.sonatype.nexus.common.stateguard.SimpleMethodInvocation.proceed(SimpleMethodInvocation.java:53)[na:na]
      2. org.sonatype.nexus.common.stateguard.MethodInvocationAction.run(MethodInvocationAction.java:39)[na:na]
      3. org.sonatype.nexus.common.stateguard.StateGuard$TransitionImpl.run(StateGuard.java:191)[na:na]
      4. org.sonatype.nexus.common.stateguard.TransitionsInterceptor.invoke(TransitionsInterceptor.java:56)[na:na]
      5. org.sonatype.nexus.common.stateguard.StateGuardAspect$1.invoke(StateGuardAspect.java:66)[na:na]
      5 frames
    6. com.sun.proxy
      $Proxy174.commit
      1. com.sun.proxy.$Proxy174.commit(Unknown Source)[na:na]
      1 frame
    7. org.sonatype.nexus
      TransactionalBuilder.call
      1. org.sonatype.nexus.transaction.TransactionalWrapper.proceedWithTransaction(TransactionalWrapper.java:65)[na:na]
      2. org.sonatype.nexus.transaction.Operations.transactional(Operations.java:150)[na:na]
      3. org.sonatype.nexus.transaction.TransactionalBuilder.call(TransactionalBuilder.java:88)[na:na]
      3 frames
    8. com.sonatype.nexus
      ProcessChangesStep$_submit_closure2.doCall
      1. com.sonatype.nexus.migration.repository.migrators.RepositoryMigratorSupport.inStorageTx(RepositoryMigratorSupport.java:157)[na:na]
      2. com.sonatype.nexus.migration.repository.migrators.Maven2RepositoryMigratorSupport.recordMetadata(Maven2RepositoryMigratorSupport.java:72)[na:na]
      3. com.sonatype.nexus.migration.repository.migrators.RepositoryMigratorSupport.processChange(RepositoryMigratorSupport.java:118)[na:na]
      4. com.sonatype.nexus.migration.repository.RepositoryMigrator$processChange$1.call(Unknown Source)[na:na]
      5. com.sonatype.nexus.migration.repository.ProcessChangesStep$_submit_closure2.doCall(ProcessChangesStep.groovy:227)[na:na]
      6. com.sonatype.nexus.migration.repository.ProcessChangesStep$_submit_closure2.doCall(ProcessChangesStep.groovy)[na:na]
      6 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor211.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_71]
      3. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_71]
      3 frames
    10. Groovy
      Closure.run
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)[na:na]
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)[na:na]
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)[na:na]
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1019)[na:na]
      5. groovy.lang.Closure.call(Closure.java:426)[na:na]
      6. groovy.lang.Closure.call(Closure.java:420)[na:na]
      7. groovy.lang.Closure.run(Closure.java:507)[na:na]
      7 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_71]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_71]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_71]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_71]
      5. java.lang.Thread.run(Thread.java:745)[na:1.8.0_71]
      5 frames