-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
Problem: when the disk containing the sqlite database fills up on rank 0, flux does not handle it well, e.g.
- content.flush: allow return of "doomsday" errors #6155
- kvs.err[0]: content_load_completion: content_load_get: No such file or directory #6154
- rc3: can hang if disk out of space (ENOSPC) #6100
- idea: do not start broker if content store ENOSPC on startup #6099
- content: pending stores are stuck after ENOSPC from backing store #5978 (edit via @chu11)
@trws suggested providing an option to pre-allocate space in the database.
One approach is to write a huge blob to the db and remove it:
https://stackoverflow.com/questions/827010/sqlite-pre-allocating-database-size
Some steps may also need to be taken to ensure writes to content.sqlite-wal do not fail. More study required on that one:
https://www.sqlite.org/wal.html
Metadata
Metadata
Assignees
Labels
No labels