Page MenuHomeSoftware Heritage

cassandra.cql: Fix return type of stat_counters.
ClosedPublic

Authored by vlorentz on Aug 12 2020, 6:01 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 D3765 (id=13250)

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

Updating 6675286c..fc80a7f0
Fast-forward
 swh/storage/cassandra/cql.py   | 17 +++++++----------
 swh/storage/cassandra/model.py | 35 ++++++++++++++++++++++++++++++++++-
 2 files changed, 41 insertions(+), 11 deletions(-)
Changes applied before test
commit fc80a7f06ae8e1fccbe3ce2ee7576d2e9c5ff93a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:44 2020 +0200

    cassandra.cql: Fix return type of stat_counters.

commit 267f48024bfd257e91aa95f6e1ae99320587add7
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:13 2020 +0200

    cassandra.model: Add PARTITION_KEY and CLUSTERING_KEY to the model classes.
    
    They will be used by the in-mem implementation of CqlRunner.

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

Build is green

Patch application report for D3765 (id=13273)

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

Updating 6675286c..a0037c5d
Fast-forward
 swh/storage/cassandra/cql.py      | 17 +++++-------
 swh/storage/cassandra/model.py    | 35 +++++++++++++++++++++++-
 swh/storage/cassandra/storage.py  | 45 ++++++++++++++++---------------
 swh/storage/tests/test_storage.py | 56 ++++++++++++++++++++++++++++++++++++++-
 4 files changed, 119 insertions(+), 34 deletions(-)
Changes applied before test
commit a0037c5d12a5694bfab749896db8546b7176b633
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:44 2020 +0200

    cassandra.cql: Fix return type of stat_counters.

commit f53cc6fc8606e9f97af0c3eea0ce0d7ec46d486a
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:13 2020 +0200

    cassandra.model: Add PARTITION_KEY and CLUSTERING_KEY to the model classes.
    
    They will be used by the in-mem implementation of CqlRunner.

commit dd320a63b32b0e79c6f90a83236d607093219359
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 20:25:23 2020 +0200

    cassandra: Make origin_visit_get_latest filter using any status of a visit, instead of just the last.
    
    This fixes a mismatch in behavior with the pg and the in-mem storages

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/758/ for more details.

This revision is now accepted and ready to land.Aug 13 2020, 12:08 AM

Build is green

Patch application report for D3765 (id=13320)

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

Updating 6675286c..ef060053
Fast-forward
 swh/storage/cassandra/cql.py      | 17 +++++-----
 swh/storage/cassandra/model.py    | 35 ++++++++++++++++++++-
 swh/storage/cassandra/storage.py  | 47 ++++++++++++++--------------
 swh/storage/tests/test_storage.py | 66 ++++++++++++++++++++++++++++++++++++---
 4 files changed, 127 insertions(+), 38 deletions(-)
Changes applied before test
commit ef0600539bb7716380791e9c49619387c30407f4
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:44 2020 +0200

    cassandra.cql: Fix return type of stat_counters.

commit 1266b6a7fe5006746e579e1ec28b4fb600b1188e
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 13:16:13 2020 +0200

    cassandra.model: Add PARTITION_KEY and CLUSTERING_KEY to the model classes.
    
    They will be used by the in-mem implementation of CqlRunner.

commit 3dc69aaa42e76e373c4d23c1e8d98af5a804970f
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Wed Aug 12 20:25:23 2020 +0200

    cassandra: Make origin_visit_get_latest filter using any status of a visit, instead of just the last.
    
    This fixes a mismatch in behavior with the pg and the in-mem storages

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/792/ for more details.