Project

General

Profile

Bug #21753

ceph-objectstore-tool import with splits: 481: FAILED assert(m_seed < old_pg_num)

Added by David Zafman almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/10/2017
Due date:
% Done:

0%

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

Description

Caused by: 2347ecb9614b0cd4cd9eae1d67b03119cc7ad18e

run-standalone.sh ceph_objectstore_tool.py

WARNING: Split occurred, some objects may be ignored
check_new_interval interval(30-32 up [3,1,0](3) acting [3,1,0](3)): not rw, up_thru 30 up_from 24 last_epoch_clean 31
check_new_interval interval(30-32 up [3,1,0](3) acting [3,1,0](3) maybe_went_rw) : primary up 24-30 includes interval
check_new_interval interval(33-36 up [1,0](1) acting [1,0](1)): not rw, up_thru 35 up_from 24 last_epoch_clean 31
check_new_interval interval(33-36 up [1,0](1) acting [1,0](1) maybe_went_rw) : primary up 24-35 includes interval
check_new_interval interval(37-38 up [0](0) acting [0](0)): not rw, up_thru 37 up_from 25 last_epoch_clean 31
check_new_interval interval(37-38 up [0](0) acting [0](0) maybe_went_rw) : primary up 25-37 includes interval
check_new_interval interval(39-39 up [3,1](3) acting [3,1](3)): not rw, up_thru 30 up_from 39 last_epoch_clean 31
check_new_interval interval(39-39 up [3,1](3) acting [3,1](3)) : primary up 39-30 does not include interval
Skipping object '#4:82a5f373:ns1::split3:head#' which belongs in pg 4.1
Skipping object '#4:be195a8d:::split3:head#' which belongs in pg 4.1
Skipping object '#4:c09756c4:::split2:head#' which belongs in pg 4.1
Skipping object '#4:c687408c:ns1::split2:head#' which belongs in pg 4.1
Skipping object '#4:d7a0e543:::split1:head#' which belongs in pg 4.1
Skipping object '#4:e4c0dccf:ns1::split4:head#' which belongs in pg 4.1
Skipping object '#4:ed38f688:ns1::split1:head#' which belongs in pg 4.1
/home/dzafman/ceph/src/osd/osd_types.cc: In function 'bool pg_t::is_split(unsigned int, unsigned int, std::set<pg_t>*) const' thread 7fdaf13247c0 time 2017-10-10 12:26:09.678092
/home/dzafman/ceph/src/osd/osd_types.cc: 481: FAILED assert(m_seed < old_pg_num)
 ceph version 13.0.0-1862-g0f0f4bf (0f0f4bfa6d375af786b48478f5ed3fe1903ce371) mimic (dev)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x102) [0x7fdae7bbd802]
 2: (pg_t::is_split(unsigned int, unsigned int, std::set<pg_t, std::less<pg_t>, std::allocator<pg_t> >*) const+0x231) [0x55c87ffcad91]
 3: (PastIntervals::is_new_interval(int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, int, int, int, int, unsigned int, unsigned int, bool, bool, bool, bool, pg_t)+0x113) [0x55c87ffcaeb3]
 4: (PastIntervals::is_new_interval(int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, std::shared_ptr<OSDMap const>, std::shared_ptr<OSDMap const>, pg_t)+0x255) [0x55c87ffcb125]
 5: (PastIntervals::check_new_interval(int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, int, int, std::vector<int, std::allocator<int> > const&, std::vector<int, std::allocator<int> > const&, unsigned int, unsigned int, std::shared_ptr<OSDMap const>, std::shared_ptr<OSDMap const>, pg_t, IsPGRecoverablePredicate*, PastIntervals*, std::ostream*)+0x108) [0x55c87ffcb288]
 6: (get_pg_metadata(ObjectStore*, ceph::buffer::list&, metadata_section&, OSDSuperblock const&, OSDMap&, spg_t)+0x5e7) [0x55c87fd20827]
 7: (ObjectStoreTool::do_import(ObjectStore*, OSDSuperblock&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ObjectStore::Sequencer&)+0xe3e) [0x55c87fd2214e]
 8: (main()+0x377d) [0x55c87fc413cd]
 9: (__libc_start_main()+0xf0) [0x7fdae6553830]
 10: (_start()+0x29) [0x55c87fd0b8e9]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

History

#1 Updated by David Zafman almost 2 years ago

  • Description updated (diff)

#2 Updated by Sage Weil almost 2 years ago

  • Status changed from New to In Progress
  • Assignee set to Sage Weil

#3 Updated by Sage Weil almost 2 years ago

  • Status changed from In Progress to Need Review

#4 Updated by Sage Weil almost 2 years ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF