Project

General

Profile

Actions

Bug #23212

closed

bluestore: should recalc_allocated when decoding bluefs_fnode_t

Added by Kefu Chai about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
-
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
BlueStore
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

 
 ceph version 13.0.1-2430-g6b1d75e (6b1d75e55f5ede3d9520a1d2180c780fc116e707) mimic (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x7f6215054fd2]
 2: (BlueFS::_flush_range(BlueFS::FileWriter*, unsigned long, unsigned long)+0x184b) [0x55c0643d953b]
 3: (BlueFS::_flush_and_sync_log(std::unique_lock<std::mutex>&, unsigned long, unsigned long)+0xa3e) [0x55c0643daa1e]
 4: (BlueFS::_fsync(BlueFS::FileWriter*, std::unique_lock<std::mutex>&)+0x21a) [0x55c0643dbb9a]
 5: (BlueRocksWritableFile::Sync()+0x63) [0x55c0643f1593]
 6: (rocksdb::WritableFileWriter::SyncInternal(bool)+0x2a9) [0x55c06459ef99]
 7: (rocksdb::WritableFileWriter::Sync(bool)+0x21e) [0x55c0645a102e]
 8: (rocksdb::BuildTable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rocksdb::Env*, rocksdb::ImmutableCFOptions const&, rocksdb::MutableCFOptions const&, rocksdb::EnvOptions const&, rocksdb::TableCache*, rocksdb::InternalIterato
r*, std::unique_ptr<rocksdb::InternalIterator, std::default_delete<rocksdb::InternalIterator> >, rocksdb::FileMetaData*, rocksdb::InternalKeyComparator const&, std::vector<std::unique_ptr<rocksdb::IntTblPropCollectorFactory, std::default_delete<rocksdb::IntTblPropCollecto
rFactory> >, std::allocator<std::unique_ptr<rocksdb::IntTblPropCollectorFactory, std::default_delete<rocksdb::IntTblPropCollectorFactory> > > > const*, unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<unsign
ed long, std::allocator<unsigned long> >, unsigned long, rocksdb::SnapshotChecker*, rocksdb::CompressionType, rocksdb::CompressionOptions const&, bool, rocksdb::InternalStats*, rocksdb::TableFileCreationReason, rocksdb::EventLogger*, int, rocksdb::Env::IOPriority, rocksdb
::TableProperties*, int, unsigned long)+0x1d19) [0x55c0645c2f99]
 9: (rocksdb::DBImpl::WriteLevel0TableForRecovery(int, rocksdb::ColumnFamilyData*, rocksdb::MemTable*, rocksdb::VersionEdit*)+0xc13) [0x55c0644915b3]
 10: (rocksdb::DBImpl::RecoverLogFiles(std::vector<unsigned long, std::allocator<unsigned long> > const&, unsigned long*, bool)+0x1e77) [0x55c064493eb7]
 11: (rocksdb::DBImpl::Recover(std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, bool, bool, bool)+0x839) [0x55c064494d39]
 12: (rocksdb::DB::Open(rocksdb::DBOptions const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFam
ilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >*, rocksdb::DB**)+0x1199) [0x55c0644963d9]
 13: (RocksDBStore::do_open(std::ostream&, bool, std::vector<KeyValueDB::ColumnFamily, std::allocator<KeyValueDB::ColumnFamily> > const*)+0xf7d) [0x55c0643731dd]
 14: (BlueStore::_open_db(bool, bool)+0x128b) [0x55c0642fb14b]
 15: (BlueStore::_fsck(bool, bool)+0x7b1) [0x55c064326f91]
 16: (BlueStore::_mount(bool, bool)+0x115) [0x55c064331385]
 17: (OSD::init()+0x27d) [0x55c063ee7bbd]
 18: (main()+0x3b3a) [0x55c063ddb36a]
 19: (__libc_start_main()+0xf0) [0x7f621326d830]
 20: (_start()+0x29) [0x55c063ea7be9]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

/a/kchai-2018-03-04_14:12:17-rados-wip-kefu-testing-2018-03-04-1324-distro-basic-smithi/2249621


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #23256: luminous: bluestore: should recalc_allocated when decoding bluefs_fnode_tResolvedKefu ChaiActions
Actions #2

Updated by Kefu Chai about 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Kefu Chai about 6 years ago

  • Copied to Backport #23256: luminous: bluestore: should recalc_allocated when decoding bluefs_fnode_t added
Actions #4

Updated by Nathan Cutler about 6 years ago

  • Backport set to luminous
Actions #5

Updated by Nathan Cutler about 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF