Uploaded image for project: 'Distributed Transactions Java'
  1. Distributed Transactions Java
  2. TXNJ-61

YCSB: DocumentAlreadyInTransaction exceptions while running concurrent transactions with Durability Level None

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not a Bug
    • 1.0.0-alpha.4
    • None
    • None

    Description

      Getting "com.couchbase.transactions.error.attempts.DocumentAlreadyInTransaction " exceptions while running concurrent transactions with durability level NONE 

      Detailed log attached - worker_172.23.97.251.log_dur_level_none.zip

      Error Snippet :

      Transaction logger:24/Thread-3/03f38a13-e728-4989-8dee-aa2115a16f7c/345d0f15-7aa2-4b88-9c80-ef41aa57737f caught exception 'com.couchbase.transactions.error.attempts.DocumentAlreadyInTransaction: Document usertable:user4441073806199749893 is already in a transaction' in asyncInternal, rethrowing to rollback

      Transaction logger:24/Thread-3/03f38a13-e728-4989-8dee-aa2115a16f7c/345d0f15-7aa2-4b88-9c80-ef41aa57737f com.couchbase.transactions.AttemptContextReactive.checkAndHandleBlockingTxn(AttemptContextReactive.java:849)

      com.couchbase.transactions.AttemptContextReactive.lambda$null$17(AttemptContextReactive.java:401)

      reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:44)

      reactor.core.publisher.MonoPeek.subscribe(MonoPeek.java:71)

      reactor.core.publisher.MonoDoFinally.subscribe(MonoDoFinally.java:47)

      reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)

      reactor.core.publisher.Mono.block(Mono.java:1473)

      com.couchbase.transactions.AttemptContext.replace(AttemptContext.java:104)

      com.yahoo.ycsb.db.couchbase3.Couchbase3Client.lambda$transactionContext$0(Couchbase3Client.java:194)

      com.couchbase.transactions.TransactionsReactive.lambda$null$17(TransactionsReactive.java:356)

      reactor.core.publisher.MonoRunnable.subscribe(MonoRunnable.java:40)

      reactor.core.publisher.MonoOnErrorResume.subscribe(MonoOnErrorResume.java:44)

      reactor.core.publisher.MonoPeek.subscribe(MonoPeek.java:71)

      reactor.core.publisher.MonoPeek.subscribe(MonoPeek.java:71)

      reactor.core.publisher.Mono.subscribe(Mono.java:3589)

      reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.drain(MonoIgnoreThen.java:172)

      reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:56)

      reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:52)

      reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.drain(MonoIgnoreThen.java:153)

      reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.ignoreDone(MonoIgnoreThen.java:190)

      reactor.core.publisher.MonoIgnoreThen$ThenIgnoreInner.onComplete(MonoIgnoreThen.java:240)

      reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1478)

      reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:144)

      reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:192)

      reactor.core.publisher.FluxSubscribeOnValue$ScheduledScalar.run(FluxSubscribeOnValue.java:178)

      reactor.core.scheduler.ElasticScheduler$DirectScheduleTask.run(ElasticScheduler.java:292)

      reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)

      reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)

      java.util.concurrent.FutureTask.run(FutureTask.java:266)

      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)

      java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

      java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

      java.lang.Thread.run(Thread.java:748)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            No work has yet been logged on this issue.

            People

              graham.pople Graham Pople
              sharath.sulochana Sharath Sulochana (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty