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

Add gRPC method to get the status of a mirror #506

Merged
merged 2 commits into from
Oct 12, 2023
Merged

Conversation

iskakaushik
Copy link
Contributor

No description provided.

Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj left a comment

Choose a reason for hiding this comment

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

lgtm


err = proto.Unmarshal(configBytes, &config)
if err != nil {
return nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Any reason why we don't want to return an error here like in the above function?

if err != nil {
    return nil, fmt.Errorf("unable to unmarshal qrep config: %w", err)
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in case where initial load is done for cdc we do not add the entry to flows table

@iskakaushik iskakaushik merged commit 4481888 into main Oct 12, 2023
11 checks passed
@iskakaushik iskakaushik deleted the mirror-status branch October 12, 2023 21:10
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