Project

General

Profile

Task #883

Updated by Aaron Marcuse-Kubitza about 10 years ago

* running into the disk space hard limit causes crashes, and should be avoided if at all possible 
 * Postgres itself does not have a mechanism to do this, but our scripts could do this instead 

 * @lib/sql.py@ should trap @"OperationalError: could not extend file "...": No space left on device"@ and handle it by pausing until the disk space goes back down, and then retrying the last SQL command 
 ** the last SQL command does not need to be idempotent, because the error means that it was rolled back

Back