Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-35294

[Workload] Transaction support in Jepsen is currently broken.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • master
    • master
    • Jepsen
    • None

    Description

      Attempting to run a workload with transactions enabled causes Jepsen to crash with a ClassNotFoundException. This is likely due to an incompatability between the versions of com.couchbase.client/core-io and the couchbase-transactions library used in Jepsen.

      Stack trace:

      ERROR [2019-07-26 17:27:12,857] main - jepsen.cli Oh jeez, I'm sorry, Jepsen broke. Here's why:
      java.lang.NoClassDefFoundError: com/couchbase/client/core/error/DocumentDoesNotExistException
      	at com.couchbase.transactions.TransactionsReactive.<init>(TransactionsReactive.java:64) ~[couchbase-transactions-1.0.0-alpha.3.jar:na]
      	at com.couchbase.transactions.TransactionsReactive.create(TransactionsReactive.java:55) ~[couchbase-transactions-1.0.0-alpha.3.jar:na]
      	at com.couchbase.transactions.Transactions.<init>(Transactions.java:98) ~[couchbase-transactions-1.0.0-alpha.3.jar:na]
      	at com.couchbase.transactions.Transactions.create(Transactions.java:62) ~[couchbase-transactions-1.0.0-alpha.3.jar:na]
      	at couchbase.cbclients$new_client.invokeStatic(cbclients.clj:45) ~[classes/:na]
      	at couchbase.cbclients$new_client.invoke(cbclients.clj:27) ~[classes/:na]
      	at clojure.core$partial$fn__5839.invoke(core.clj:2623) ~[clojure-1.10.1.jar:na]
      	at clojure.core$repeatedly$fn__6463.invoke(core.clj:5149) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.LazySeq.sval(LazySeq.java:42) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.LazySeq.seq(LazySeq.java:51) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.RT.seq(RT.java:535) ~[clojure-1.10.1.jar:na]
      	at clojure.core$seq__5402.invokeStatic(core.clj:137) ~[clojure-1.10.1.jar:na]
      	at clojure.core$take$fn__5909.invoke(core.clj:2884) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.LazySeq.sval(LazySeq.java:42) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.LazySeq.seq(LazySeq.java:51) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.RT.seq(RT.java:535) ~[clojure-1.10.1.jar:na]
      	at clojure.core$seq__5402.invokeStatic(core.clj:137) ~[clojure-1.10.1.jar:na]
      	at clojure.core$dorun.invokeStatic(core.clj:3133) ~[clojure-1.10.1.jar:na]
      	at clojure.core$doall.invokeStatic(core.clj:3148) ~[clojure-1.10.1.jar:na]
      	at clojure.core$doall.invoke(core.clj:3148) ~[clojure-1.10.1.jar:na]
      	at couchbase.cbclients$get_client_from_pool$fn__2521.invoke(cbclients.clj:63) ~[classes/:na]
      	at couchbase.cbclients$get_client_from_pool.invokeStatic(cbclients.clj:59) ~[classes/:na]
      	at couchbase.cbclients$get_client_from_pool.invoke(cbclients.clj:57) ~[classes/:na]
      	at couchbase.clients.NewRegisterClient.open_BANG_(clients.clj:235) ~[classes/:na]
      	at jepsen.client$open_compat_BANG_.invokeStatic(client.clj:43) ~[jepsen-0.1.14.jar:na]
      	at jepsen.client$open_compat_BANG_.invoke(client.clj:38) ~[jepsen-0.1.14.jar:na]
      	at jepsen.core.ClientWorker.setup_worker_BANG_(core.clj:324) ~[jepsen-0.1.14.jar:na]
      	at jepsen.core$run_workers_BANG_$setup__5503.invoke(core.clj:207) ~[jepsen-0.1.14.jar:na]
      	at dom_top.core$real_pmap_helper$build_thread__214$fn__215.invoke(core.clj:146) ~[jepsen-0.1.14.jar:na]
      	at clojure.lang.AFn.applyToHelper(AFn.java:152) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.AFn.applyTo(AFn.java:144) ~[clojure-1.10.1.jar:na]
      	at clojure.core$apply.invokeStatic(core.clj:665) ~[clojure-1.10.1.jar:na]
      	at clojure.core$with_bindings_STAR_.invokeStatic(core.clj:1973) ~[clojure-1.10.1.jar:na]
      	at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1973) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.RestFn.invoke(RestFn.java:425) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.AFn.applyToHelper(AFn.java:156) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.RestFn.applyTo(RestFn.java:132) ~[clojure-1.10.1.jar:na]
      	at clojure.core$apply.invokeStatic(core.clj:669) ~[clojure-1.10.1.jar:na]
      	at clojure.core$bound_fn_STAR_$fn__5749.doInvoke(core.clj:2003) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.RestFn.invoke(RestFn.java:397) ~[clojure-1.10.1.jar:na]
      	at clojure.lang.AFn.run(AFn.java:22) ~[clojure-1.10.1.jar:na]
      	at java.base/java.lang.Thread.run(Thread.java:844) ~[na:na]
      Caused by: java.lang.ClassNotFoundException: com.couchbase.client.core.error.DocumentDoesNotExistException
      	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582) ~[na:na]
      	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190) ~[na:na]
      	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ~[na:na]
      	... 42 common frames omitted
      

      Attachments

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

        Activity

          removing as assigned to me to allow someone else to pick up. Also its worth reading Sven Signer comments on the gerrit code review.

          richard.demellow Richard deMellow added a comment - removing as assigned to me to allow someone else to pick up. Also its worth reading Sven Signer comments on the gerrit code review.
          asad.zaidi Asad Zaidi (Inactive) added a comment - - edited

          Closing as duplicate of MB-45690.

          Transactions support was removed in MB-46033 and will be re-introduced in MB-45690.

          asad.zaidi Asad Zaidi (Inactive) added a comment - - edited Closing as duplicate of MB-45690 . Transactions support was removed in MB-46033 and will be re-introduced in MB-45690 .

          People

            owend Daniel Owen
            sven.signer Sven Signer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty