Page MenuHomeSoftware Heritage
Feed Advanced Search

Feb 12 2019

ardumont updated the task description for T1495: Move swh.storage.db.BaseDb class in swh.core.
Feb 12 2019, 1:18 PM · Storage manager, Core & foundations

Feb 11 2019

vlorentz updated the task description for T1495: Move swh.storage.db.BaseDb class in swh.core.
Feb 11 2019, 11:38 AM · Storage manager, Core & foundations

Feb 1 2019

vlorentz updated the task description for T1495: Move swh.storage.db.BaseDb class in swh.core.
Feb 1 2019, 4:24 PM · Storage manager, Core & foundations
ardumont added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

@ardumont These timeouts are either caused by the high CPU usage of swh-storage, or an unrelated issue.

Feb 1 2019, 9:03 AM · Storage manager

Jan 31 2019

vlorentz added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

@ardumont These timeouts are either caused by the high CPU usage of swh-storage, or an unrelated issue.

Jan 31 2019, 5:59 PM · Storage manager
vlorentz added a revision to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure: D1053: Remove entry_to_bytes and other *_to_bytes functions.
Jan 31 2019, 5:50 PM · Storage manager
ardumont added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

There now remains errors :

  • directly related to indexers (bad input) so indexer fails
  • Sometimes it's the indexer's api call to the indexer storage that fails. I've created a dashboard to see those errors [1]
Jan 31 2019, 4:36 PM · Storage manager
ardumont added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

To exercise my hypothesis, i've increased those timeouts for storage0.euwest.azure's storage service endpoints:

  • revision_get: 500ms to 2s
  • directory_ls: 20s to 40s
Jan 31 2019, 3:15 PM · Storage manager
ardumont added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

oh, i think i know... [1] We have a timeout limit on some endpoints... (including the revision_get endpoint mentioned in the stacktrace).

Jan 31 2019, 3:04 PM · Storage manager
ardumont added a comment to T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.

Once in a while, an indexer worker crashes with the following error:

Jan 31 2019, 2:30 PM · Storage manager
vlorentz added a project to T1487: Add a public API endpoint to retrieve a set of files with a given name: Easy hack.
Jan 31 2019, 1:29 PM · Easy hack, Storage manager, Object storage
vlorentz updated the task description for T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.
Jan 31 2019, 1:16 PM · Storage manager
vlorentz claimed T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure.
Jan 31 2019, 1:14 PM · Storage manager
vlorentz triaged T1507: Investigate CPU usage of swh-storage on storage0.euwest.azure as Normal priority.
Jan 31 2019, 1:13 PM · Storage manager

Jan 29 2019

douardda updated the task description for T1495: Move swh.storage.db.BaseDb class in swh.core.
Jan 29 2019, 10:48 AM · Storage manager, Core & foundations
douardda merged T904: Factor-out common DB wrappers in swh.core into T1495: Move swh.storage.db.BaseDb class in swh.core.
Jan 29 2019, 10:22 AM · Storage manager, Core & foundations
douardda merged task T904: Factor-out common DB wrappers in swh.core into T1495: Move swh.storage.db.BaseDb class in swh.core.
Jan 29 2019, 10:22 AM · Core & foundations, Storage manager, Scheduling utilities, Vault
douardda added a comment to T904: Factor-out common DB wrappers in swh.core.

I agree we must be careful with not bloating swh.core, but the current subject, it really makes sense to me to put this basic db access wrapper as a core functionality.

Jan 29 2019, 10:14 AM · Core & foundations, Storage manager, Scheduling utilities, Vault

Jan 24 2019

douardda added projects to T1495: Move swh.storage.db.BaseDb class in swh.core: Core & foundations, Storage manager.
Jan 24 2019, 3:38 PM · Storage manager, Core & foundations

Jan 21 2019

vlorentz added a project to T1487: Add a public API endpoint to retrieve a set of files with a given name: Storage manager.

The object storage doesn't have content names, so it cannot address this feature as stated.

Jan 21 2019, 4:55 PM · Easy hack, Storage manager, Object storage

Jan 13 2019

ardumont closed T494: swh-journal: archiver-client: Keep archiver table in sync with new contents, a subtask of T240: content archiver, as Invalid.
Jan 13 2019, 12:33 PM · Storage manager
ardumont closed T494: swh-journal: archiver-client: Keep archiver table in sync with new contents as Invalid.
Jan 13 2019, 12:33 PM · Journal, Restricted Project, Storage manager
ardumont closed T1275: swh-journal: Complete missing snapshot insertion event from storage to journal as Resolved.
Jan 13 2019, 12:27 PM · Storage manager, Journal

Dec 18 2018

vlorentz added a parent task for T1446: Add support for slices in Storage.content_get: T803: Indexer - Retrieval error when contents is too big.
Dec 18 2018, 4:35 PM · Storage manager
vlorentz triaged T1446: Add support for slices in Storage.content_get as Low priority.
Dec 18 2018, 4:34 PM · Storage manager
vlorentz created T1446: Add support for slices in Storage.content_get.
Dec 18 2018, 4:34 PM · Storage manager

Dec 13 2018

vlorentz edited projects for T1377: in-memory storage: compute all counters, added: Easy hack; removed Good first contribution.
Dec 13 2018, 3:07 PM · Easy hack, Storage manager
vlorentz edited projects for T1377: in-memory storage: compute all counters, added: Good first contribution; removed Easy hack.
Dec 13 2018, 12:33 PM · Easy hack, Storage manager
vlorentz updated the task description for T1377: in-memory storage: compute all counters.
Dec 13 2018, 12:19 PM · Easy hack, Storage manager
vlorentz added a project to T1377: in-memory storage: compute all counters: Easy hack.
Dec 13 2018, 12:19 PM · Easy hack, Storage manager

Dec 11 2018

vlorentz updated the task description for T1307: Remove mock storages used in tests..
Dec 11 2018, 4:18 PM · Storage manager

Dec 7 2018

vlorentz updated the task description for T1307: Remove mock storages used in tests..
Dec 7 2018, 6:21 PM · Storage manager
vlorentz closed T1432: Remove mock storages from the indexers, a subtask of T1307: Remove mock storages used in tests., as Resolved.
Dec 7 2018, 6:20 PM · Storage manager
vlorentz closed T1432: Remove mock storages from the indexers as Resolved.
Dec 7 2018, 6:20 PM · Storage manager
vlorentz added revisions to T1307: Remove mock storages used in tests.: D792: Kill mocks., D791: Remove mock storages from test_origin_metadata.py., D790: Add in-mem storage for intrinsic metadata., D789: Remove languages mock., D788: Remove mocks from range tests of mimetype and license indexers., D786: Add content_fossology_license_get_range + Remove mock from non-range tests., D784: Add content_fossology_license_{get,add} to the mem idx storage., D785: Start removing mocks for the mimetype indexer., D787: Remove mocks from range tests of mimetype and license indexers., D783: rm ctags mocks + add ctags to idx db + fix doc..
Dec 7 2018, 5:13 PM · Storage manager
anlambert changed the status of T1271: Use the in-memory storage instead of mocks to test the webapp, a subtask of T1307: Remove mock storages used in tests., from Open to Work in Progress.
Dec 7 2018, 10:49 AM · Storage manager

Dec 5 2018

vlorentz added a revision to T1432: Remove mock storages from the indexers: D783: rm ctags mocks + add ctags to idx db + fix doc..
Dec 5 2018, 5:07 PM · Storage manager
anlambert updated the task description for T1307: Remove mock storages used in tests..
Dec 5 2018, 3:38 PM · Storage manager
vlorentz placed T1307: Remove mock storages used in tests. up for grabs.
Dec 5 2018, 3:31 PM · Storage manager
vlorentz triaged T1432: Remove mock storages from the indexers as Normal priority.
Dec 5 2018, 3:31 PM · Storage manager
anlambert updated the task description for T1307: Remove mock storages used in tests..
Dec 5 2018, 2:07 PM · Storage manager
anlambert updated the task description for T1307: Remove mock storages used in tests..
Dec 5 2018, 1:57 PM · Storage manager
vlorentz added revisions to T1307: Remove mock storages used in tests.: D768: tests: Use in-memory storage instead of mocking it, D740: Remove mocks from test_metadata.py., D776: tests: Use in-memory storage and reflect changes from loader-core, D775: tests: Use in-memory storage and reflect changes from loader-core.
Dec 5 2018, 1:44 PM · Storage manager
vlorentz added a revision to T1307: Remove mock storages used in tests.: D721: Remove Storage mock..
Dec 5 2018, 1:42 PM · Storage manager
vlorentz added a revision to T1307: Remove mock storages used in tests.: D779: Use the in-mem storage..
Dec 5 2018, 1:42 PM · Storage manager
anlambert updated the task description for T1307: Remove mock storages used in tests..
Dec 5 2018, 11:31 AM · Storage manager

Dec 4 2018

anlambert updated the task description for T1307: Remove mock storages used in tests..
Dec 4 2018, 1:40 PM · Storage manager
vlorentz added a parent task for T1307: Remove mock storages used in tests.: T1421: drop swh-storage mocking everywhere.
Dec 4 2018, 11:31 AM · Storage manager
vlorentz added a parent task for T1307: Remove mock storages used in tests.: T1422: drop swh-storage mocking everywhere.
Dec 4 2018, 11:30 AM · Storage manager
vlorentz removed a project from T1307: Remove mock storages used in tests.: Sprint 2018 12.
Dec 4 2018, 11:29 AM · Storage manager
vlorentz added a project to T1307: Remove mock storages used in tests.: Sprint 2018 12.
Dec 4 2018, 11:28 AM · Storage manager

Nov 28 2018

ardumont closed T818: indexer DB should not use bytea for mimetype and encoding columns as Resolved.
Nov 28 2018, 12:26 PM · Storage manager, Indexer

Nov 27 2018

ardumont added a parent task for T818: indexer DB should not use bytea for mimetype and encoding columns: T1374: content indexer: Determine the identifier ranges to use to schedule those.
Nov 27 2018, 11:53 AM · Storage manager, Indexer

Nov 21 2018

vlorentz triaged T1377: in-memory storage: compute all counters as Low priority.
Nov 21 2018, 5:10 PM · Easy hack, Storage manager
anlambert updated the task description for T1307: Remove mock storages used in tests..
Nov 21 2018, 11:03 AM · Storage manager
anlambert added a subtask for T1307: Remove mock storages used in tests.: T1271: Use the in-memory storage instead of mocks to test the webapp.
Nov 21 2018, 11:03 AM · Storage manager

Nov 20 2018

ardumont updated the task description for T1307: Remove mock storages used in tests..
Nov 20 2018, 5:44 PM · Storage manager
vlorentz added a revision to T1307: Remove mock storages used in tests.: D685: Use the in-mem storage instead of mocks to test the journal..
Nov 20 2018, 4:57 PM · Storage manager
vlorentz added revisions to T1307: Remove mock storages used in tests.: D682: Use the in-mem storage instead of mocks in BaseLoaderTest., D684: Use the in-mem storage instead of mocks to test the git loader..
Nov 20 2018, 4:17 PM · Storage manager
ardumont removed a project from T1307: Remove mock storages used in tests.: Object storage.
Nov 20 2018, 4:07 PM · Storage manager

Nov 19 2018

vlorentz claimed T1307: Remove mock storages used in tests..
Nov 19 2018, 5:11 PM · Storage manager
vlorentz closed T1306: Write an in-memory backend for swh.storage for tests., a subtask of T1343: Add type annotations to the in-mem storage, as Resolved.
Nov 19 2018, 5:11 PM · Storage manager
vlorentz closed T1306: Write an in-memory backend for swh.storage for tests. as Resolved.

Resolved by D645.

Nov 19 2018, 5:11 PM · Storage manager
vlorentz closed T1306: Write an in-memory backend for swh.storage for tests., a subtask of T1307: Remove mock storages used in tests., as Resolved.
Nov 19 2018, 5:11 PM · Storage manager

Nov 15 2018

vlorentz triaged T1349: Storage.content_find should return all matches, not just one. as Normal priority.
Nov 15 2018, 11:39 AM · Easy hack, Storage manager

Nov 14 2018

vlorentz added a subtask for T1343: Add type annotations to the in-mem storage: T1306: Write an in-memory backend for swh.storage for tests..
Nov 14 2018, 3:42 PM · Storage manager
vlorentz added a parent task for T1306: Write an in-memory backend for swh.storage for tests.: T1343: Add type annotations to the in-mem storage.
Nov 14 2018, 3:42 PM · Storage manager
vlorentz triaged T1343: Add type annotations to the in-mem storage as Low priority.
Nov 14 2018, 3:42 PM · Storage manager
anlambert updated the task description for T1339: Handle malformed author and committer dates.
Nov 14 2018, 3:39 PM · Storage manager, Git loader
anlambert added a comment to T1339: Handle malformed author and committer dates.

Indeed, you're right the timezone offset is used to compute a revision identifier so even if its value is incorrect it should be stored anyway.

Nov 14 2018, 1:25 PM · Storage manager, Git loader
zack added a comment to T1339: Handle malformed author and committer dates.

The simplest solution would be to check if the computed timezone offset lies in the adequate bounds [UTC−14:00, UTC+14:00] and set it to 0 if not.

Nov 14 2018, 12:03 PM · Storage manager, Git loader
anlambert triaged T1339: Handle malformed author and committer dates as Normal priority.
Nov 14 2018, 11:57 AM · Storage manager, Git loader

Nov 13 2018

douardda closed T1287: storage: doc generation fails if postgres dev DB exists as Resolved.
Nov 13 2018, 3:25 PM · Documentation, Storage manager

Nov 7 2018

vlorentz removed a project from T1306: Write an in-memory backend for swh.storage for tests.: Object storage.
Nov 7 2018, 12:04 PM · Storage manager
vlorentz renamed T1306: Write an in-memory backend for swh.storage for tests. from Write in-memory backends for swh.storage and swh.objstorage for tests. to Write an in-memory backend for swh.storage for tests..
Nov 7 2018, 12:04 PM · Storage manager
ardumont added a comment to T1306: Write an in-memory backend for swh.storage for tests..

objstorage already has an in-memory implementation?

Nov 7 2018, 11:57 AM · Storage manager

Nov 6 2018

olasd added a comment to T1306: Write an in-memory backend for swh.storage for tests..

objstorage already has an in-memory implementation?

Nov 6 2018, 3:43 PM · Storage manager
vlorentz renamed T1306: Write an in-memory backend for swh.storage for tests. from Write an in-memory backend for swh.storage for tests. to Write in-memory backends for swh.storage and swh.objstorage for tests..
Nov 6 2018, 2:40 PM · Storage manager
vlorentz added a parent task for T1306: Write an in-memory backend for swh.storage for tests.: T1307: Remove mock storages used in tests..
Nov 6 2018, 2:40 PM · Storage manager
vlorentz added a subtask for T1307: Remove mock storages used in tests.: T1306: Write an in-memory backend for swh.storage for tests..
Nov 6 2018, 2:40 PM · Storage manager
vlorentz triaged T1307: Remove mock storages used in tests. as Normal priority.
Nov 6 2018, 2:39 PM · Storage manager
vlorentz triaged T1306: Write an in-memory backend for swh.storage for tests. as Normal priority.
Nov 6 2018, 2:38 PM · Storage manager

Oct 24 2018

zack closed T1283: doc: update DB diagram after occurrence-* removal as Resolved by committing rDSTO7628710a3792: SQL schema: update to reflect recent changes.
Oct 24 2018, 2:40 PM · Documentation, Storage manager
zack closed T1269: swh-storage: `make distclean` in docs/ deletes committed files as Resolved by committing rDSTOb91482af6116: gitignore and remove generate archive copies diagram.
Oct 24 2018, 2:11 PM · Documentation, Storage manager
zack triaged T1287: storage: doc generation fails if postgres dev DB exists as Normal priority.
Oct 24 2018, 2:11 PM · Documentation, Storage manager

Oct 23 2018

douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D565: remove swh-storage-testdata.
Oct 23 2018, 12:09 PM · Storage manager
douardda closed T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package] as Resolved.
Oct 23 2018, 11:24 AM · Storage manager

Oct 22 2018

zack triaged T1283: doc: update DB diagram after occurrence-* removal as High priority.
Oct 22 2018, 10:00 PM · Documentation, Storage manager

Oct 19 2018

olasd added a comment to T830: Remove tables occurrence and occurrence_history.

After a few days of rest:

Oct 19 2018, 11:30 AM · Storage manager, Archive content

Oct 18 2018

olasd removed a project from T1275: swh-journal: Complete missing snapshot insertion event from storage to journal: Developers.
Oct 18 2018, 5:35 PM · Storage manager, Journal
ardumont triaged T1275: swh-journal: Complete missing snapshot insertion event from storage to journal as Normal priority.
Oct 18 2018, 3:40 PM · Storage manager, Journal
ardumont renamed T494: swh-journal: archiver-client: Keep archiver table in sync with new contents from Keep archiver table in sync with new contents to swh-journal: archiver-client: Keep archiver table in sync with new contents.
Oct 18 2018, 9:40 AM · Journal, Restricted Project, Storage manager

Oct 16 2018

douardda added a comment to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package].

there is a good chance that this series of diffs break stuffs in the doc generation or some (test) tools at swh-environment level... These will be checked and fixed ASA this series is considered ready to be merged.

Oct 16 2018, 11:27 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D543: sql: move sql files in the python package and refactor tests to use these according to D538.
Oct 16 2018, 11:24 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D542: move sql files in the python package and update tests according to D538.
Oct 16 2018, 11:21 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D541: move sql files in the python package qand update tests according to D538.
Oct 16 2018, 11:15 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D540: tests: refactor the StorageTestFixture class and move sql files in the package according to D538.
Oct 16 2018, 11:12 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D539: move sql files in the package and update tests according to D538.
Oct 16 2018, 11:00 PM · Storage manager
douardda added a revision to T1265: kill swh-storage-testdata [was: make swh-storage-testdata a python package]: D538: refactor SingleDbTestFixture class to add generic db initialization.
Oct 16 2018, 10:54 PM · Storage manager
zack added a comment to T830: Remove tables occurrence and occurrence_history.

\o/

Oct 16 2018, 5:34 PM · Storage manager, Archive content