Repository navigation
Conversation
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
6 times, most recently
from
August 11, 2026 09:53
6bddcf6 to
2d6790a
Compare
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
2 times, most recently
from
August 18, 2026 00:15
da47acd to
1f988ae
Compare
Contributor
Author
|
requires #4936 to be merged first |
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
from
August 18, 2026 00:29
1f988ae to
1d032b9
Compare
spatel033
reviewed
Aug 19, 2026
spatel033
reviewed
Aug 24, 2026
spatel033
reviewed
Aug 24, 2026
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
3 times, most recently
from
September 8, 2026 12:09
09efa7c to
29d32f3
Compare
DilwoarH
commented
Sep 17, 2026
whpearson
reviewed
Sep 21, 2026
DilwoarH
commented
Sep 21, 2026
DilwoarH
commented
Sep 21, 2026
DilwoarH
commented
Sep 21, 2026
DilwoarH
commented
Sep 21, 2026
DilwoarH
commented
Sep 21, 2026
DilwoarH
commented
Sep 22, 2026
DilwoarH
commented
Sep 22, 2026
DilwoarH
commented
Sep 22, 2026
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
from
September 25, 2026 09:43
29d32f3 to
a1c7a1f
Compare
This makes it more stricter on what is being passed in
We no longer need this as format 1 is redundant
…ogic This also drops the user of FactServiceStats. This was done as we want to have FactNotificationStatusLive to be a drop in replacement for FactNotificationStatus.
…ication status logic
This will help us understand how test keys are used and potentially display this information back to user.
The file path is already exposed as part of the log
sessions should not be shared across processes
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
from
October 22, 2026 10:57
7bf769e to
3bfc05b
Compare
…y beat schedule We don't want to use celery anymore
DilwoarH
force-pushed
the
process-replication-slot-changes
branch
from
October 22, 2026 11:09
3bfc05b to
526ef99
Compare
Contributor
Author
|
The following changes have been made:
|
…ication slot changes
risicle
reviewed
Oct 26, 2026
| if not payload: | ||
| continue | ||
|
|
||
| if isinstance(payload, str): |
Member
There was a problem hiding this comment.
😕 what happens if it's not?
If this is just to please mypy, we could do
assert isinstance(payload, str) # type narrowing
which is something we've done elsewhere.
Contributor
Author
There was a problem hiding this comment.
updated with new logic
risicle
reviewed
Oct 26, 2026
|
|
||
|
|
||
| def apply_notification_status_live_change(dimensions: NotificationStatusLiveDimensions, change_count: int) -> None: | ||
| _update_notification_status_live_count(dimensions, change_count) |
Member
There was a problem hiding this comment.
Is this function needed anymore?
Contributor
Author
|
You can test this locally using: flask shellimport json;
from app.dao.notifications_wal_changes_dao import dao_process_notifications_replication_slot_changes;
result = dao_process_notifications_replication_slot_changes();
print(json.dumps(result, indent=2)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
** DO NOT MERGE UNTIL #4946 IS MERGED IN FIRST**
What
The application code for processing slot changes for notifications table
Why
This is needed to process WAL logs in the database
Test results
Ran a load test on
dev-c- this is the result after 2400 emails.How it works