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

[FP MB-42961] : Undeploy/Pause closes source bkt reference even when there are other functions deployed against it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Cheshire-Cat, 6.6.0, 6.6.1
    • Fix Version/s: 7.0.0
    • Component/s: eventing
    • Labels:
      None
    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      Unknown

      Attachments

        Issue Links

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-3951 contains eventing commit 3780bb7 with commit message:
          MB-42960: Refresh bucket object when its out of sync with the bucket uuid

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3951 contains eventing commit 3780bb7 with commit message: MB-42960 : Refresh bucket object when its out of sync with the bucket uuid
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-3951 contains eventing commit f9feecf with commit message:
          MB-42960: Terminate callback if consumer is terminating and unwatch src bkt if we can not watch meta bkt

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3951 contains eventing commit f9feecf with commit message: MB-42960 : Terminate callback if consumer is terminating and unwatch src bkt if we can not watch meta bkt
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-3951 contains eventing commit 60322fa with commit message:
          MB-42960 : Remove watchBucketWithLock() from GetBucket() to avoid races

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3951 contains eventing commit 60322fa with commit message: MB-42960 : Remove watchBucketWithLock() from GetBucket() to avoid races
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-7.0.0-3951 contains eventing commit b2f5a14 with commit message:
          MB-42960: Unwatch bucket when all handlers listening on the bucket gets undeployed/paused

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3951 contains eventing commit b2f5a14 with commit message: MB-42960 : Unwatch bucket when all handlers listening on the bucket gets undeployed/paused
          Hide
          chanabasappa.ghali Chanabasappa Ghali added a comment -

          Followed below steps :
          System should have more than 1 functions deployed on the same src-bkt
          KV rebalance should be triggered
          As part of this KV rebalance, when eventing rebalance begins, undeploy one of the functions on src-bkt
          If system hits this race condition, rebalance will be stuck and will fail after 10 mins.

          Rebalance was successful and function was in un deployed state

          Verified with Enterprise Edition 7.0.0 build 4797

          Show
          chanabasappa.ghali Chanabasappa Ghali added a comment - Followed below steps : System should have more than 1 functions deployed on the same src-bkt KV rebalance should be triggered As part of this KV rebalance, when eventing rebalance begins, undeploy one of the functions on src-bkt If system hits this race condition, rebalance will be stuck and will fail after 10 mins. Rebalance was successful and function was in un deployed state Verified with Enterprise Edition 7.0.0 build 4797

            People

            Assignee:
            ankit.prabhu Ankit Prabhu
            Reporter:
            ankit.prabhu Ankit Prabhu
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty