-
Notifications
You must be signed in to change notification settings - Fork 13
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
Conversation
There was a problem hiding this 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.
src/backend/replication/walsender.c
Outdated
@@ -3826,9 +3826,10 @@ LagTrackerRead(int head, XLogRecPtr lsn, TimestampTz now) | |||
void | |||
GetMinReplicaLsn(XLogRecPtr* write_lsn, XLogRecPtr* flush_lsn, XLogRecPtr* apply_lsn) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
…192) * Eliminate UnkonwnXLogRecPtr and always use InvalidXLogRecPtr instead * Remove GetMinReplicaLsn function
Relaces #187