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

[server] integration test for blob transfer between servers #1206

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jingy-li
Copy link
Collaborator

@jingy-li jingy-li commented Sep 30, 2024

Integration test for blob transfer between servers

  • Minor bug fix for ServerBlobFinder. Previously initialize ServerBlobFinder need to wait for customizedViewRepository complete, it waits so long. Moving get customizedViewRepository when we need to find peer not in the constructor.
  • Add integration test to do
    • Start 2 servers and a VPJ.
    • Remove one servers metadata partition and data partition
    • Restart server1.
    • Verify that the re-started server successfully ingest data from server2 via blob transfer.

How was this PR tested?

(1) Integration test: the partition file is transferred and the metadata is transferred and updated.
(2) Adding logs in updateStorePartitionMetadata to compare the offset record before and after the metadata update. Offset record is successfully transferred and used.

Screenshot 2024-09-27 at 5 49 12 PM Screenshot 2024-09-27 at 5 49 46 PM

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to explain your proposed changes and call out the behavior change.

adamxchen
adamxchen previously approved these changes Oct 1, 2024
Copy link
Collaborator

@adamxchen adamxchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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.

3 participants