IPFS should stop accepting pin requests/new files after hitting the StorageMax limit #7875
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
status/duplicate
This issue or pull request already exists
RubenKelevra commentedJan 21, 2021
IPFS will currently accept pins and new files for the MFS when way beyond StorageMax. This is an issue since there's no other measure in place to stop writing more data to the disk than that.
When the GC is on it cannot clean up when we just continue pinning stuff, since it's not allowed to clean pins up.
While changing StorageMax to a hard limit for pinning/mfs operation, it should affect any other operations like getting data from the network or DHT operations, so the node continues to be operational - it just cannot mark more data for storing it permanently.
An example:
IPFS is started on this machine with
--enable-gcon.This is somewhat related to this: #3066
The text was updated successfully, but these errors were encountered: