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

Change: remove tx from spawn_replication_stream() #419

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Jul 1, 2022

Changelog

Change: remove tx from spawn_replication_stream()

Replication should not be responsible invoke the callback when
replication become upto date. It makes the logic dirty.
Such a job can be done by watching the metrics change.

  • Change: API: AddLearnerResponse has a new field membership_log_id
    which is the log id of the membership log that contains the newly
    added learner.

This change is Reviewable

Replication should not be responsible invoke the callback when
replication become upto date. It makes the logic dirty.
Such a job can be done by watching the metrics change.

- Change: API: AddLearnerResponse has a new field `membership_log_id`
  which is the log id of the membership log that contains the newly
  added learner.
@drmingdrmer drmingdrmer merged commit ac7ea58 into databendlabs:main Jul 1, 2022
@drmingdrmer drmingdrmer deleted the 7-add-learner-no-tx branch July 1, 2022 10:13
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.

1 participant