Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osd/OSDMap: potential access violation fix
Seems we'll continue to access the iterator after it is invalidated by the __erase__ method. Also this is more efficient considering there could be some extreme ec-pool (e.g., 8 + 2) consumers.. Fixes: http://tracker.ceph.com/issues/37881 Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn> (cherry picked from commit df2e01f)
- Loading branch information