Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

make relay unit more robust #91

Closed
csuzhangxc opened this issue Mar 25, 2019 · 0 comments
Closed

make relay unit more robust #91

csuzhangxc opened this issue Mar 25, 2019 · 0 comments
Labels
type/feature-request This issue is a feature request

Comments

@csuzhangxc
Copy link
Member

Feature Request

Is your feature request related to a problem? Please describe:

Currently, we need the following assumptions to make relay unit workers correctly:

  1. master always sends all binlog events in its binlog file
  2. master sends an event until all of the previous events sent

But these assumptions may not always satisfied.

Describe the feature you'd like:

We can change the assumption to the following:

  • master always sends all binlog events a slave needed

In other words, the correctness of the relay unit relies on the sending behavior of the master, not binlog file on the master.

In practice, we can use some dummy events to fill the relay log file if no corresponding events received from the master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/feature-request This issue is a feature request
Projects
None yet
Development

No branches or pull requests

1 participant