Bug #1756
closed
mds crash right after successful recovery
Added by Szymon Szypulski over 12 years ago.
Updated over 7 years ago.
Description
Ubuntu Natty, ceph 0.38, kernel 2.6.38-12-server, 2x separate mds daemons crashed in the middle of the night
- Category set to 1
- Target version set to v0.40
- Translation missing: en.field_position set to 6
- Status changed from New to 7
- Assignee set to Sage Weil
This should let you restart your mds:
diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc
index c5d276a..65e48bf 100644
--- a/src/mds/MDCache.cc
+++ b/src/mds/MDCache.cc
@@ -5233,7 +5233,8 @@ void MDCache::_truncate_inode(CInode *in, LogSegment *ls)
<< pi->truncate_from << " -> " << pi->truncate_size
<< " on " << *in << dendl;
- assert(pi->is_truncating());
+ if (!pi->is_truncating())
+ pi->truncate_pending++; // hack
in->auth_pin(this);
And the fix for the actual bug is pushed to git, commit:c2889fef420611df3dd0de4064c91f6aa9f86625
- Status changed from 7 to Resolved
- Project changed from Ceph to CephFS
- Category deleted (
1)
- Target version deleted (
v0.40)
Bulk updating project=ceph category=mds bugs so that I can remove the MDS category from the Ceph project to avoid confusion.
Also available in: Atom
PDF