Skip to content
Release swh.objstorage 3.0.0

BREAKING CHANGES:

Winery now uses a single database. All shard databases are merged as
tables of the main database with the `shard_` prefix.

The winery database schema is now managed with the regular `swh db`
command-line interface. To bootstrap it, use `swh db init
objstorage.backends.winery --dbname <dsn>` after creating an empty
database.

Winery deployment with gunicorn requires using a `worker_int` hook to
ensure proper release of shared resources. Make sure to run gunicorn
with `--config python:swh.objstorage.backends.winery.gunicorn` or to
replicate the included hook.

OTHER CHANGES:

 - Release lock on shards if packing or cleaning fails
 - Implement error-recovery for shard packing (by zeroing shards out)
 - Add support for extra options passed to `rbd device map`
 - Add an idle timeout to release unwritten read-write shards to the pool