Skip to content

colo: Add support for continuous replication

Lukas Straub qemu-devel 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest posting 2/24 patches 8 repliesIn review
  2. v7 posting 1/20 of 4 patches 0 repliesSuperseded
  3. v64 patches 11 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v54 patches12 repliesSuperseded
v44 patches3 repliesSuperseded
v34 patches0 repliesSuperseded
v2 posting 3/33 patches8 repliesSuperseded
v2 posting 2/33 patches1 replySuperseded
v2 posting 1/30 of 3 patches6 repliesSuperseded
v13 patches1 replySuperseded

Changes in v7 from the cover letter

- clarify meaning of ip's in documentation and note that active and hidden images just need to be created once
- reverted removal of bdrv_is_root_node(top_bs) in replication and adjusted the top-id= parameter in documentation acordingly

Patches in v7 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block/replication.c: Ignore requests after failoverblock/replication.c+34 -11 reply
2/4tests/test-replication.c: Add test for for secondary node continuing replicationtests/test-replication.c+52 -00 replies
3/4net/filter.c: Add Options to insert filters anywhere in the filter listinclude/net/filter.h net/filter.c qemu-options.hx+119 -60 replies
4/4colo: Update Documentation for continuous replicationdocs/COLO-FT.txt docs/block-replication.txt+184 -681 reply

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchZhang ChenMax Reitz
1/4R-b A-b
2/4
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/4] colo: Add support for continuous replication

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.

Regards,
Lukas Straub

v7:
- clarify meaning of ip's in documentation and note that active and hidden images just need to be created once
- reverted removal of bdrv_is_root_node(top_bs) in replication and adjusted the top-id= parameter in documentation acordingly

v6:
- documented the position= and insert= options
- renamed replication test
- clarified documentation by using different ip's for primary and secondary
- added Reviewed-by tags

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 for secondary node continuing
replication
net/filter.c: Add Options to insert filters anywhere in the filter
list
colo: Update Documentation for continuous replication

 block/replication.c        |  35 +++++-
 docs/COLO-FT.txt           | 224 +++++++++++++++++++++++++++----------
 docs/block-replication.txt |  28 +++--
 include/net/filter.h       |   2 +
 net/filter.c               |  92 ++++++++++++++-
 qemu-options.hx            |  31 ++++-
 tests/test-replication.c   |  52 +++++++++
 7 files changed, 389 insertions(+), 75 deletions(-)

--
2.20.1