Read Lock happening while reading cuncurrrently

37 views
Skip to first unread message

gurpreet....@gmail.com

unread,
Jun 15, 2017, 10:17:37 PM6/15/17
to OrientDB
Guys,

I am facing ReadLock problem while reading data concurrently,below is the error message by orinetdb.
This issue is coming up very frequently in concurrent environment. i am using orientdb 2.2.17.

Is this bug in orientdb ..?


 
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)

        at java
.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)

        at java
.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)

        at java
.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)

        at java
.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:209)

        at java
.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:285)

        at com
.orientechnologies.common.concur.lock.OAdaptiveLock.lock(OAdaptiveLock.java:100)

        at com
.orientechnologies.orient.enterprise.channel.OChannel.acquireReadLock(OChannel.java:129)

        at com
.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:178)

        at com
.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:167)

        at com
.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2225)

        at com
.orientechnologies.orient.client.remote.OStorageRemote$27.execute(OStorageRemote.java:1200)

        at com
.orientechnologies.orient.client.remote.OStorageRemote$2.execute(OStorageRemote.java:198)

        at com
.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:243)

        at com
.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetry(OStorageRemote.java:195)

        at com
.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:206)

        at com
.orientechnologies.orient.client.remote.OStorageRemote.command(OStorageRemote.java:1176)

        at com
.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)

        at com
.tinkerpop.blueprints.impls.orient.OrientGraphCommand.execute(OrientGraphCommand.java:49)

        at org
.digi.lg.service.vertx.graph.GraphDataHandler.getSingleVertx(GraphDataHandler.java:482)

        at org
.digi.lg.service.graph.apis.Register.lambda$registerAsset$4(Register.java:546)

        at org
.digi.lg.service.graph.apis.Register$$Lambda$116/1907970168.accept(Unknown Source)

        at java
.util.ArrayList.forEach(ArrayList.java:1249)

        at org
.digi.lg.service.graph.apis.Register.registerAsset(Register.java:147)

        at org
.digi.lg.service.graph.apis.Register.lambda$handle$0(Register.java:92)

        at org
.digi.lg.service.graph.apis.Register$$L ambda$107/2033653549.handle(Unknown Source)

        at io
.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:271)

        at io
.vertx.core.impl.ContextImpl$$Lambda$24/747915287.run(Unknown Source)

        at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java
.lang.Thread.run(Thread.java:745)



user.w...@gmail.com

unread,
Jun 16, 2017, 9:02:31 AM6/16/17
to OrientDB
Hi,

there's a more recent version of OrientDB, v 2.2.21 is the latest, can you try it?

Hope it helps.

Regards,
Michela
Reply all
Reply to author
Forward
0 new messages