go-threads icon indicating copy to clipboard operation
go-threads copied to clipboard

Unable to delete thread that had bucket in it

Open deefactorial opened this issue 5 years ago • 2 comments

If you create a bucket in a thread and you delete the bucket collection you are unable to delete the original thread. The deleted thread command succeeds but the thread remains in the thread list.

Steps to reproduce the issue: Create Thread > Create Bucket In Thread > Delete Collection Named Buckets in Thread > Delete Thread > List Threads

Expected Behavior: The thread should no longer be on the thread list.

deefactorial avatar Oct 23 '20 22:10 deefactorial

Can you provide a bit more detail here? When listing threads, is this via the cli? js libs?

carsonfarmer avatar Jan 12 '21 18:01 carsonfarmer

This is via the js libs. Essentially when you create a Bucket in a thread, the operation creates a collection in that thread called Buckets that contains meta-information about the buckets. If you perform a delete collection operation on the Buckets collection it prevents the Thread from being deleted.

deefactorial avatar Jan 12 '21 19:01 deefactorial