- Add new RabbitMQ-based client/server API
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Improve server/client shoutdown logic
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Sep 15 2021
Sep 15 2021
aeviso retitled D6165: Add new RabbitMQ-based client/server API from [WIP] Add new RabbitMQ-based client/server API to Add new RabbitMQ-based client/server API.
rebase
aeviso added a reviewer for D6256: Add StatsD support to `ArchiveInterface` implementations: jayeshv.
aeviso added a reviewer for D6266: Add StatsD support to the main algorithms of the module: jayeshv.
- Add new RabbitMQ-based client/server API
- Split set method's requests into several queues on server side
- Remove get queues and have client read from ProvenanceStorage directly
- Add support for relation_add to the RabbitMQ server
- Refactor server to use multiple sub-processes instead of threads
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Remove old client/server storage based on swh.core.api.RPCClient
- Improve connection error handling on both client and server side
- Switch to use a topic exchange instead of a direct one on remote backend
- Improve timeout while waiting for response handling on client side
- Improve server/client shoutdown logic
aeviso retitled D6256: Add StatsD support to `ArchiveInterface` implementations from Add StatsD support on `ArchiveInterface` implementations to Add StatsD support to `ArchiveInterface` implementations.
rebase
Sep 14 2021
Sep 14 2021
aeviso committed rDPROV3383cae57ef7: Generalize types for `content_add` and `directory_add` in the storage interface (authored by aeviso).
Generalize types for `content_add` and `directory_add` in the storage interface
- Improve timeout while waiting for response handling on client side
- Add new RabbitMQ-based client/server API
- Split set method's requests into several queues on server side
- Remove get queues and have client read from ProvenanceStorage directly
- Add support for relation_add to the RabbitMQ server
- Refactor server to use multiple sub-processes instead of threads
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Remove old client/server storage based on swh.core.api.RPCClient
- Improve connection error handling on both client and server side
- Switch to use a topic exchange instead of a direct one on remote backend
- Split set method's requests into several queues on server side
- Remove get queues and have client read from ProvenanceStorage directly
- Add support for relation_add to the RabbitMQ server
- Refactor server to use multiple sub-processes instead of threads
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Remove old client/server storage based on swh.core.api.RPCClient
- Improve connection error handling on both client and server side
- Generalize types for content_add and directory_add in the storage interface
- Switch to use a topic exchange instead of a direct one on remote backend
Sep 13 2021
Sep 13 2021
aeviso committed rDPROV2e997f31039d: Change relation methods in `ProvenanceStorageInterface` to take/return… (authored by aeviso).
Change relation methods in `ProvenanceStorageInterface` to take/return…
aeviso committed rDPROV657226a87bbe: Rework `ProvenanceStorageInterface` to have a single add method per entity (authored by aeviso).
Rework `ProvenanceStorageInterface` to have a single add method per entity
aeviso updated the diff for D6243: Change relation methods in `ProvenanceStorageInterface` to take/return denormalized data.
rebase
aeviso updated the diff for D6231: Rework `ProvenanceStorageInterface` to have a single add method per entity.
rebase
aeviso added inline comments to D6231: Rework `ProvenanceStorageInterface` to have a single add method per entity.
aeviso updated the diff for D6243: Change relation methods in `ProvenanceStorageInterface` to take/return denormalized data.
rebase
Sep 10 2021
Sep 10 2021
aeviso retitled D6231: Rework `ProvenanceStorageInterface` to have a single add method per entity from Extend `ProvenanceStorageInterface` with new methods to Rework `ProvenanceStorageInterface` to have a single add method per entity.
aeviso updated the diff for D6231: Rework `ProvenanceStorageInterface` to have a single add method per entity.
rebase
Sep 9 2021
Sep 9 2021
aeviso requested review of D6231: Rework `ProvenanceStorageInterface` to have a single add method per entity.
aeviso committed rDPROV73dd6cb44773: Remove locks from PostgreSQL backend insertions (authored by aeviso).
Remove locks from PostgreSQL backend insertions
aeviso committed rDPROV4c2b0907a937: Remove autocommit isolation level from `ProvenanceStoragePostgreSql` (authored by aeviso).
Remove autocommit isolation level from `ProvenanceStoragePostgreSql`
Not sure we really want to restrict this methods to test-only in the documentation. But we can change this in the future anyway
Sep 8 2021
Sep 8 2021
- Remove autocommit isolation level from ProvenanceStoragePostgreSql
aeviso committed rDPROV26061a0a15a0: Remove old debug logging and improve other's messages (authored by aeviso).
Remove old debug logging and improve other's messages
aeviso committed rDPROV00f6d9acfb2e: Avoid flushing empty buffers in the `Provenance` backend (authored by aeviso).
Avoid flushing empty buffers in the `Provenance` backend
aeviso committed rDPROVbd6de9eaba19: Fix two minor bugs on the MongoDB backend (authored by aeviso).
Fix two minor bugs on the MongoDB backend
Sep 7 2021
Sep 7 2021
In D6208#160587, @olasd wrote:I'm not too sure about the flat-out removal of a lot of these logging statements (rather than just turning them into logging statements with deferred formatting), but the changes to the flush() logic at least look sound.
- Add new RabbitMQ-based client/server API
- Split set method's requests into several queues on server side
- Remove get queues and have client read from ProvenanceStorage directly
- Add support for relation_add to the RabbitMQ server
- Refactor server to use multiple sub-processes instead of threads
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Remove old client/server storage based on swh.core.api.RPCClient
- Improve connection error handling on both client and server side
rebase
aeviso committed rDPROV9076e8a1dd34: Add SQL enum for relation get filter options (authored by aeviso).
Add SQL enum for relation get filter options
aeviso committed rDPROVec1827e6eb00: Improve denormalized PostgreSQL schema to properly check for duplicates (authored by aeviso).
Improve denormalized PostgreSQL schema to properly check for duplicates
aeviso committed rDPROVe529372cf218: Move PosgreSQL's backend method `relation_add` to SQL function (authored by aeviso).
Move PosgreSQL's backend method `relation_add` to SQL function
aeviso committed rDPROVb523dfd8c1f8: Refactor `relation_add` prepearing to move SQL queries into functions (authored by aeviso).
Refactor `relation_add` prepearing to move SQL queries into functions
aeviso committed rDPROVacd76e442fbe: Move PosgreSQL's backend method `relation_get` to SQL function (authored by aeviso).
Move PosgreSQL's backend method `relation_get` to SQL function
Sep 3 2021
Sep 3 2021
- Improve connection error handling on both client and server side
Sep 1 2021
Sep 1 2021
- Remove old debug logging and improve other's messages
- Rework ProvenanceStorageRabbitMQWorker to handle connection loss
- Remove old client/server storage based on swh.core.api.RPCClient
Aug 31 2021
Aug 31 2021
Aug 26 2021
Aug 26 2021
Re-enable provenance storage tests that were disabled by mistake
rebase
- Add SQL enum for relation get filter options
rebase
Aug 25 2021
Aug 25 2021
Aug 24 2021
Aug 24 2021
Aug 18 2021
Aug 18 2021
rebase
aeviso committed rDPROVe9206efef3a1: Fix origin type when querying ProstgreSQL backend (authored by aeviso).
Fix origin type when querying ProstgreSQL backend
Fix module requirements
aeviso committed rDPROV68e1c8ffddf6: Fix bugs in ProvenanceStoragePostgreSql class (authored by aeviso).
Fix bugs in ProvenanceStoragePostgreSql class
aeviso committed rDPROV2086effea842: Rename PostgreSQL backend and code styling (authored by aeviso).
Rename PostgreSQL backend and code styling
Aug 16 2021
Aug 16 2021
rebase
Add deprecated warning for "local" storage class
Aug 13 2021
Aug 13 2021
For the fix of revision_get, there should be a test.
Revisit history graph implementation
rebase
Aug 11 2021
Aug 11 2021
rebase
- the use of newly introduced as_dict() methods seems unrelated here; unless I'm mistaken, the purpose if this change is better assertion reports by pytest on failure; if so, it should be presented as this in a dedicated revision
Aug 9 2021
Aug 9 2021
Aug 6 2021
Aug 6 2021
aeviso committed rDPROV3431de8f4931: Add test for the different `ProvenanceStorageInterface` implementations (authored by aeviso).
Add test for the different `ProvenanceStorageInterface` implementations
aeviso committed rDPROV0e10aa4c7098: Fix bug on `ProvenanceDB._relation_get` methods when `reverse=True` (authored by aeviso).
Fix bug on `ProvenanceDB._relation_get` methods when `reverse=True`
aeviso committed rDPROV6a207b0e6be0: Refactor the use of archive `Storage` object for testing (authored by aeviso).
Refactor the use of archive `Storage` object for testing
aeviso committed rDPROVac6439aa7de2: Make `provenance` fixture use a fixed storage backend for testing (authored by aeviso).
Make `provenance` fixture use a fixed storage backend for testing
aeviso committed rDPROV91e4dcd4148d: Add some missing type annotations and remove already done TODO's (authored by aeviso).
Add some missing type annotations and remove already done TODO's
Add test for origin-revision layer
aeviso committed rDPROVc58d170f7766: Fix type conversion when retrieving origins' urls from PostgreSQL backend (authored by aeviso).
Fix type conversion when retrieving origins' urls from PostgreSQL backend
aeviso updated the diff for D6054: Add test for the different `ProvenanceStorageInterface` implementations.
rebase
rebase
aeviso updated the diff for D6054: Add test for the different `ProvenanceStorageInterface` implementations.
rebase
rebase
Aug 5 2021
Aug 5 2021
aeviso updated the diff for D6054: Add test for the different `ProvenanceStorageInterface` implementations.
rebase
aeviso updated the diff for D6054: Add test for the different `ProvenanceStorageInterface` implementations.
rebase
Aug 3 2021
Aug 3 2021
aeviso requested review of D6054: Add test for the different `ProvenanceStorageInterface` implementations.