org.jooq.exception.DataChangedException: Database record has been changed

GitHub | bacheson | 4 months ago
  1. 0

    Database record has been changed

    GitHub | 4 months ago | bacheson
    org.jooq.exception.DataChangedException: Database record has been changed
  2. 0

    "Deadlock found when trying to get lock; try restarting transaction" seen in logs.

    GitHub | 8 months ago | sangeethah
    org.jooq.exception.DataChangedException: Database record has been changed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 1801#132668888

    GitHub | 1 year ago | philp
    org.jooq.exception.DataChangedException: Database record has been changed
  5. 0

    uncaught exception in rancher-server

    GitHub | 1 year ago | defunctzombie
    org.jooq.exception.DataChangedException: Database record has been changed

    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. org.jooq.exception.DataChangedException

      Database record has been changed

      at org.jooq.impl.UpdatableRecordImpl.checkIfChanged()
    2. jOOQ
      UpdatableRecordImpl.update
      1. org.jooq.impl.UpdatableRecordImpl.checkIfChanged(UpdatableRecordImpl.java:550)[jooq-3.3.0.jar:na]
      2. org.jooq.impl.UpdatableRecordImpl.storeUpdate0(UpdatableRecordImpl.java:291)[jooq-3.3.0.jar:na]
      3. org.jooq.impl.UpdatableRecordImpl.access$200(UpdatableRecordImpl.java:90)[jooq-3.3.0.jar:na]
      4. org.jooq.impl.UpdatableRecordImpl$3.operate(UpdatableRecordImpl.java:260)[jooq-3.3.0.jar:na]
      5. org.jooq.impl.RecordDelegate.operate(RecordDelegate.java:123)[jooq-3.3.0.jar:na]
      6. org.jooq.impl.UpdatableRecordImpl.storeUpdate(UpdatableRecordImpl.java:255)[jooq-3.3.0.jar:na]
      7. org.jooq.impl.UpdatableRecordImpl.update(UpdatableRecordImpl.java:149)[jooq-3.3.0.jar:na]
      7 frames
    3. io.cattle.platform
      ProcessInstanceParallelDispatcher$1.runInContext
      1. io.cattle.platform.object.impl.JooqObjectManager.persistRecord(JooqObjectManager.java:223)[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
      2. io.cattle.platform.object.impl.JooqObjectManager.setFieldsInternal(JooqObjectManager.java:130)[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
      3. io.cattle.platform.object.impl.JooqObjectManager$3.execute(JooqObjectManager.java:118)[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
      4. io.cattle.platform.engine.idempotent.Idempotent.change(Idempotent.java:88)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      5. io.cattle.platform.object.impl.JooqObjectManager.setFields(JooqObjectManager.java:115)[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
      6. io.cattle.platform.object.impl.JooqObjectManager.setFields(JooqObjectManager.java:110)[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
      7. io.cattle.platform.process.common.generic.GenericResourceProcessState.applyData(GenericResourceProcessState.java:96)[cattle-iaas-logic-common-0.5.0-SNAPSHOT.jar:na]
      8. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandler(DefaultProcessInstanceImpl.java:440)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      9. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:375)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      10. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$4.execute(DefaultProcessInstanceImpl.java:369)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      11. io.cattle.platform.engine.idempotent.Idempotent.execute(Idempotent.java:42)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      12. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runHandlers(DefaultProcessInstanceImpl.java:369)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      13. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runLogic(DefaultProcessInstanceImpl.java:471)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      14. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runWithProcessLock(DefaultProcessInstanceImpl.java:305)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      15. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$2.doWithLockNoResult(DefaultProcessInstanceImpl.java:245)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      16. io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:7)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      17. io.cattle.platform.lock.LockCallbackNoReturn.doWithLock(LockCallbackNoReturn.java:3)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      18. io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      19. io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      20. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      21. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      22. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.acquireLockAndRun(DefaultProcessInstanceImpl.java:242)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      23. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.runDelegateLoop(DefaultProcessInstanceImpl.java:184)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      24. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.executeWithProcessInstanceLock(DefaultProcessInstanceImpl.java:157)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      25. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:107)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      26. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl$1.doWithLock(DefaultProcessInstanceImpl.java:104)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      27. io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      28. io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      29. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      30. io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37)[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
      31. io.cattle.platform.engine.process.impl.DefaultProcessInstanceImpl.execute(DefaultProcessInstanceImpl.java:104)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      32. io.cattle.platform.engine.eventing.impl.ProcessEventListenerImpl.processExecute(ProcessEventListenerImpl.java:74)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      33. io.cattle.platform.engine.server.impl.ProcessInstanceParallelDispatcher$1.runInContext(ProcessInstanceParallelDispatcher.java:27)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      33 frames
    4. org.apache.cloudstack
      ManagedContextRunnable.run
      1. org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      2. org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      3. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      4. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5. org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5 frames
    5. Java RT
      ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_95]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)[na:1.7.0_95]
      3. java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:2025)[na:1.7.0_95]
      3 frames
    6. fr.xebia.springframework
      ThreadPoolExecutorFactory$CountingRejectedExecutionHandler.rejectedExecution
      1. fr.xebia.springframework.concurrent.ThreadPoolExecutorFactory$CountingRejectedExecutionHandler.rejectedExecution(ThreadPoolExecutorFactory.java:67)[xebia-management-extras-1.2.3.jar:na]
      1 frame
    7. Java RT
      AbstractExecutorService.submit
      1. java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:821)[na:1.7.0_95]
      2. java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1372)[na:1.7.0_95]
      3. java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:110)[na:1.7.0_95]
      3 frames
    8. io.cattle.platform
      TaskManagerImpl$1.doRun
      1. io.cattle.platform.engine.server.impl.ProcessInstanceParallelDispatcher.execute(ProcessInstanceParallelDispatcher.java:24)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      2. io.cattle.platform.engine.server.impl.ProcessServerImpl.runOutstandingJobs(ProcessServerImpl.java:17)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      3. io.cattle.platform.engine.server.impl.ProcessReplayTask.run(ProcessReplayTask.java:16)[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
      4. io.cattle.platform.task.impl.TaskManagerImpl$1.doRun(TaskManagerImpl.java:100)[cattle-framework-system-task-0.5.0-SNAPSHOT.jar:na]
      4 frames
    9. org.apache.cloudstack
      ManagedContextRunnable.run
      1. org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:15)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      2. org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      3. org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      4. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      5. org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      6. org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
      6 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[na:1.7.0_95]
      2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)[na:1.7.0_95]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[na:1.7.0_95]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[na:1.7.0_95]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_95]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_95]
      7. java.lang.Thread.run(Thread.java:745)[na:1.7.0_95]
      7 frames