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

WAL::Attempting to start new txn while already in txn

    XMLWordPrintable

Details

    Description

      1. Have a 4 node cluster
      2. 2 buckets with replicas=2
      3. Loaded 1M items in each bucket
      4. Failover orchestrator node and in parallel load another 1M new docs in both the buckets.
      5. As soon as we trigger failover is see these messages in the logs:

      memcached.log.000018.txt:2020-01-13T00:17:24.233611-08:00 CRITICAL WAL::Attempting to start new txn while already in txn
      memcached.log.000018.txt:2020-01-13T00:17:24.233648-08:00 CRITICAL (bucket-0) magma_1 MagmaKVStore::rollback Rollback vb:125 status:Invalid: Transaction already active.
      memcached.log.000018.txt:2020-01-13T00:17:26.104566-08:00 CRITICAL WAL::Attempting to start new txn while already in txn
      memcached.log.000018.txt:2020-01-13T00:17:26.104595-08:00 CRITICAL (bucket-0) magma_0 MagmaKVStore::rollback Rollback vb:208 status:Invalid: Transaction already active.
      

      I also see that the data goes missing from the buckets but not 100% sure if it is due to the test issue or due to rollback.

      Attachments

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

        Activity

          People

            apaar.gupta Apaar Gupta
            ritesh.agarwal Ritesh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty