Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "replication lag" to "retained WAL size" #2056

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

alco
Copy link
Member

@alco alco commented Nov 27, 2024

The thing being measured here is the size of the WAL that Electric's replication slot retains, so I think the new name describes it better.

This change also restructures the code a bit to make the dependency on the DB connection pool crystal clear.

@alco alco requested a review from kevin-dp November 27, 2024 13:39
params: {
databaseId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have an open PR for fixing this: #2055
It should actually be database_id: databaseId.
Let's not introduce it here and merge my PR instead. I did not yet merge it because deployment failed yesterday, but it's unrelated to the PR itself so we can merge now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw your PR and have since removed this change from mine.

Copy link
Contributor

The thing being measured here is the size of the WAL that Electric's
replication slot retains, so I think the new name describes it better.

This change also restructures the code a bit to make the dependency on
the DB connection pool crystal clear.
@alco alco force-pushed the alco/replication-lag branch from d989268 to 540d5eb Compare November 28, 2024 11:14
@alco alco merged commit d0b15e3 into main Nov 29, 2024
26 checks passed
@alco alco deleted the alco/replication-lag branch November 29, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants