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

Docs in destination bucket is more than expected for non default vbuckets + n1ql + doc timer tests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 6.0.0
    • 6.0.0
    • eventing
    • 6.0.0-1643
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Scripts to Repro

      ./testrunner -i /tmp/testexec.32170.ini -p get-cbcollect-info=True -t eventing.eventing_sanity.EventingSanity.test_doc_timer_events_from_handler_code_with_n1ql,nodes_init=4,services_init=kv-eventing-eventing:index-eventing:n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True,vbuckets=135
      

      ./testrunner -i /tmp/testexec.32170.ini -p get-cbcollect-info=True -t eventing.eventing_sanity.EventingSanity.test_cron_timer_events_from_handler_code_with_n1ql,nodes_init=4,services_init=kv-eventing-eventing:index-eventing:n1ql,dataset=default,groups=simple,reset_services=True,skip_cleanup=True,vbuckets=535
      

      Log : http://qa.sc.couchbase.com/job/test_suite_executor/92127/consoleText

      I retried the test on local cluster and left the cluster for 2 hours , the destination bucket ran into hard out of memory error.

      I have marked this bug critical even though n1ql is beta and non default vbucket is not suggested for customers. Feel free to reduce the priority if its related to those.

      Logs attached.

      Handler Code

       

      function OnUpdate(doc,meta) {
          var expiry = new Date();
          expiry.setSeconds(expiry.getSeconds() + 5);
          var context = {docID : meta.id, random_text : "e6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh0R7Aumoe6cZZGHuh07Aumoe6cZZGHuh07Aumoe6cZZGHuh07Aumoe6"};
          createTimer(timerCallback, expiry, meta.id, context);
      }
      function timerCallback(context) {
          var query = INSERT INTO dst_bucket ( KEY, VALUE ) VALUES ( UUID() ,'timerCallback');
          // query.execQuery();
      }
      

       

      Attachments

        1. test_6.zip
          17.61 MB
        2. test_8.zip
          23.41 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            satya.nand Satya Nand (Inactive)
            Balakumaran.Gopal Balakumaran Gopal
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty