cephfs_mirror: fix crash in update_fs_mirrors()#56148
Merged
Conversation
8666ffb to
f471736
Compare
vshankar
reviewed
Mar 14, 2024
…sing them Fixes the crash: ``` std::scoped_lock<std::mutex>::scoped_lock (__m=..., this=<optimized out>, this=<optimized out>, __m=...) at /usr/include/c++/11/mutex:655 cephfs::mirror::MirrorWatcher::is_failed (this=0x0) at /usr/src/debug/ceph-19.0.0-1578.g3d482f42.el9.x86_64/src/tools/cephfs_mirror/MirrorWatcher.h:56 cephfs::mirror::FSMirror::is_failed (this=0x557478284340) at /usr/src/debug/ceph-19.0.0-1578.g3d482f42.el9.x86_64/src/tools/cephfs_mirror/FSMirror.h:52 cephfs::mirror::Mirror::update_fs_mirrors (this=0x5574773c3e60) at /usr/src/debug/ceph-19.0.0-1578.g3d482f42.el9.x86_64/src/tools/cephfs_mirror/Mirror.cc:515 ``` Fixes: https://tracker.ceph.com/issues/64751 Signed-off-by: Jos Collin <jcollin@redhat.com>
f471736 to
5b8b9c2
Compare
5b8b9c2 to
505a92f
Compare
Member
Author
|
jenkins test api |
Member
Author
|
jenkins test make check arm64 |
Member
Author
|
jenkins retest this please |
bf1f12f to
c89aa17
Compare
vshankar
reviewed
Mar 29, 2024
c89aa17 to
ba488fd
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
Contributor
Contributor
|
@joscollin please rebase |
ba488fd to
bf1c482
Compare
Member
Author
@vshankar rebased |
Member
Author
|
jenkins test make check arm64 |
vshankar
reviewed
Apr 10, 2024
bf1c482 to
5b8b9c2
Compare
vshankar
approved these changes
Apr 10, 2024
Member
Author
|
jenkins test make check |
vshankar
added a commit
to vshankar/ceph
that referenced
this pull request
Apr 12, 2024
* refs/pull/56148/head: cephfs_mirror: check m_instance_watcher and m_mirror_watcher before using them Reviewed-by: Venky Shankar <vshankar@redhat.com>
Member
Author
|
jenkins retest this please |
vshankar
added a commit
to vshankar/ceph
that referenced
this pull request
Apr 30, 2024
* refs/pull/56148/head: cephfs_mirror: check m_instance_watcher and m_mirror_watcher before using them Reviewed-by: Venky Shankar <vshankar@redhat.com>
vshankar
added a commit
to vshankar/ceph
that referenced
this pull request
May 6, 2024
* refs/pull/56148/head: cephfs_mirror: check m_instance_watcher and m_mirror_watcher before using them Reviewed-by: Venky Shankar <vshankar@redhat.com>
vshankar
approved these changes
May 13, 2024
Contributor
|
jenkins test api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: https://tracker.ceph.com/issues/64751
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e