the Git loader now exports a swh_loader_filtered_objects_total metric. We should generalize this to other loaders eventually; using one of the options above
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jul 5 2022
Jul 4 2022
Jul 1 2022
Jun 23 2022
Jun 10 2022
Jun 2 2022
May 31 2022
May 4 2022
Apr 19 2022
Feature has been implemented and deployed, closing this.
Apr 12 2022
done ^
New fix needed so another round for v1.3.1
Apr 11 2022
Mar 30 2022
Thanks olasd for restarting the service following this documentation: https://docs.gunicorn.org/en/stable/signals.html#upgrading-to-a-new-binary-on-the-fly
First, replace the old binary with a new one, then send a USR2 signal to the current master process. It executes a new binary whose PID file is postfixed with .2 (e.g. /var/run/gunicorn.pid.2), which in turn starts a new master process and new worker processes:
At this point, two instances of Gunicorn are running, handling the incoming requests together. To phase the old instance out, you have to send a WINCH signal to the old master process, and its worker processes will start to gracefully shut down.
Sorry the description was not completely clear
The durations metrics are still updated, but not the operations count ones
In 2 metrics at 10 minutes of interval:
vsellier@saam ~ % ls -al /tmp/m[12] -rw-r--r-- 1 vsellier vsellier 176850 Mar 30 07:25 /tmp/m1 -rw-r--r-- 1 vsellier vsellier 176846 Mar 30 07:34 /tmp/m2
swh.storage 1.2.0 increased a bunch of timeouts and made some queries smarter so it's entirely plausible that the number of errors has dropped drastically.
What exact metric are you saying isn't updating? In your diff, the swh_storage_request_duration_seconds_count{endpoint="index"} metric seems to be increasing normally
Mar 29 2022
SGTM, thanks!
Mar 28 2022
I have the feeling that, in terms of API extensibility, we'll want to be returning both the OriginVisit and its latest OriginVisitStatus.
If we don't do that, we might find ourselves in a situation where we want to combine the fields from both objects into one, which feels a bit clunky when we could just return a proper composite type.
I have the feeling that, in terms of API extensibility, we'll want to be returning both the OriginVisit and its latest OriginVisitStatus.
Mar 25 2022
Mar 23 2022
Mar 16 2022
swh-model 5.0.0 released, which finalizes these changes
Mar 15 2022
Closing this, because we already fixed everything we can for now.
Mar 14 2022
In T3841#80779, @olasd wrote:I think it's fine to remove the entries when we don't need them anymore (i.e. the object has been restored). Worst case, it'll be re-added at the next iteration of the script :-)
In T3841#80779, @olasd wrote:You'll need a column for which datastore has the corrupted object.
You'll need a column for which datastore has the corrupted object.
I wrote a script to scrub postgres and kafka: https://forge.softwareheritage.org/source/snippets/browse/master/vlorentz/recheck_consistency.py
Mar 11 2022
Feb 8 2022
Feb 2 2022
Jan 28 2022
Jan 24 2022
Jan 21 2022
Jan 20 2022
migration done.
belvedere migration status: first index on directory created, ongoing index creation for revision, and then release.
staging, prod: storage deployed and service restarted (it's not dependent on the sql migration to be complete).
- staging db already migrated during the deployment of T3861.
- production db migration ongoing