Details
-
Bug
-
Resolution: Duplicate
-
Major
-
5.5.0
-
Untriaged
-
-
No
Description
Build : 5.1.0-1382
Unable to delete a function. This function was paused and resumed. Also there were attempts to pause this function while it was in bootstrapping (and we ran into MB-26748).
Steps :
1. Create a src_bucket, dst_bucket and a metadata bucket.
2. Create a function on update like below :
function OnUpdate(doc, meta)
function OnDelete(doc) {
}
3. Deploy the function.
4. Load 1M items in the src bucket
5. After 10-15s, try to pause the Function.
6. An error msg is flashed on the UI : "Function "firstFunction" may be undergoing bootstrap. Please try later."
7. Wait for bootstrapping to complete, and then pause the function. Resume it after a couple mins.
8. After some time, undeploy the function and attempt to delete the function. Delete does not work.