Reserve space for certain events ahead of time.
commita866a593497efc3b476343726f9903bd27a63e5b
authorKeith Rarick <kr@xph.us>
Tue, 29 Sep 2009 02:13:40 +0000 (28 19:13 -0700)
committerKeith Rarick <kr@xph.us>
Tue, 29 Sep 2009 02:13:40 +0000 (28 19:13 -0700)
tree885741eeba6b3246642eb92142202503267748e7
parent74b1e533d6e247bd46dbc266eac52e2769601769
Reserve space for certain events ahead of time.

Delete records are appended to the binlog just like everything else.
That means if there's no disk space available, the user won't be able to
delete jobs in an attempt to free up disk space. So we allocate and
reserve space ahead of time for deleting a job.

Also quite a bit of refactoring in this commit.
beanstalkd.c
binlog.c
binlog.h