Hyperledger Fabric is an enterprise-grade permissioned distributed ledger framework for developing solutions and applications. Its modular and versatile design satisfies a broad range of industry use cases. It offers a unique approach to consensus that enables performance at scale while preserving privacy.
Current Status
https://github.com/hyperledger/fabric/blob/94590aa4332b20350e8aee5572a8cfd29164221c/common/ledger/blkstorage/blockfile_mgr.go#L425-L428
A block stream is opened to sync block index. After used, we should close that block stream.
Expected
The block stream
stream
is closed after used.Solution
simply add
defer stream.close()
.Please let us know if you plan to work on this.
Maybe.