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

Add test: Log entry agreement 3 #37

Open
suhasks123 opened this issue Feb 20, 2021 · 0 comments
Open

Add test: Log entry agreement 3 #37

suhasks123 opened this issue Feb 20, 2021 · 0 comments

Comments

@suhasks123
Copy link
Collaborator

Overview:

This is an extension to Log entry agreement 2, where the leader that is about to crash has diverged from the main system in terms of the log entries.

Procedure:

  • Simulate a situation where the leader adds new log entries and crashes before committing them by confirming the majority.
  • A new leader has been selected and new log entries are added to the system.
  • Now, the entries in the system and the former leader have diverged.
  • Bring the leader back online and wait for the entries to be synchronized.
  • Then, check if all the replicas agree on the new log entries that were created after the crash of the initial leader.
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

No branches or pull requests

1 participant