mbox series

[v5,0/4] colo: Add support for continuous replication

Message ID cover.1568574478.git.lukasstraub2@web.de (mailing list archive)
Headers show
Series colo: Add support for continuous replication | expand

Message

Lukas Straub Sept. 15, 2019, 7:19 p.m. UTC
Hello Everyone,
These Patches add support for continuous replication to colo. This means
that after the Primary fails and the Secondary did a failover, the Secondary
can then become Primary and resume replication to a new Secondary.

On a side note, I wrote a Pacemaker Resource Agent for colo which I will
post when its ready.
I have to say it's quite fun to randomly kill a Node, wait for resync
and repeat and see how the VM stays alive all the time. :)

Regards,
Lukas Straub

v5:
 - change syntax for the position= parameter
 - fix spelling mistake

v4:
 - fix checkpatch.pl warnings

v3:
 - add test for replication changes
 - check if the filter to be inserted before/behind belongs to the same interface
 - fix the error message for the position= parameter
 - rename term "after" -> "behind" and variable "insert_before" -> "insert_before_flag"
 - document the quorum node on the secondary side
 - simplify quorum parameters in documentation
 - remove trailing spaces in documentation
 - clarify the testing procedure in documentation

v2:
 - fix email formating
 - fix checkpatch.pl warnings
 - fix patchew error
 - clearer commit messages


Lukas Straub (4):
  block/replication.c: Ignore requests after failover
  tests/test-replication.c: Add test for ignoring requests after
    failover
  net/filter.c: Add Options to insert filters anywhere in the filter
    list
  colo: Update Documentation for continuous replication

 block/replication.c        |  38 ++++++-
 docs/COLO-FT.txt           | 212 +++++++++++++++++++++++++++----------
 docs/block-replication.txt |  28 +++--
 include/net/filter.h       |   2 +
 net/filter.c               |  92 +++++++++++++++-
 qemu-options.hx            |  10 +-
 tests/test-replication.c   |  52 +++++++++
 7 files changed, 358 insertions(+), 76 deletions(-)

--
2.20.1

Comments

Lukas Straub Sept. 26, 2019, 4:09 p.m. UTC | #1
On Sun, 15 Sep 2019 21:19:50 +0200
Lukas Straub <lukasstraub2@web.de> wrote:

> Hello Everyone,
> These Patches add support for continuous replication to colo. This means
> that after the Primary fails and the Secondary did a failover, the Secondary
> can then become Primary and resume replication to a new Secondary.
>
> On a side note, I wrote a Pacemaker Resource Agent for colo which I will
> post when its ready.
> I have to say it's quite fun to randomly kill a Node, wait for resync
> and repeat and see how the VM stays alive all the time. :)
>
> Regards,
> Lukas Straub
>
> v5:
>  - change syntax for the position= parameter
>  - fix spelling mistake
>
> v4:
>  - fix checkpatch.pl warnings
>
> v3:
>  - add test for replication changes
>  - check if the filter to be inserted before/behind belongs to the same interface
>  - fix the error message for the position= parameter
>  - rename term "after" -> "behind" and variable "insert_before" -> "insert_before_flag"
>  - document the quorum node on the secondary side
>  - simplify quorum parameters in documentation
>  - remove trailing spaces in documentation
>  - clarify the testing procedure in documentation
>
> v2:
>  - fix email formating
>  - fix checkpatch.pl warnings
>  - fix patchew error
>  - clearer commit messages
>
>
> Lukas Straub (4):
>   block/replication.c: Ignore requests after failover
>   tests/test-replication.c: Add test for ignoring requests after
>     failover
>   net/filter.c: Add Options to insert filters anywhere in the filter
>     list
>   colo: Update Documentation for continuous replication
>
>  block/replication.c        |  38 ++++++-
>  docs/COLO-FT.txt           | 212 +++++++++++++++++++++++++++----------
>  docs/block-replication.txt |  28 +++--
>  include/net/filter.h       |   2 +
>  net/filter.c               |  92 +++++++++++++++-
>  qemu-options.hx            |  10 +-
>  tests/test-replication.c   |  52 +++++++++
>  7 files changed, 358 insertions(+), 76 deletions(-)
>

Hello Everyone,
Ping.

Regards,
Lukas Straub
Zhang Chen Sept. 26, 2019, 4:13 p.m. UTC | #2
> -----Original Message-----
> From: Lukas Straub <lukasstraub2@web.de>
> Sent: Friday, September 27, 2019 12:10 AM
> To: qemu-devel <qemu-devel@nongnu.org>
> Cc: Zhang, Chen <chen.zhang@intel.com>; Jason Wang
> <jasowang@redhat.com>; Wen Congyang <wencongyang2@huawei.com>;
> Xie Changlong <xiechanglong.d@gmail.com>; kwolf@redhat.com;
> mreitz@redhat.com
> Subject: Re: [PATCH v5 0/4] colo: Add support for continuous replication
> 
> On Sun, 15 Sep 2019 21:19:50 +0200
> Lukas Straub <lukasstraub2@web.de> wrote:
> 
> > Hello Everyone,
> > These Patches add support for continuous replication to colo. This
> > means that after the Primary fails and the Secondary did a failover,
> > the Secondary can then become Primary and resume replication to a new
> Secondary.
> >
> > On a side note, I wrote a Pacemaker Resource Agent for colo which I
> > will post when its ready.
> > I have to say it's quite fun to randomly kill a Node, wait for resync
> > and repeat and see how the VM stays alive all the time. :)
> >
> > Regards,
> > Lukas Straub
> >
> > v5:
> >  - change syntax for the position= parameter
> >  - fix spelling mistake
> >
> > v4:
> >  - fix checkpatch.pl warnings
> >
> > v3:
> >  - add test for replication changes
> >  - check if the filter to be inserted before/behind belongs to the
> > same interface
> >  - fix the error message for the position= parameter
> >  - rename term "after" -> "behind" and variable "insert_before" ->
> "insert_before_flag"
> >  - document the quorum node on the secondary side
> >  - simplify quorum parameters in documentation
> >  - remove trailing spaces in documentation
> >  - clarify the testing procedure in documentation
> >
> > v2:
> >  - fix email formating
> >  - fix checkpatch.pl warnings
> >  - fix patchew error
> >  - clearer commit messages
> >
> >
> > Lukas Straub (4):
> >   block/replication.c: Ignore requests after failover
> >   tests/test-replication.c: Add test for ignoring requests after
> >     failover
> >   net/filter.c: Add Options to insert filters anywhere in the filter
> >     list
> >   colo: Update Documentation for continuous replication
> >
> >  block/replication.c        |  38 ++++++-
> >  docs/COLO-FT.txt           | 212 +++++++++++++++++++++++++++----------
> >  docs/block-replication.txt |  28 +++--
> >  include/net/filter.h       |   2 +
> >  net/filter.c               |  92 +++++++++++++++-
> >  qemu-options.hx            |  10 +-
> >  tests/test-replication.c   |  52 +++++++++
> >  7 files changed, 358 insertions(+), 76 deletions(-)
> >
> 
> Hello Everyone,
> Ping.

Sorry for slow reply, I'm reviewing~

Thanks
Zhang Chen

> 
> Regards,
> Lukas Straub