Skip to content
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

objecter: delete the osdmap correctly when receiving new ones #28304

Closed

Conversation

gregsfortytwo
Copy link
Member

We were erroneously decoding a new map and then pointer-assigning it
without deleting the existing map. Fix that!

Fixes: http://tracker.ceph.com/issues/39723

Signed-off-by: Greg Farnum gfarnum@redhat.com

We were erroneously decoding a new map and then pointer-assigning it
without deleting the existing map. Fix that!

Fixes: http://tracker.ceph.com/issues/39723

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
@gregsfortytwo
Copy link
Member Author

Looks like this has been broken since the assignment was introduced in d98ace1. Guess we just got "lucky" in not having it turn up previously.

This is not even compile tested but I presume I didn't screw that up, so once it passes "make check" we should be good to merge.

@xiexingguo
Copy link
Member

IIRC, @liewegas has already posted a fix at #28242

Copy link
Member

@xiexingguo xiexingguo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, it's a dup of #28242 though.

@gregsfortytwo
Copy link
Member Author

Oh thanks Xie!

@gregsfortytwo gregsfortytwo deleted the wip-39723-delete-osdmap branch May 30, 2019 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants