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

Replication stuck after bucket recreation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 6.5.0
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      Found whilst trying to recreate a performance regression. Recreates on current kv master - 71ab21fdca5c21b9db455fecaef06d3fe1cdeced.

      Environment
      Mancouch
      LD_LIBRARY_PATH=../install/lib/ COUCHBASE_CPU_COUNT=2 ./cluster_run -n2

      Issue
      Replication gets stuck after load phase (no ops, dcp replication queue remains constant at a non-zero value)

      Steps to reproduce

      1. Create bucket (51200MB size, everything else default)
      2. Run load phase - not sure if necessary

        time cbc-pillowfight -U localhost:9000/bucket1 -u admin -P admin1 --batch-size 1000 --num-items=20000000 --min-size 256 --max-size 256 --persist-to 0 --replicate-to 0 --populate-only --num-threads 12
        

      3. Wait for queue to drain
      4. Delete bucket
      5. Wait for orphan bucket warning to disappear from Activity in UI
      6. Create bucket with same name as first
      7. Run load phase
      8. Observe dcp replication queue stats - stuck at non-zero value

      Attachments

        1. n_0.zip
          41.12 MB
        2. n_0.zip
          9.68 MB
        3. n_0NoGdb.zip
          9.07 MB
        4. n_1.zip
          31.32 MB
        5. n_1.zip
          9.36 MB
        6. n_1NoGdb.zip
          8.57 MB
        7. strace_kv_engine.out
          1.90 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ben.huddleston Ben Huddleston
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty