Page MenuHomeSoftware Heritage

Add an "index" for raw_extrinsic_metadata.id in swh.storage.cassandra
Closed, MigratedEdits Locked

Description

As we want to query both by target and deduplicate by hash (+possibly query by hash too), we need two tables: the current one (access by target) and one to get a ref to a row of that table from a hash.

Related Objects

StatusAssignedTask
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration
Migratedgitlab-migration

Event Timeline

vlorentz triaged this task as High priority.Feb 2 2021, 1:40 PM
vlorentz created this task.
vlorentz removed subscribers: rdicosmo, moranegg.
vlorentz renamed this task from Allow querying raw_extrinsic_metadata by hash in swh.storage.cassandra to Add an "index" for raw_extrinsic_metadata.id in swh.storage.cassandra.Feb 2 2021, 2:21 PM
vlorentz updated the task description. (Show Details)