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

Various bug fixes #2457

Merged
merged 14 commits into from
Jun 26, 2018
Merged

Various bug fixes #2457

merged 14 commits into from
Jun 26, 2018

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Jun 26, 2018

Bug Fixes:

  • Fix a long-standing bug, where we were dropping messages if n.messages channel was full. That caused loss of MsgProp messages, which had to be retried. There are other ways messages could be dropped, but doing it here was unnecessary.
  • Added an internal retry mechanism for dropped proposals in both server and Zero.
  • Fixed a recently introduced bug in posting list, which caused persisted postings to be skipped.
  • Moved all tests to use docker-compose. test.sh now runs after running a 3-node cluster of Dgraph alphas.

Cleanup:

  • Moved random number generator to the common conn/node.go.
  • Moved common Dgraph flags to RootCmd.
  • Allowed Zero to expose its trace.
  • All server package unit tests now use Docker-based Dgraph cluster, instead of spawning their own Dgraph instances.

This change is Reviewable

@manishrjain manishrjain merged commit 06ea4c5 into master Jun 26, 2018
@manishrjain manishrjain deleted the mrjn/list-fix branch June 26, 2018 21:06
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Bug Fixes:
- Fixed a recently introduced bug in posting list, which caused persisted postings to be skipped.
- Fix a long-standing bug, where we were dropping messages if `n.messages` channel was full. That caused loss of `MsgProp` messages, which had to be retried. There are other ways messages could be dropped, but doing it here was unnecessary.

Cleanup:
- Moved all tests to use docker-compose. test.sh now runs after running a 3-node cluster of Dgraph alphas.
- Added an internal retry mechanism for dropped proposals in both server and Zero.
- Moved random number generator to the common conn/node.go.
- Moved common Dgraph flags to RootCmd.
- Allowed Zero to expose its trace.
- All server package unit tests now use Docker-based Dgraph cluster, instead of spawning their own Dgraph instances.
- Query tests still work with their own Zero server.
- Upgrade Raft library.
- Improve tracking for proposal contexts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant