-
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
Cleanup of unused and superfluous code in src/vkutil.*
#41
Conversation
Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
Signed-off-by: Björn Svensson <[email protected]>
There are a mixed usage of own and standard assert, lets use standard from <assert.h> only. Signed-off-by: Björn Svensson <[email protected]>
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.
🥇
Failing jobs? |
Signed-off-by: Björn Svensson <[email protected]>
Yes, seem to be some issue with windows that needs to be corrected. CentOS fails due to some install server |
Signed-off-by: Björn Svensson <[email protected]>
CentOS 7 is EOL. We should drop it. In Valkey we switched to some other old distro that we can use as the oldest supported system, some version of AlmaLinux IIRC. Regarding clang-format, are we using a too old version (13)? In Valkey we use version 18 to make it understand our conventions and config file. Not sure if this is the problem. |
Yes, we should replace CentoOS 7 and run clang-tidy on everything, I has never passed in libvalkey after the merge. |
- Remove unused code in `src/vkutil.*` - Remove macro `NOT_REACHED()`. - Remove function `vk_valid_port()`. - Remove own assert macro in cluster code. We have a mixed usage of own and standard assert. Lets use standard from <assert.h> only. Signed-off-by: Björn Svensson <[email protected]>
src/vkutil.*
NOT_REACHED()
.vk_valid_port()
.We have a mixed usage of own and standard assert. Lets use standard from <assert.h> only.