1 / 39

Replication Sprint

Replication Sprint. F99 alien invasion. Local Alien Invasion. Tests a transferred tree that is invaded by the local repo. An “invaded” node is “pruned” rather than deleted. Unit test uses transfer with a mocked repo Id (REPO_ID_A) , path mapping and nodeId mapping. Local Alien Invasion 1.

aron
Download Presentation

Replication Sprint

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Replication Sprint F99 alien invasion

  2. Local Alien Invasion • Tests a transferred tree that is invaded by the local repo. • An “invaded” node is “pruned” rather than deleted. • Unit test uses transfer with a mocked repo Id (REPO_ID_A) , path mapping and nodeId mapping.

  3. Local Alien Invasion 1 A1 • Set up A3 A2 A6 A4 A5 A8 A7

  4. Local Alien Invasion 2 A1 • B9 Invades A3 B9 A2 A6 A4 A5 A8 A7 Invaded by B (local repo)

  5. Local Alien Invasion 3 A1 • B9 Deleted A3 A2 A6 A4 A5 A8 A7 Invaded by B (local repo)

  6. Local Alien Invasion 4 A1 • Add B10 A3 A2 A6 A4 A5 B10 A8 A7 Invaded by B (local repo)

  7. Local Alien Invasion 5 A1 • Delete B10 A3 A2 A6 A4 A5 A8 A7 Invaded by B (local repo)

  8. Local Alien Invasion 6 A1 • Add B13,B14 A3 A2 A6 A4 A5 A8 B12 A7 B14 Invaded by B (local repo)

  9. Local Alien Invasion 7 A1 • Remove B14 A3 A2 A6 A4 A5 A8 B12 A7 Invaded by B (local repo)

  10. Local Alien Invasion 8 A1 • Add B13 A3 A2 A6 A4 A5 A8 B12 B13 A7 Invaded by B (local repo)

  11. Local Alien Invasion 9 A1 • Remove B13 A3 A2 A6 A4 A5 A8 B12 A7 Invaded by B (local repo)

  12. Local Alien Invasion 10 A1 • Remove B12 A3 A2 A6 A4 A5 A8 A7 Invaded by B (local repo)

  13. Local Alien Invasion 11 A1 • Add B9, B10 A3 B9 A2 A6 A4 A5 B10 A8 A7 Invaded by B (local repo)

  14. Local Alien Invasion 12 A1 Remove B10 A3 B9 A2 A6 A4 A5 A8 A7 Invaded by B (local repo)

  15. Local Alien Invasion 13 A1 • Add B11 A3 B9 A2 A6 A4 A5 A8 A7 B11 Invaded by B (local repo)

  16. Local Alien Invasion 14 A1 • A2 delete (sync) A3 B9 A2 A4 B11 Invaded by B (local repo)

  17. Local Alien Restore • Tests restore of local alien nodes

  18. Local Alien Restore 1 A1 B1 • Set up Invaded by B (local repo)

  19. Local Alien Restore 2 A1 B1 • Add B2 B2 Invaded by B (local repo)

  20. Local Alien Restore 3 A1 B1 • Delete B2 Invaded by B (local repo)

  21. Local Alien Restore 4 A1 B1 • Restore B2 B2 Invaded by B (local repo)

  22. Local Alien Restore 5 A1 B1 • Add B3 B2 B3 Invaded by B (local repo)

  23. Local Alien Restore 5 A1 B1 • Remove B2 Invaded by B (local repo)

  24. Local Alien Restore 6 A1 B1 • Restore B2 to B1 B2 B3 Invaded by B (local repo)

  25. Multi Repo Move • Tests move via transfer

  26. Multi Repo Move 1 B1 • Transfer C2, C3 C2 C3 Invaded by A Invaded by B (local repo)

  27. Multi Repo Move 2 B1 • Transfer A4, A5 C2 C3 A4 A5 Invaded by A Invaded by B (local repo)

  28. Multi Repo Move 3 B1 Move A5 to C3 (transfer sync) C2 C3 A4 A5 Invaded by A Invaded by B (local repo)

  29. Multi Repo Move 4 B1 • Add B6 C2 C3 A4 A5 B6 Invaded by A Invaded by B (local repo)

  30. Multi Repo Move 5 B1 • Move A5 to C2 C2 C3 A4 A5 B6 Invaded by A Invaded by B (local repo)

  31. Multi Repo Move 6 B1 • Move A5 to A4 C2 C3 A4 A5 B6 Invaded by A Invaded by B (local repo)

  32. Multi Repo Transfer • Tests multi-repo transfer • Mocks Descriptor service

  33. Multi Repo Transfer Setup Source trees not shown B1 {Root} Invaded by C Invaded by B (local repo)

  34. Multi Repo Transfer 1 • Transfer A2, A3 B1 {Root} A2 {Root}/images A3 Invaded by C Invaded by B (local repo)

  35. Multi Repo Transfer 2 • Transfer C3 B1 {Root} A2 {Root}/images C3 A3 Invaded by C Invaded by B (local repo)

  36. Multi Repo Transfer 3 • Transfer C3 B1 {Root} A2 {Root}/images C3 A3 C4 Invaded by C Invaded by B (local repo)

  37. Multi Repo Transfer 4 • Sync C4 delete B1 {Root} A2 {Root}/images C3 A3 Invaded by C Invaded by B (local repo)

  38. Multi Repo Transfer 1 • Remove C3 transfer Archive Node Ref B1 {Root} A2 {Root}/images A3 Invaded by C Invaded by B (local repo)

  39. That’s all folks!

More Related