[Bug 1877844] Re: [SRU] data corruption issue in all versions before 1.1.11

Chris Halse Rogers 1877844 at bugs.launchpad.net
Wed Dec 2 02:17:42 UTC 2020


It looks like this has been noticed on the borgbackup GitHub, resulting
in
https://github.com/ThomasWaldmann/borg/commit/aa3938a7a53c29d35df8567f4ebba4c2c76e7342
.

As it's just a test, this might be a sensible thing to cherry-pick? It'd
turn the test case from “back up lots of data, and hope you hit the edge
case” to “the tests, run as a part of the build, complete without
errors”.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to xxhash in Ubuntu.
https://bugs.launchpad.net/bugs/1877844

Title:
  [SRU] data corruption issue in all versions before 1.1.11

Status in borgbackup package in Ubuntu:
  Fix Released
Status in xxhash package in Ubuntu:
  Fix Released
Status in borgbackup source package in Xenial:
  In Progress
Status in borgbackup source package in Bionic:
  In Progress
Status in xxhash source package in Bionic:
  In Progress
Status in borgbackup source package in Focal:
  In Progress
Status in borgbackup source package in Groovy:
  Fix Released
Status in xxhash source package in Groovy:
  Fix Released
Status in borgbackup package in Debian:
  Fix Released

Bug description:
  [ Impact ]
  * Data is corrupted on some specific conditions

  [ Regression Potential ]
  * Really low, the package has an autopkgtestsuite that runs thousand of tests, and the fix is since one year part of upstream code

  [ Test Case ]
  * Backup some TB of data, and try to read the index, it should be not corrupted

  [ Other info ]
  Per the "important notes" section of the borg docs:

  https://borgbackup.readthedocs.io/en/stable/changes.html

  "Pre-1.1.11 potential index corruption / data loss issue
  A bug was discovered in our hashtable code, see issue #4829. The code is used for the client-side chunks cache and the server-side repo index.

  Although borg uses the hashtables very heavily, the index corruption
  did not happen too frequently, because it needed specific conditions
  to happen.

  Data loss required even more specific conditions, so it should be rare
  (and also detectable via borg check). [..]"

  Theoretically affects all Ubuntu releases before 20.04 (focal.)

  I know this is a universe package, but if anyone was up for an SRU
  that would be fantastic..

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/borgbackup/+bug/1877844/+subscriptions



More information about the foundations-bugs mailing list