~tipui/launchpad:db-devel

Last commit made on 2021-01-09
Get this branch:
git clone -b db-devel https://git.launchpad.net/~tipui/launchpad
Only Rostislav can upload to this branch. If you are Rostislav please log in for upload directions.

Branch merges

Branch information

Name:
db-devel
Repository:
lp:~tipui/launchpad

Recent commits

e80682e... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to 448ac4bd2f28

448ac4b... by Colin Watson

publish-distro: Reset Storm store between each archive

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

25c0fd7... by Colin Watson

publish-distro: Reset Storm store between each archive

When publishing large archives, a large number of alive objects can be
accumulated in the Storm store, which means that each commit can take a
long time as it has to iterate over every alive object to invalidate it.
This has been particularly noticeable on production since raising the
Storm cache size for LPCONFIG=ppa-publish to 500000 from the default
value of 10000, which has fixed preloading at the expense of slowing
down commits: after publishing some large archives, each commit can take
on the order of ten seconds, and since there are typically four commits
per dirty PPA this can add up very quickly.

To avoid this, reset the store between archives in roughly the same way
we do between web requests. This means we have to go to some more work
in tests to reload objects from the database.

LP: #1910422

c30f15d... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to 987d2be5ccd0

b901739... by Patch Queue Manager <email address hidden>

Automatic merge from stable up to fd9c5a87183d

987d2be... by Colin Watson

Fix MessageSet._decode_header for Python 3

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

dbbda41... by Colin Watson

Port FileBugDataParser to Python 3

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

5457c8e... by Colin Watson

Don't encode display names or titles in __repr__ on Python 3

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

272bc8a... by Colin Watson

Replace Tag.renderContents with Tag.decode_contents

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

e4b5e8e... by Colin Watson

Adjust character range handling for Python 3

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