Page MenuHomeSoftware Heritage

cassandra: Fix wrong algo reported in HashCollision, because of variable shadowing.
ClosedPublic

Authored by vlorentz on Aug 12 2020, 8:40 PM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D3783 (id=13270)

Rebasing onto 6675286c4f...

Current branch diff-target is up to date.
Changes applied before test
commit 1d45c5a0debc2e45ceee5effe565aab36905eb1c
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 19:08:17 2020 +0200

    cassandra: Fix wrong algo reported in HashCollision, because of variable shadowing.

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/755/ for more details.

This revision is now accepted and ready to land.Aug 14 2020, 2:44 PM

Build is green

Patch application report for D3783 (id=13317)

Could not rebase; Attempt merge onto 6675286c4f...

Updating 6675286c..006eeeca
Fast-forward
 swh/storage/cassandra/storage.py  |  8 ++++----
 swh/storage/tests/test_storage.py | 12 ++++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)
Changes applied before test
commit 006eeecaba7523f407fa0e253d6c832ea246d959
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 19:08:17 2020 +0200

    cassandra: Fix wrong algo reported in HashCollision, because of variable shadowing.

commit da287313765da62d34dc0dca7c22dbd61f40504f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Fri Aug 14 15:15:54 2020 +0200

    cassandra: Fix content_missing_per_sha1 when its parameter has length != 1.

See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/789/ for more details.