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
clear data and payload after removed from ops_in_flight #3217
Conversation
Reviewed-by: |
update <> to email address |
bot timed out, increasing timeout |
@dachary how can we see the result after timeout increased? |
@boydc2014 ok, I'll run the bot again |
FAIL: the output of run-make-check.sh on 3e7abac is http://paste.pound-python.org/show/eolLxZVMWwbAKrtpyBEw/ |
You should try to run the failed tests locally to get more information. I suspect that running a vstart.sh cluster manually will also show problems. PASS: unittest_on_exit FAIL: test/erasure-code/test-erasure-code.sh PASS: unittest_bufferlist.sh PASS: test/encoding/check-generated.sh PASS: test/mon/osd-pool-create.sh PASS: test/mon/misc.sh PASS: test/mon/osd-crush.sh PASS: test/mon/osd-erasure-code-profile.sh PASS: test/mon/mkfs.sh PASS: test/ceph-disk.sh PASS: test/mon/mon-handle-forward.sh FAIL: test/vstart_wrapped_tests.sh |
this fails make check.. test/erasure-code/test-erasure-code.sh is enough to reproduce in my case. |
http://tracker.ceph.com/issues/9916 Fixes: ceph#9916 Signed-off-by: Dong Lei <leidong@yahoo-inc.com>
SUCCESS: the output of run-make-check.sh on 725391e is http://paste.pound-python.org/show/ZrNGT4lYlkg0Qz1vyIXA/ |
@liewegas I may need to explain why QA fails on my first commit: Firstly, I want to clear data and payload after remove op from ops_in_flight using the following code: Why QA fails is that when after doing history.insert, the destructor of this op is called. And then I want to clear the data and payload. It just crashs with a segment fault. Still investigating why the destructor is called since this op is still tracked by history. I may open another pull request to refine the order of op history. |
This looks correct to me! Alternatively, you could take a ref and do teh free after, but this is simpler, and clear should be fast. Reviewed-by: |
Can you redo this pull request, targetting master branch? and put Backport: giant, firefly in the git commit message so that we can backport it. Thanks! |
clear data and payload after removed from ops_in_flight Reviewed-by: Sage Weil <sage@redhat.com>
http://tracker.ceph.com/issues/9916 Fixes: #9916
Signed-off-by: Dong Lei leidong@yahoo-inc.com