Ticket #19 (closed defect: fixed)
bbackupd artificial block check prevents setting low or zero soft-limit
| Reported by: | gniemcew | Owned by: | chris |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | bbackupd | Version: | 0.10 |
| Keywords: | soft-limit hard-limit threshold exceeded storage soft hard limit | Cc: |
Description
The "threshold for uploading new stuff" bbackupd artificial block check requires bbstored to maintain at least soft-limit plus 1/3 of soft/hard limit delta to attempt a backup, regardless of the (potentially smaller) new backup size. If the soft limit is set low (to retain few old/deleted blocks) or set to zero (to discard all old/deleted blocks on every housekeeping run), this check causes bbackupd to abandon a backup, even though there might be plenty of free blocks on a server. Attached patch changes the check in question to investigate a hard limit only.
Attachments
Change History
comment:1 Changed 5 years ago by chris
- Owner changed from ben to chris
- Status changed from new to assigned
- Keywords soft-limit hard-limit threshold exceeded soft hard limit added; soft-limit, hard-limit, threshold, exceeded, removed
Ping on ticket 19? Any thoughts about whether we should apply these patches, or what a better solution would be?
This was discussed in the following broken thread:
http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002032.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002034.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002037.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002042.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002047.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002063.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002066.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002070.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-January/002072.html http://lists.warhead.org.uk/pipermail/boxbackup-dev/2007-February/002082.html
comment:3 Changed 5 years ago by chris
(In [1663]) New win32 native build (1662) with the following fixes and new features:
- Fix backup, restore and compare of files over 2 GB, hopefully ([1585], [1586], [1587], [1598], [1599], [1621], [1623])
- Notify (log) during full file uploads ([1594])
- Improve error messages in bbackupquery when comparing or getting a file fails with an exception ([1597], [1600])
- Improve error reporting in bbackupquery ([1638])
- Save unused locations across bbackupd restarts, so that they will be deleted when their time is up, thanks to Gary ([1658], refs #18)

