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

LSN Fetch for stats: Make it non-fatal for null LSN #2396

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Amogh-Bharadwaj
Copy link
Contributor

Follow-up to #2372

Since this function is just for recording in a stat table, the error can just be logged.

@@ -433,12 +433,8 @@ func pullCore[Items model.Items](
latestLSN, err := c.getCurrentLSN(ctx)
Copy link
Contributor

Choose a reason for hiding this comment

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

should comment indicating not returning error is intentional

@Amogh-Bharadwaj Amogh-Bharadwaj changed the title LSN Fetch for stats: Make it non-fatal LSN Fetch for stats: Make it non-fatal for null LSN Dec 27, 2024
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