Description
- Create 2 node cluster(KV,Eventing)
- Deploy handler code
- Delete the source bucket
Seeing status as deploying , Hence can not be undeployed or deleted via UI. But can be deleted via api
DELETE http://10.143.190.102:8096/api/v1/functions/test
|
Expected: it should be undeployed
Even though there is no consumer running ,
root@node2-cb600-ubuntu16:/opt/couchbase/var/lib/couchbase/logs# ps -ef | grep consumer
|
root 21547 20783 0 22:50 pts/0 00:00:00 grep --color=auto consumer
|
api/v1/status giving status as deploying
{
|
"apps": [
|
{
|
"name": "test",
|
"composite_status": "deploying",
|
"num_deployed_nodes": 0,
|
"deployment_status": true,
|
"processing_status": true
|
}
|
],
|
"num_eventing_nodes": 1
|
}
|
Attachments
Issue Links
- relates to
-
MB-30377 Undeploy Function when Source bucket is Deleted
- Closed