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
hammer: mon: drop pg temps from not the current primary in OSDMonitor #9893
Conversation
does this compile if you just replace nullptr with NULL ? |
840eafd
to
e925262
Compare
@dachary |
make check does not have a problem with it but I don't think it exercises this specific part of the code |
e925262
to
6c87e8f
Compare
@dachary |
I'm not sure we need to use |
6c87e8f
to
0960f21
Compare
@smithfarm Actually, I still confuse with NULL and nullptr :( thanks!! |
Fixes: http://tracker.ceph.com/issues/16127 Signed-off-by: Samuel Just <sjust@redhat.com> (cherry picked from commit 1a07123) change: use NULL to replace the nullptr because we don't have C++11
0960f21
to
474abb8
Compare
@Vicente-Cheng My understanding is that NULL is used in C, and 0 is used in C++. See https://en.wikipedia.org/wiki/Null_pointer#cite_note-4 |
Note that the "null pointer" does not actually point to anything. |
@smithfarm that I remove the DNM tag |
…the current primary Reviewed-by: Nathan Cutler <ncutler@suse.com>
…the current primary Reviewed-by: Nathan Cutler <ncutler@suse.com>
@athanatos This PR is in the latest round of hammer-backports integration tests, which passed a rados run (the only failures are a valgrind false positive that has since been fixed by ceph/teuthology#915 and http://tracker.ceph.com/issues/15139 which is an infrastructure issue with two of the tests) - for details, see: http://tracker.ceph.com/issues/15895#note-18 OK to merge? |
lgtm |
http://tracker.ceph.com/issues/16430