-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
dgraphzero: lease flag #1583
dgraphzero: lease flag #1583
Conversation
Reviewed 2 of 2 files at r1. cmd/dgraphzero/raft.go, line 243 at r1 (raw file):
if p.MaxLeaseId > 0 and < state.MaxLeaseId, we should return an error? Or, at lease log it. cmd/dgraphzero/raft.go, line 245 at r1 (raw file):
Not sure why this printf is in the else. or in an if now. We can just print it directly, right? Comments from Reviewable |
Review status: all files reviewed at latest revision, 2 unresolved discussions. cmd/dgraphzero/raft.go, line 243 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
Done. Logging it out. cmd/dgraphzero/raft.go, line 245 at r1 (raw file): Previously, manishrjain (Manish R Jain) wrote…
@janardhan1993 mentioned to me it was occurring too frequently to be useful output. I'll defer to his judgement here. Comments from Reviewable |
Reviewed 1 of 1 files at r2. cmd/dgraphzero/raft.go, line 245 at r1 (raw file): Previously, peterstace (Peter Stace) wrote…
Lease changes happen too frequently i couldn't see tablet size update proposals in middle of them. cmd/dgraphzero/raft.go, line 242 at r2 (raw file):
else if p.maxleaseid != 0 Comments from Reviewable |
Review status: all files reviewed at latest revision, 3 unresolved discussions. cmd/dgraphzero/raft.go, line 245 at r1 (raw file): Previously, janardhan1993 (Janardhan Reddy) wrote…
Hmm, okay I'll leave as is for now. Comments from Reviewable |
This change is