cello icon indicating copy to clipboard operation
cello copied to clipboard

Should channels be deletable?

Open dodo920306 opened this issue 4 months ago • 5 comments

Currently one can't delete channels directly with UI, but they can delete them from the dashboard via deleting the networks. However, such deleted channels still exist for the Fabric Nodes. Thus, should networks be unremovable once they have channels?

dodo920306 avatar Jul 31 '25 14:07 dodo920306

No. Network should not be deleted as long as it contains any orderer node.

yeasy avatar Aug 02 '25 01:08 yeasy

No. Network should not be deleted as long as it contains any channel or node.

However, currently nodes can't be deleted if it's the only orederer in a network.

dodo920306 avatar Aug 02 '25 01:08 dodo920306

No. Network should not be deleted as long as it contains any channel or node.

However, currently nodes can't be deleted if it's the only orederer in a network.

https://github.com/hyperledger-cello/cello/issues/690 In order to fix this issue, I made networks deletable even when there are nodes. Such tolerance conflict with your point.

dodo920306 avatar Aug 02 '25 01:08 dodo920306

Network is not used now (if not using the sys chan). Will delete this type of resource.

yeasy avatar Aug 02 '25 01:08 yeasy

Network is not used now (if not using the sys chan). Will delete this type of resource.

Totally agree. I will try to remove networks from the DB schemas in the future.

dodo920306 avatar Aug 02 '25 01:08 dodo920306