-
Notifications
You must be signed in to change notification settings - Fork 472
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
Fix compile warnings in kvrocks #653
Conversation
730032d
to
46fe25a
Compare
raiseError() is a little strange, it is an unreturned function. Reasonably, we should return void. But it will influent origin logic. So, I don't handle it. It's a future ticket. |
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.
IIRC we disable TSan checker due to several problem it detected but not be resolved.
@PragmaTwice can we re-introduce TSan checker after this fix? If so, we should include the CI yaml changes into this patch.
I have tried four time but failed reproduce it.😂. (It may be related with OS) Env:
investigate this problem later (other PR), this PR just fix warning. |
.gitignore
Outdated
kvrocks | ||
kvrocks2redis |
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.
kvrocks | |
kvrocks2redis |
I think these files can be remove since these are in build directories.
21db8cf
to
9174063
Compare
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
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
Thanks for your contribution! Merging... |
close 639fix problem found by tsan.Thanks @PragmaTwice .
Fix warning.
Add more
gitignore
(I think them also are needed by others.)