ceph_monstore_tool: fix the illegal memory access when update_paxos#13605
ceph_monstore_tool: fix the illegal memory access when update_paxos#13605hjwsm1989 wants to merge 1 commit intoceph:hammerfrom
Conversation
|
@tchaikov please take a look |
|
@hjwsm1989 before merging this PR, could you update the commit message with a "Conflicts:" section explaining why this change is not cherry-picked from master? thanks! |
|
It would also be nice to have a tracker issue explaining what the bug is that this is fixing. |
|
@hjwsm1989 i understand that you are fixing an issue introduced by #11125, but in general we tend to backport fixes from master. and this fix is only for hammer. that's why we want to explain the reason why we are not doing a cherry-pick here. so i'd recommend something like: i concur with @smithfarm , could you add a ticket in tracker to explain this problem addressed by the fix? thanks. |
|
@tchaikov ok, i will update the commit message. |
c6b4766 to
3cfa68b
Compare
|
@smithfarm i opened an issue http://tracker.ceph.com/issues/19070 |
|
@hjwsm1989 could you put "Fixes: http://tracker.ceph.com/issues/19070" in your commit message right before your "Signed-off-by" tag? |
Conflicts:
we don't use C++11 in hammer. and this fix addresses the issue introduced by ceph#11125,
where we are iterating in a plain array instead of a std::vector in master. so this change is not cherry-picked from master.
Fixes: http://tracker.ceph.com/issues/19070
Signed-off-by: huangjun <hjwsm1989@gmail.com>
3cfa68b to
8a56ac5
Compare
|
@tchaikov done |
|
thanks! |
|
@hjwsm1989 Thanks for the fix. We'll do some test runs on it and report back here. |
|
Hammer is EOL. |
http://tracker.ceph.com/issues/19070