Repository navigation
WPB-22955: migrate mls-proposal-refs to PostGreSQL - #5411
blackheaven wants to merge 2 commits into
Conversation
504d497 to
d79a73f
Compare
48de034 to
3a550ad
Compare
3a550ad to
406e93c
Compare
akshaymankar
left a comment
There was a problem hiding this comment.
This table is expected to see a lot of updates, since the backend sends the proposals and the clients race to commit them. So, I think the dual write strategy is not the best here. WDYT?
|
It deserves benchmarks, but if it is a concern, we can go for unlogged tables. |
406e93c to
19f1bd7
Compare
19f1bd7 to
8ac04c3
Compare
akshaymankar
left a comment
There was a problem hiding this comment.
The expired data should be cleaned up in a background task.
|
Another thing I found: |
67e0807 to
46f06b5
Compare
|
Both asks are implemented: expired |
a8f9e9c to
7966d32
Compare
7966d32 to
bd9a528
Compare
d10ab27 to
d024e4e
Compare
|
@akshaymankar FYI, data migration have been removed to speed up the support of PostGreSQL, feel free to have a look at it when you have some time, thanks in advance. |
db94f8d to
fc3bed8
Compare
fc3bed8 to
af09248
Compare
Move the pool usage error redaction (CleanupFailure, classifyUsageError, renderCleanupFailure, cleanupFailedMessage) into Wire.UsageErrorRedaction and use it where background-worker turned a UsageError into text: the effect runner of adminless, background and meetings cleanup jobs no longer embeds `show` of the error, and the meetings cleanup log no longer shows the text again. Extract runCleanupWith from runExpirationsCleanup and test that it logs and throws only the redacted category, test the effect runner's mapping, and make the redaction property assert that rendering ignores the error's free-form text.
https://wearezeta.atlassian.net/browse/WPB-22955
Checklist
changelog.d