Project

General

Profile

Bug #38683

OSDMapRef access by multiple threads is unsafe

Added by Zengran Zhang 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
OSDMap
Target version:
Start date:
03/12/2019
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x000055c38ab92549 in std::_Sp_counted_base<(_gnu_cxx::_Lock_policy)2>::_M_release() ()
#2 0x000055c38ac76a76 in PG::publish_stats_to_osd() ()
#3 0x000055c38ac8f435 in PG::RecoveryState::Primary::react(PG::ActMap const&) ()
#4 0x000055c38acfa536 in boost::statechart::simple_state<PG::RecoveryState::Primary, PG::RecoveryState::Started, PG::RecoveryState::Peering, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*) ()
#5 0x000055c38acf8710 in boost::statechart::simple_state<PG::RecoveryState::Peering, PG::RecoveryState::Primary, PG::RecoveryState::GetInfo, (boost::statechart::history_mode)0>::react_impl(boost::statechart::event_base const&, void const*) ()
#6 0x000055c38acfa9a9 in boost::statechart::simple_state<PG::RecoveryState::GetInfo, PG::RecoveryState::Peering, boost::mpl::list<mpl
::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_:

History

#1 Updated by Zengran Zhang 6 months ago

  • Target version set to v12.2.12

#2 Updated by Zengran Zhang 6 months ago

this is crashed on 12.2.7, upstream had avoided, becuase PG::publish_stats_to_osd will not call osd->osd->get_osdmap()..

#3 Updated by Zengran Zhang 6 months ago

  • Status changed from New to Closed

Also available in: Atom PDF