-
Notifications
You must be signed in to change notification settings - Fork 507
Clickhouse sync fixing #1198
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
Clickhouse sync fixing #1198
Changes from all commits
26dc88a
2c38d22
3f7c74f
de5fb50
64d6b60
7c53cf2
b94f75d
b4b23d7
63d8828
8d1a710
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -566,6 +566,9 @@ async function syncPostgresMapping( | |
| if (rows.length === 0) { | ||
| break; | ||
| } | ||
| if (rows.length > 1) { | ||
| console.log("db-sync-postgres: more than 1 row returned from source db fetch", { tenancyId, numRows: rows.length }); | ||
| } | ||
|
Comment on lines
+569
to
+571
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider using The rest of this file uses Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time! |
||
|
|
||
| await pushRowsToExternalDb( | ||
| externalClient, | ||
|
|
@@ -644,6 +647,9 @@ async function syncClickhouseMapping( | |
| if (rows.length === 0) { | ||
| break; | ||
| } | ||
| if (rows.length > 1) { | ||
| console.log("db-sync-clickhouse: more than 1 row returned from source db fetch", { tenancyId, numRows: rows.length }); | ||
| } | ||
|
|
||
| await pushRowsToClickhouse( | ||
| client, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.