Two fixes:
- in-mem ignored None keys
- cassandra yielded input dicts as-is instead of a dict with just the hashes
Paths
| Differential D2662 Authored by vlorentz on Feb 12 2020, 4:09 PM.
Details
Summary Two fixes:
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptFeb 12 2020, 4:09 PM2020-02-12 16:09:12 (UTC+1) Comment Actions Build is green Harbormaster completed remote builds in B10576: Diff 9515.Feb 12 2020, 4:19 PM2020-02-12 16:19:51 (UTC+1) Comment Actions Looks fine save from a few comments/questions. The "content key algortithm" stuff should probably be moved to a helper in swh.model, as we keep repeating it everywhere.
This revision now requires changes to proceed.Feb 14 2020, 4:32 PM2020-02-14 16:32:52 (UTC+1) Comment Actions Build is green Harbormaster completed remote builds in B10612: Diff 9551.Feb 14 2020, 6:01 PM2020-02-14 18:01:12 (UTC+1) This revision is now accepted and ready to land.Feb 17 2020, 4:19 PM2020-02-17 16:19:26 (UTC+1) Closed by commit rDSTO51b20164f6eb: Fix inconsistent behavior of skipped_content_missing across backends. (authored by vlorentz). · Explain WhyFeb 18 2020, 1:44 PM2020-02-18 13:44:46 (UTC+1) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 9515 swh/storage/cassandra/storage.py
swh/storage/in_memory.py
swh/storage/tests/test_storage.py
|
might as well inline this, date seems only used once.