~jugmac00/launchpad:fix-typo

Last commit made on 2021-12-02
Get this branch:
git clone -b fix-typo https://git.launchpad.net/~jugmac00/launchpad
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
fix-typo
Repository:
lp:~jugmac00/launchpad

Recent commits

389d2ff... by Jürgen Gmach

fix typo

432c14c... by Colin Watson

lp.code: Use DBEnum rather than EnumCol

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/412073

6b4dd49... by Colin Watson

Tolerate connection errors from pymemcache as well

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/412082

2ca35a8... by Colin Watson

Tolerate connection errors from pymemcache as well

We should (log and) ignore connection errors from pymemcache for the
same reason as `MemcacheError`: it's an opportunistic cache, and a
failure shouldn't cause the code trying to use it to fail.

e32240b... by Colin Watson

lp.code: Use DBEnum rather than EnumCol

8912cd2... by Colin Watson

lp.soyuz: Use DBEnum rather than EnumCol

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/412042

2784e9d... by Colin Watson

Tolerate some errors from pymemcache

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/412023

44bd842... by Colin Watson

lp.soyuz: Use DBEnum rather than EnumCol

I dropped `unique=False` since it did nothing in Storm's SQLObject
emulation anyway; in Launchpad we define constraints (unique or
otherwise) in the SQL schema, not in Storm models.

4a895b2... by Colin Watson

Tolerate some errors from pymemcache

python-memcached mostly ignored memcached being unavailable, returning
None or similar depending on the method; pymemcache normally raises an
exception instead. In our environment, memcached being unavailable
should never be treated as an error, since we only ever use it as an
opportunistic cache, so the python-memcached behaviour was more
appropriate.

Adjust the `get`, `set`, and `delete` methods (the only ones we use) to
handle pymemcache exceptions other than those that indicate client
errors; we now log them where possible so that they're more
discoverable, but otherwise restore the old behaviour of being resilient
against server unavailability.

6e81453... by Jürgen Gmach

Fix pymemcache regression in SnapStoreClient.listChannels

Merged from https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/411913