Hi Andrey, Andrey #2, :D Also a thread dump is almost helpful :) But thanks for digging into the problems. Is it possible for you to create thread dumps and test cases to reproduce the issue?
Thanks, Chris Am 03.04.2014 um 17:36 schrieb Andrey Lomakin <[email protected]>: > Snapshots are not very informative could you provide thread dump and may be > test case. > > > On Thu, Apr 3, 2014 at 6:33 PM, Andrey Yesyev <[email protected]> wrote: > Hi there, > > My adventures with changing DB schema during populating it, are going on... > > I spotted 3 threads to deadlock when one of them tried to commit a > transaction, another added index to newly created class property and the > third one tried to get a DB connection from factory. > Here is snapshots > > Thread1 > > > Thread 2 > > > Thread 3 > > > > > In 10 minutes I got this exception > > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.throwSerializedException(OChannelBinaryAsynchClient.java:264) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:231) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:202) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:113) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:1952) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.client.remote.OStorageRemote.command(OStorageRemote.java:983) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.client.remote.OStorageRemoteThread.command(OStorageRemoteThread.java:433) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.index.OIndexManagerRemote.createIndex(OIndexManagerRemote.java:58) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.index.OIndexManagerRemote.createIndex(OIndexManagerRemote.java:75) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:69) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1233) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1179) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.metadata.schema.OClassImpl.createIndex(OClassImpl.java:1175) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.metadata.schema.OClassAbstractDelegate.createIndex(OClassAbstractDelegate.java:237) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.epersona_gdb.Database.addType(Database.java:197) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.epersona_gdb.Database.validateType(Database.java:137) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.epersona_gdb.ePersonaGraphIndexer.readDocument(ePersonaGraphIndexer.java:151) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.epersona_gdb.ePersonaGraphIndexer.readDocuments(ePersonaGraphIndexer.java:81) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.epersona_gdb.ePersonaGraphIndexer.processFile(ePersonaGraphIndexer.java:60) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.XMLFileReader.call(XMLFileReader.java:100) > 03 Apr 2014 11:18:03 - decapper - INFO - at > dejavu.indexer.XMLFileReader.call(XMLFileReader.java:25) > 03 Apr 2014 11:18:03 - decapper - INFO - at > java.util.concurrent.FutureTask.run(FutureTask.java:273) > 03 Apr 2014 11:18:03 - decapper - INFO - at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156) > 03 Apr 2014 11:18:03 - decapper - INFO - at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:626) > 03 Apr 2014 11:18:03 - decapper - INFO - at > java.lang.Thread.run(Thread.java:804) > 03 Apr 2014 11:18:03 - decapper - INFO - Caused by: > com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring > shared lock against resource of class : class > com.orientechnologies.common.concur.resource.OSharedResourceAdaptiveExternal > with timeout=600000 > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.common.concur.resource.OSharedResourceAdaptive.acquireSharedLock(OSharedResourceAdaptive.java:120) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.common.concur.resource.OSharedResourceAdaptiveExternal.acquireSharedLock(OSharedResourceAdaptiveExternal.java:40) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.getPhysicalClusterNameById(OLocalPaginatedStorage.java:1770) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.db.raw.ODatabaseRaw.getClusterNameById(ODatabaseRaw.java:385) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.db.ODatabaseWrapperAbstract.getClusterNameById(ODatabaseWrapperAbstract.java:195) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:158) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.index.OIndexManagerProxy.createIndex(OIndexManagerProxy.java:74) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLCreateIndex.execute(OCommandExecutorSQLCreateIndex.java:218) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:57) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.storage.OStorageEmbedded.executeCommand(OStorageEmbedded.java:96) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.storage.OStorageEmbedded.command(OStorageEmbedded.java:85) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:59) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1329) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:321) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:126) > 03 Apr 2014 11:18:03 - decapper - INFO - at > com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:45) > > Would be great to have a comment from development team regarding this > behavior. Al stack traces are visible from snapshots. > > Thanks! > > -Andrey > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > > > -- > Best regards, > Andrey Lomakin. > > Orient Technologies > the Company behind OrientDB > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
