-
Notifications
You must be signed in to change notification settings - Fork 4
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 cets_status module #32
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #32 +/- ##
==========================================
+ Coverage 96.61% 97.38% +0.77%
==========================================
Files 8 9 +1
Lines 531 612 +81
==========================================
+ Hits 513 596 +83
+ Misses 18 16 -2
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The set operations happening here over maps and lists and proplists and maps of proplists and lists of maps and maps of maps of lists and just about every combination possible, is actually quite entertaining :D
Just a few minor comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add cets_status module
The code gets a list of nodes, gets a list of servers and compares them.
After that it produces a map like:
The map could be used for getting the status of the cluster.
This functionality is used in MongooseIM like that esl/MongooseIM#4116