Skip to content

API endpoint for total rows synced by mirror #3145

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

Merged
merged 5 commits into from
Jul 11, 2025
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Jul 3, 2025

Currently to get the total rows synced by a mirror across CDC and initial load, clients of our API would have to call CDCTableTotalCounts and InitialLoadSummary and in the case of the latter they would have to sum the NumRowsSynced field of all entries. Not to mention both these API calls would be overfetching if we just want a single count.

This PR introduces a new endpoint dedicated to getting the sum total rows synced by CDC and initial load.
An API test has been included.

@Amogh-Bharadwaj Amogh-Bharadwaj enabled auto-merge (squash) July 11, 2025 12:10
@Amogh-Bharadwaj Amogh-Bharadwaj merged commit 1716b30 into main Jul 11, 2025
21 of 23 checks passed
@Amogh-Bharadwaj Amogh-Bharadwaj deleted the total-mirror-count branch July 11, 2025 12:54
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