com.orientechnologies.orient.core.exception.ODatabaseException: Error during saving of record with rid #27:0 DB name="Carnoot"

GitHub | Dacnomanie | 4 months ago
  1. 0

    [Distributed] Not properly saving record?

    GitHub | 4 months ago | Dacnomanie
    com.orientechnologies.orient.core.exception.ODatabaseException: Error during saving of record with rid #27:0 DB name="Carnoot"

    Root Cause Analysis

    1. com.orientechnologies.orient.server.distributed.task.ODistributedRecordLockedException

      Record with rid #27:0 is locked by request 0.1 DB name="Carnoot"

      at com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.acquireRecordLock()
    2. com.orientechnologies.orient
      ODistributedStorage.updateRecord
      1. com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.acquireRecordLock(ODistributedStorage.java:1260)
      2. com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.executeRecordOperationInLock(ODistributedStorage.java:1029)
      3. com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.updateRecord(ODistributedStorage.java:798)
      3 frames
    3. OrientDB Core
      OAbstractPaginatedStorage.command
      1. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:2046)
      2. com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:186)
      3. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2541)
      4. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:101)
      5. com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1796)
      6. com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1787)
      7. com.orientechnologies.orient.core.sql.OCommandExecutorSQLUpdate.result(OCommandExecutorSQLUpdate.java:353)
      8. com.orientechnologies.orient.core.sql.OCommandExecutorSQLResultsetAbstract.pushResult(OCommandExecutorSQLResultsetAbstract.java:278)
      9. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.addResult(OCommandExecutorSQLSelect.java:735)
      10. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.handleResult(OCommandExecutorSQLSelect.java:667)
      11. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearchRecord(OCommandExecutorSQLSelect.java:616)
      12. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.serialIterator(OCommandExecutorSQLSelect.java:1639)
      13. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.fetchFromTarget(OCommandExecutorSQLSelect.java:1554)
      14. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.executeSearch(OCommandExecutorSQLSelect.java:511)
      15. com.orientechnologies.orient.core.sql.OCommandExecutorSQLSelect.execute(OCommandExecutorSQLSelect.java:474)
      16. com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:72)
      17. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2602)
      18. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2548)
      18 frames
    4. com.orientechnologies.orient
      ODistributedStorage.command
      1. com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.command(ODistributedStorage.java:269)
      1 frame
    5. OrientDB Core
      OAbstractPaginatedStorage.command
      1. com.orientechnologies.orient.core.sql.query.OSQLQuery.run(OSQLQuery.java:78)
      2. com.orientechnologies.orient.core.sql.query.OSQLAsynchQuery.run(OSQLAsynchQuery.java:74)
      3. com.orientechnologies.orient.core.query.OQueryAbstract.execute(OQueryAbstract.java:33)
      4. com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.query(ODatabaseDocumentTx.java:696)
      5. com.orientechnologies.orient.core.sql.OCommandExecutorSQLUpdate.execute(OCommandExecutorSQLUpdate.java:288)
      6. com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:72)
      7. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2602)
      8. com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2548)
      8 frames
    6. com.orientechnologies.orient
      ODistributedStorage.command
      1. com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.command(ODistributedStorage.java:269)
      1 frame
    7. OrientDB Core
      OCommandRequestTextAbstract.execute
      1. com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)
      1 frame
    8. com.carnoot.server
      WebHandler.handle
      1. com.carnoot.server.functions.Authentication.heartbeat(Authentication.java:93)
      2. com.carnoot.server.WebHandler.handle(WebHandler.java:57)
      2 frames
    9. Java RT
      Thread.run
      1. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      2. sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
      3. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
      4. sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
      5. com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
      6. sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
      7. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      9. java.lang.Thread.run(Thread.java:745)
      9 frames