Instead of fetching them one-by-one, with the very high latency this entails.
This is preliminary work to make directory_ls less painfully slow.
Paths
| Differential D6228 Authored by vlorentz on Sep 9 2021, 3:31 PM.
Details
Summary Instead of fetching them one-by-one, with the very high latency this entails. This is preliminary work to make directory_ls less painfully slow.
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptSep 9 2021, 3:31 PM2021-09-09 15:31:16 (UTC+2) Comment Actions Build has FAILED Patch application report for D6228 (id=22538)Rebasing onto 50fb54f212... Current branch diff-target is up to date. Changes applied before testcommit 680d12149bb4e6f2c6c824c4f2684f80cadba38f Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Sep 9 15:30:09 2021 +0200 content_get: Fetch rows concurrently Instead of fetching them one-by-one, with the very high latency this entails. This is preliminary work to make `directory_ls` less painfully slow. Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1399/ Harbormaster returned this revision to the author for changes because remote builds failed.Sep 9 2021, 3:38 PM2021-09-09 15:38:37 (UTC+2) Comment Actions Build is green Patch application report for D6228 (id=22539)Rebasing onto 50fb54f212... Current branch diff-target is up to date. Changes applied before testcommit 0570a426efa5c89f85b407b5c3c53d6e9615cd06 Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Thu Sep 9 15:30:09 2021 +0200 content_get: Fetch rows concurrently Instead of fetching them one-by-one, with the very high latency this entails. This is preliminary work to make `directory_ls` less painfully slow. See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1400/ for more details. Harbormaster completed remote builds in B23484: Diff 22539.Sep 9 2021, 3:51 PM2021-09-09 15:51:15 (UTC+2) Comment Actions Conditionally accepted on whether the inconsistency between _execute_with_retries and _execute_many_with_retries is worth it.
This revision is now accepted and ready to land.Sep 10 2021, 4:48 PM2021-09-10 16:48:54 (UTC+2)
Closed by commit rDSTO0570a426efa5: content_get: Fetch rows concurrently (authored by vlorentz). · Explain WhySep 10 2021, 6:09 PM2021-09-10 18:09:52 (UTC+2) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 22539 swh/storage/cassandra/cql.py
swh/storage/cassandra/storage.py
swh/storage/in_memory.py
swh/storage/tests/test_cassandra.py
|
We should catch a keyError exception instead since it could come from several keys.