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

internal: employ Core sequencer for pglogical & mylogical #1060

Closed
wants to merge 4 commits into from

Conversation

ZhouXing19
Copy link
Contributor

@ZhouXing19 ZhouXing19 commented Oct 31, 2024

So that single stream frontend are using the pull based model.


This change is Reviewable

@@ -116,7 +116,8 @@ func (t *orderedAdapter) AcceptMultiBatch(
) error {
// Peek to find the current schema.
var commonSchema ident.Schema
for table := range batch.Mutations() {
for table, mutation := range batch.Mutations() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not just do for table, _ := range batch.Mutations() or leave it as it was? What's the reason for having the mutation be set to a variable that's unused?

Group: tableGroup,
// Add top-of-funnel reporting.
WrapperFunc: func(acc types.MultiAcceptor) {
acc = types.CountingAcceptor(acc,

Check warning

Code scanning / CodeQL

Useless assignment to local variable Warning

This definition of acc is never used.
@ZhouXing19
Copy link
Contributor Author

Closing this in favor of #1065

@ZhouXing19 ZhouXing19 closed this Nov 6, 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