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

Metadata bucket not getting cleared even when all handlers are undeployed

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Yes

      Description

      Build: 6.6.1-9213,6.6.1-9207 passed on 6.6.1-9198

      Test: Multi handle and multi bucket

      ./testrunner -i /tmp/testexec.47573.ini -p get-cbcollect-info=True,GROUP=multihandler_multibucket -t eventing.eventing_multihandler.EventingMultiHandler.test_multiple_handle_multiple_buckets_preload,GROUP=multihandler_multibucket,worker_count=3,reset_services=True,dataset=default,skip_cleanup=True,num_handlers=15,groups=simple,nodes_init=4,deploy_handler=15,num_dst_buckets=0,handler_code=handler_code/ABO/insert.js,num_pause=10,num_src_buckets=10,sequential=True,services_init=kv-eventing-index-n1ql,get-cbcollect-info=True 

       It's happening when we pause -> undeploy 

        Attachments

          Issue Links

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

            Activity

            Hide
            ankit.prabhu Ankit Prabhu added a comment -

            During pause we unwatch metadata bucket. When we undeploy eventing cleanup routine won't receive metadata handler for that function so it exits. Other handler work without any problem. This won't have any functional issue. New handler with same function name won't miss any event.

            Show
            ankit.prabhu Ankit Prabhu added a comment - During pause we unwatch metadata bucket. When we undeploy eventing cleanup routine won't receive metadata handler for that function so it exits. Other handler work without any problem. This won't have any functional issue. New handler with same function name won't miss any event.
            Hide
            jeelan.poola Jeelan Poola added a comment -

            Thank you Ankit Prabhu for the analysis & confirmation! Moving this to CC & 6.6.2. We would need to release note this for 6.6.1. Cc Jon Strabala.

            Show
            jeelan.poola Jeelan Poola added a comment - Thank you Ankit Prabhu for the analysis & confirmation! Moving this to CC & 6.6.2. We would need to release note this for 6.6.1. Cc Jon Strabala .
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-4064 contains eventing commit 4f3a282 with commit message:
            MB-43272: Don't unwatch metadata bucket when handler is paused

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-4064 contains eventing commit 4f3a282 with commit message: MB-43272 : Don't unwatch metadata bucket when handler is paused
            Hide
            sujay.gad Sujay Gad added a comment -

            Verified using Couchbase Server 7.0.0 - 4226
            Metadata bucket cleared when handler moves from paused to undeployed state.

             

            Show
            sujay.gad Sujay Gad added a comment - Verified using Couchbase Server 7.0.0 - 4226 Metadata bucket cleared when handler moves from paused to undeployed state.  

              People

              Assignee:
              jeelan.poola Jeelan Poola
              Reporter:
              vikas.chaudhary Vikas Chaudhary
              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