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

refactor fetching and pushing of last offset #1329

Merged
merged 7 commits into from
Feb 19, 2024

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Feb 19, 2024

  • Moves getting of last offset to start flow and removes from peer flow

}

msg := fmt.Sprintf("last synced ID from destination peer - %d\n", lastOffset)
slog.InfoContext(ctx, msg)
Copy link
Contributor

@serprex serprex Feb 19, 2024

Choose a reason for hiding this comment

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

use logger.LoggerFromCtx

@serprex
Copy link
Contributor

serprex commented Feb 19, 2024

This is done in #1211 also, good to split it out, can remove the proto too

@iskakaushik
Copy link
Contributor

this is for a customer

@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 91da856 into customer-mirage Feb 19, 2024
3 of 4 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the move-last-offset-fetch branch February 19, 2024 22:09
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