Skip to content

mds: Clear backtrace updates on standby_trim_seg#155

Closed
6uv1s wants to merge 1 commit intomasterfrom
wip-4539
Closed

mds: Clear backtrace updates on standby_trim_seg#155
6uv1s wants to merge 1 commit intomasterfrom
wip-4539

Conversation

@6uv1s
Copy link
Contributor

@6uv1s 6uv1s commented Mar 27, 2013

If the mds is standby, when a segment is trimmed, we need
to clear the backtrace updates list to avoid the following
assertion when the segment is deleted.

./include/elist.h: 92: FAILED assert(_head.empty())
ceph version 0.59-478-g8befbca (8befbca)
(MDLog::standby_trim_segments()+0xce5) 0x6ccec5 [0x4e86b9](Journaler::_finish_reprobe%28int, unsigned long, Context*%29+0x190)
[0x6d3210](Filer::_probed%28Filer::Probe*, object_t const&, unsigned long,
utime_t%29+0x558) 0x704a88 0x705900 0x6f1df8 0x4dc318 0x4dc4df 0x4ddf7b 0x81f561 0x79c6ad 0x7f346bb9ee9a [0x7f346a3574bd]

Fixes #4539.
Signed-off-by: Sam Lang sam.lang@inktank.com

If the mds is standby, when a segment is trimmed, we need
to clear the backtrace updates list to avoid the following
assertion when the segment is deleted.

./include/elist.h: 92: FAILED assert(_head.empty())
ceph version 0.59-478-g8befbca (8befbca)
(MDLog::standby_trim_segments()+0xce5) [0x6ccec5]
(MDS::C_MDS_StandbyReplayRestartFinish::finish(int)+0x39) [0x4e86b9]
(Journaler::_finish_reprobe(int, unsigned long, Context*)+0x190)
[0x6d3210]
(Filer::_probed(Filer::Probe*, object_t const&, unsigned long,
utime_t)+0x558) [0x704a88]
(Objecter::C_Stat::finish(int)+0xc0) [0x705900]
(Objecter::handle_osd_op_reply(MOSDOpReply*)+0xe38) [0x6f1df8]
(MDS::handle_core_message(Message*)+0xae8) [0x4dc318]
(MDS::_dispatch(Message*)+0x2f) [0x4dc4df]
(MDS::ms_dispatch(Message*)+0x1db) [0x4ddf7b]
(DispatchQueue::entry()+0x341) [0x81f561]
(DispatchQueue::DispatchThread::entry()+0xd) [0x79c6ad]
(()+0x7e9a) [0x7f346bb9ee9a]
(clone()+0x6d) [0x7f346a3574bd]

Fixes #4539.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
@6uv1s 6uv1s closed this Mar 27, 2013
liewegas pushed a commit that referenced this pull request Dec 14, 2016
tasks/mds_client_recovery: client trim its cache on reconnect

Reviewed-by: John Spray <john.spray@redhat.com>
jecluis pushed a commit to jecluis/ceph that referenced this pull request Nov 5, 2017
rgw: stop/join TokenCache revoke thread only if started.
liewegas added a commit to liewegas/ceph that referenced this pull request Nov 5, 2021
…y-connect-mailing-list-buttons

ceph.io/community -- added c-users and c-announce
m-ildefons pushed a commit to m-ildefons/ceph that referenced this pull request Jun 13, 2023
rgw/testing: Add a few more passing s3tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant