[release-announce] swift 2.31.1 (antelope)

no-reply at openstack.org no-reply at openstack.org
Fri Mar 10 09:30:20 UTC 2023


We contentedly announce the release of:

swift 2.31.1: OpenStack Object Storage

This release is part of the antelope release series.

The source is available from:

    https://opendev.org/openstack/swift

Download the package from:

    https://tarballs.openstack.org/swift/

Please report issues through:

    https://bugs.launchpad.net/swift/+bugs

For more details, please see below.

2.31.1
^^^^^^

Bug Fixes

* Sharding fixes

  * Shards no longer report stats to the root database when they are
    in the "CREATED" state.

  * Sharding metadata is no longer cleared when databases are
    deleted. This could previously cause deleted shards that still had
    rows to become stuck and never move them to the correct database.

  * Fixed a performance regression in the handling of misplaced
    objects.

  * Swift path and on-disk path are now included with all sharder
    logging.

* "s3token" no longer mangles request paths that include the Access
  Key ID.

* User metadata is now exposed via CORS when encryption is enabled,
  matching the behavior when encryption is not enabled.

* Fewer backend requests are now required when account or container
  information is missing from memcache.

* Fixed logging of IP and port in the proxy-server; in particular,
  internal clients now correctly log about the replication IP/port.

* Fixed a bug in the object replicator that would cause an under-
  reporting of failures.

* Various other minor bug fixes.

Changes in swift 2.31.0..2.31.1
-------------------------------

049ffd5a8 Authors/ChangeLog for 2.31.1
b68cc893f proxy: Reduce round-trips to memcache and backend on info misses
8814cde68 sharder: show path and db file in logs
49ba1bc33 Present `pytest` steps in development guidelines
cd693e519 encryption: Expose decrypted metadata via CORS
8dd2d010a Skip S3 versioning test when versioning is not enabled
983879421 sharder: make misplaced objects lookup faster
3bf7cf60b Fix docstring regarding private method
2edd3e65d docs: Add memcache.conf config doc
7f5576d3e ring-builder: require part_power>=0, give better error messages
21b3f1af9 quotas: Move account-level handling to a separate function
e76d443e0 Use FakeSwift in account quota tests
be16d6c4f tests: Get rid of test.unit.SkipTest
63e618b23 Test x-backend-replication header with POST
9ec90d4d5 proxy-server exception logging shows replication_ip/port
f92c4d4e5 Fix test assertion
37ba5577a Delete unused FakeObjectController
6d1a0b334 Don't clear x-container-sysmeta-sharding on delete_db
b02df75ed test for unmounted w/ suppression_count
4dde98201 Add new Kota's email entry to mailmap
488f8c839 tests: Fix some func tests to do with metadata maximums
bac5d8ff7 Switch from pkg_resources to importlib
ece4b04e8 Sharding: No stat updates before CLEAVED state
aeb06a645 CI: Add rolling upgrade job coming from stable/zed
c87278aba object-replicator: Count sync failures in update_deleted
a548da916 Remove :memory: from DatabaseBrokers and unittests
70864396d s3token: Only replace access_key_id in account


Diffstat (except docs and test files)
-------------------------------------

.mailmap                                           |   1 +
.zuul.yaml                                         |   7 +
AUTHORS                                            |   1 +
CHANGELOG                                          |  34 +-
.../notes/2_31_1_release-20ccd07e32b91c1f.yaml     |  37 ++
swift/__init__.py                                  |  31 +-
swift/cli/ringbuilder.py                           |   6 +-
swift/common/db.py                                 |  38 +-
swift/common/middleware/account_quotas.py          |  45 +-
swift/common/middleware/crypto/decrypter.py        |  28 +-
swift/common/middleware/s3api/etree.py             |  20 +-
swift/common/middleware/s3api/s3token.py           |   4 +-
swift/common/request_helpers.py                    |  46 +-
swift/common/ring/builder.py                       |   3 +
swift/common/utils.py                              |  71 ++-
swift/container/backend.py                         |  32 +-
swift/container/sharder.py                         | 584 +++++++++----------
swift/obj/replicator.py                            |   2 +-
swift/proxy/controllers/account.py                 |   2 +-
swift/proxy/controllers/base.py                    |  40 +-
swift/proxy/controllers/container.py               |   4 +-
swift/proxy/controllers/obj.py                     |  17 +-
swift/proxy/server.py                              |   7 +-
test/functional/__init__.py                        |   5 +-
test/functional/s3api/__init__.py                  |   6 +-
test/functional/s3api/test_acl.py                  |   3 +-
test/functional/s3api/test_bucket.py               |   9 +-
test/functional/s3api/test_multi_upload.py         |   2 +-
test/functional/s3api/test_versioning.py           |   4 +-
test/functional/s3api/test_xxe_injection.py        |   3 +
test/functional/test_account.py                    |   8 +
test/functional/test_container.py                  |   7 +
test/functional/test_dlo.py                        |   2 +-
test/functional/test_object.py                     |  13 +-
test/functional/test_object_versioning.py          |   3 +-
test/functional/test_slo.py                        |   3 +-
test/functional/test_tempurl.py                    |   3 +-
test/functional/test_versioned_writes.py           |   3 +-
test/probe/test_sharder.py                         |  31 +-
test/unit/__init__.py                              |  13 +-
test/unit/account/test_auditor.py                  |   7 +-
test/unit/account/test_backend.py                  | 109 ++--
test/unit/account/test_utils.py                    |  13 +-
.../common/middleware/crypto/test_decrypter.py     |  14 +-
test/unit/common/middleware/s3api/test_s3token.py  |  12 +
test/unit/common/middleware/test_account_quotas.py | 278 ++++------
test/unit/common/ring/test_builder.py              |   6 +
test/unit/common/test_db.py                        | 123 ++--
test/unit/common/test_request_helpers.py           |  26 +
test/unit/common/test_utils.py                     |  85 +++
test/unit/container/test_backend.py                | 238 +++++---
test/unit/container/test_sharder.py                | 617 ++++++++++++++++++---
test/unit/obj/test_replicator.py                   |   1 +
test/unit/obj/test_server.py                       |  24 +
test/unit/proxy/controllers/test_base.py           |  82 ++-
test/unit/proxy/controllers/test_obj.py            |  75 ++-
test/unit/proxy/test_server.py                     | 185 +++---
61 files changed, 2264 insertions(+), 921 deletions(-)







More information about the Release-announce mailing list