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

Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead #192

Merged
merged 2 commits into from
Aug 12, 2022

Conversation

knizhnik
Copy link

Relaces #187

Copy link

@lubennikovaav lubennikovaav left a comment

Choose a reason for hiding this comment

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

LGTM.
While on it, we can remove GetMinReplicaLsn() if it is never used.

@@ -3826,9 +3826,10 @@ LagTrackerRead(int head, XLogRecPtr lsn, TimestampTz now)
void
GetMinReplicaLsn(XLogRecPtr* write_lsn, XLogRecPtr* flush_lsn, XLogRecPtr* apply_lsn)

Choose a reason for hiding this comment

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

Do we need this function at all?
I don't see any calls

Copy link
Author

Choose a reason for hiding this comment

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

I removed GetMinReplicaLsn function

@knizhnik knizhnik merged commit b0db0ba into main Aug 12, 2022
@knizhnik knizhnik deleted the replication_lag_fix branch August 12, 2022 14:19
MMeent pushed a commit that referenced this pull request Aug 18, 2022
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
lubennikovaav pushed a commit that referenced this pull request Nov 21, 2022
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
MMeent pushed a commit that referenced this pull request Feb 10, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
MMeent pushed a commit that referenced this pull request Feb 10, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
MMeent pushed a commit that referenced this pull request May 11, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Aug 10, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Nov 8, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Nov 8, 2023
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Feb 5, 2024
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Feb 5, 2024
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request Feb 6, 2024
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
tristan957 pushed a commit that referenced this pull request May 10, 2024
…192)

* Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead

* Remove GetMinReplicaLsn function
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.

2 participants