hyperledger / hyperledger/fabric

Added logic to divide and save block files by specific number

Open
#3,161 5 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.