That's a big win in terms of disk space, and shouldn't affect performance
negatively (there's only an extra query in content_add on sha1/sha1_git collisions)
Resolves T2304.
When this diff is accepted, I'll do a similar one for skipped_content.
Differential D2796
Store the value of token(partition_key) in content_by_* table, instead of three hashes. vlorentz on Mar 10 2020, 1:51 PM. Authored by
Details
That's a big win in terms of disk space, and shouldn't affect performance Resolves T2304. When this diff is accepted, I'll do a similar one for skipped_content.
Diff Detail
Event TimelineComment Actions Build is green Comment Actions Sounds fine. Remains to look up the tests. Don't forget to drop the dead (and short-lived) code mentioned ;)
Comment Actions I'm waiting for the current replay to finish to get the sha1 collision stats. Then I'll drop the tables, recreate them, reset offsets on swh.journal.objects.content and restart the replay Comment Actions Build is green |