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

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

          Activity

          ankit.prabhu Ankit Prabhu created issue -
          ankit.prabhu Ankit Prabhu made changes -
          Field Original Value New Value
          Link This issue relates to CBSE-9247 [ CBSE-9247 ]
          ankit.prabhu Ankit Prabhu made changes -
          Link This issue is cloned by MB-42961 [ MB-42961 ]
          ankit.prabhu Ankit Prabhu made changes -
          Assignee Jeelan Poola [ jeelan.poola ] Ankit Prabhu [ ankit.prabhu ]
          jeelan.poola Jeelan Poola made changes -
          Summary Undeploy/Pause will close bucket reference even if different functions using that bucket Undeploy/Pause closes source bkt reference even when there are other functions deployed against it
          jeelan.poola Jeelan Poola made changes -
          Affects Version/s 6.6.1 [ 17002 ]
          Affects Version/s Cheshire-Cat [ 15915 ]
          jeelan.poola Jeelan Poola made changes -
          Summary Undeploy/Pause closes source bkt reference even when there are other functions deployed against it [FP Undeploy/Pause closes source bkt reference even when there are other functions deployed against it
          jeelan.poola Jeelan Poola made changes -
          Summary [FP Undeploy/Pause closes source bkt reference even when there are other functions deployed against it [FP MB-42961] : Undeploy/Pause closes source bkt reference even when there are other functions deployed against it
          jeelan.poola Jeelan Poola made changes -
          Link This issue backports to MB-42961 [ MB-42961 ]
          jeelan.poola Jeelan Poola made changes -
          Link This issue is cloned by MB-42961 [ MB-42961 ]
          ankit.prabhu Ankit Prabhu made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          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
          chanabasappa.ghali Chanabasappa Ghali made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          lynn.straus Lynn Straus made changes -
          Fix Version/s 7.0.0 [ 17233 ]
          lynn.straus Lynn Straus made changes -
          Fix Version/s Cheshire-Cat [ 15915 ]

            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