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

Question about persisting master election result #7

Open
jivimberg opened this issue Nov 20, 2017 · 0 comments
Open

Question about persisting master election result #7

jivimberg opened this issue Nov 20, 2017 · 0 comments

Comments

@jivimberg
Copy link

I've noticed that a consequence of using the paxos chain to manage the master lease is that we end up with mixed application level and election level data in the log.

If we were to add a new parameter to def advance_instance in replicated_value.py so that the caller can specify if the value should be persisted to the log or not. And we'd keep track of the paxos instance number separately, so having it not matching the file length is not an issue. Do you see any disadvantage with this approach?

Is there any use case in where it'd be useful to read the election result from the log?

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