hyperledger / hyperledger/fabric
Added logic to divide and save block files by specific number
Open
- Dominant language
- Go
- Stars
- 16.7k
- Forks
- 9.1k
- Avg merge
- 5h 38m
- Merged PRs (30d)
- 26
Description
When the fabric nodes (peer, orderer) have a lot of blocks, **too many files are created in one directory**. In a specific file system, if there are too many files in one directory, there is **an issue that the speed of reading files becomes slow**. These are _blockfile_xxxxxx_ files in the '_/hyperledger/production/ledgersData/chains/chains/_' directory.
Is there any way to solve this? Or can the Hyperledger Fabric foundation update the related logic?
It would be nice to add 'logic to divide and save the directory when a specific number or a specific size of block files in one directory is reached'.
Contributor guide
Assessment
This issue has not been assessed yet.