canyon-network / canyon

A sustainable permanent storage layer for Web3.0

Home Page:https://canyon-network.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monitor the available disk space for the data storage

liuchengxu opened this issue · comments

The disk space is critical for running a storage chain node, the node is technically unable to sync/store more data when the local storage is close to full. Before the node is running out of the disk space, we should stop the transaction data syncing/receiving and log a warning message to the console.