Add more disk space usage checks #2206

issue sipa opened this issue on January 23, 2013
  1. sipa commented at 4:02 PM on January 23, 2013: member

    Currently, there are only disk space usage checks before writing block data. The largest blobs of data are written when flushing the coindb, though, so this would also need a check.

  2. gmaxwell commented at 5:11 PM on January 23, 2013: contributor

    Due to fa45c26a0e5d3597814cef5ebd64e3db1b3b017d it doesn't even test when writing blocks anymore (because pre-allocation is infrequent it effectively never tests at runtime)

  3. sipa commented at 7:00 PM on January 23, 2013: member

    @gmaxwell Right, it's only at pre-allocation time (which makes sense, when just looking at block storage), but we still need to prevent out-of-disk-space when doing coincache flushes, as these are large bulk writes.

  4. sipa cross-referenced this on Jan 28, 2013 from issue Improve error handling during validation by sipa
  5. gavinandresen commented at 8:29 PM on January 30, 2013: contributor

    Fixed by pull #2224

  6. gavinandresen closed this on Jan 30, 2013

  7. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC