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

Eventing system test : Item count mismatch in source and dest buckets in case of handler code consisting bucket ops for OnUpdate and OnDelete

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.5.0
    • 5.5.0
    • eventing
    • Untriaged
    • No

    Description

      Build : 5.1.0-1531

      The simple sanity test does the following :
      1. 4 node cluster - 3 kv and 1 eventing
      2. Create source and dest buckets.
      3. One handler function that does simple bucket ops in dest bucket in OnUpdate and OnDelete events (definition attached)
      4. Run KV ops for 10 mins at 5000 ops/sec with only creates and deletes in the workload.
      5. Allow eventing to process all mutations.
      6. Check the items in source and dest buckets. They should be equal.

      Actual result : There is a mismatch, 20 items less in the dest bucket compared to the source buckets.
      Also, from the stats do not help figuring out about the missing 20 items. This is also an issue from the supportability perspective.

      Stats:

      {
        "event_processing_stats": {
          "DCP_DELETION": 594518,
          "DCP_MUTATION": 2500700,
          "DCP_SNAPSHOT": 951738,
          "DCP_STREAMREQ": 1024
        },
        "events_remaining": {
          "dcp_backlog": 0
        },
        "execution_stats": {
          "agg_queue_size": 0,
          "doc_timer_create_failure": 0,
          "non_doc_timer_create_failure": 0,
          "on_delete_failure": 491068,
          "on_delete_success": 103450,
          "on_update_failure": 0,
          "on_update_success": 2500700
        },
        "failure_stats": {
          "bucket_op_exception_count": 491068,
          "checkpoint_failure_count": 0,
          "n1ql_op_exception_count": 0,
          "timeout_count": 0
        },
        "function_name": "bucket_op_function",
        "lcb_exception_stats": {
          "13": 491068
        },
        "worker_pids": {
          "worker_bucket_op_function_0": 2007,
          "worker_bucket_op_function_1": 2004,
          "worker_bucket_op_function_2": 2005
        }
      }
      

      Eventing logs attached. But since the logs have rolled over, not all logs could be captured.

      Attachments

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

        Activity

          People

            Gautham.Banasandra Gautham Banasandra (Inactive)
            mihir.kamdar Mihir Kamdar (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