Project

General

Profile

Bug #5470

osd/PGLog.h: 199: FAILED assert(log.log.size() == log_keys_debug.size())

Added by Sage Weil almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

     0> 2013-06-27 05:08:51.077746 7f1129b76780 -1 osd/PGLog.h: In function 'void PGLog::check()' thread 7f1129b76780 time 2013-06-27 05:08:51.075587
osd/PGLog.h: 199: FAILED assert(log.log.size() == log_keys_debug.size())

 ceph version 0.65-182-gcd7510f (cd7510f26c3c9b29690a12752e435f17ade95564)
 1: ceph-osd() [0x755f74]
 2: (PGLog::write_log(ObjectStore::Transaction&, hobject_t const&)+0x243) [0x751a83]
 3: (PG::read_state(ObjectStore*, ceph::buffer::list&)+0x38e) [0x72001e]
 4: (OSD::load_pgs()+0x1565) [0x691295]
 5: (OSD::init()+0xf85) [0x693615]
 6: (main()+0x1cff) [0x5c82df]
 7: (__libc_start_main()+0xed) [0x7f112761276d]
 8: ceph-osd() [0x5cb4dd]
 NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.

triggered by upgrade testS:
ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-06-27_01:30:04-upgrade-master-testing-basic/47982$ cat orig.config.yaml 
kernel:
  kdb: true
  sha1: 404026df622ab80f5393a2a70590bf0b56c726dc
machine_type: plana
nuke-on-error: true
overrides:
  admin_socket:
    branch: master
  ceph:
    conf:
      mon:
        debug mon: 20
        debug ms: 20
        debug paxos: 20
    log-whitelist:
    - slow request
    sha1: 68c013d790f62afe515711891a5fc4688c5c6ee6
  install:
    ceph:
      sha1: 68c013d790f62afe515711891a5fc4688c5c6ee6
  s3tests:
    branch: master
  workunit:
    sha1: 68c013d790f62afe515711891a5fc4688c5c6ee6
roles:
- - mon.a
  - mds.a
  - osd.0
  - osd.1
- - mon.b
  - mon.c
  - osd.2
  - osd.3
- - client.0
tasks:
- chef: null
- clock.check: null
- install:
    branch: bobtail
- ceph: null
- workunit:
    branch: bobtail
    clients:
      client.0:
      - rbd/import_export.sh
    env:
      RBD_CREATE_ARGS: --new-format
- install.upgrade:
    all:
      branch: next
- ceph.restart:
  - mon.a
  - mon.b
  - mon.c
  - osd.0
  - osd.1
  - osd.2
  - osd.3
  - mds.a
- workunit:
    branch: next
    clients:
      client.0:
      - rbd/import_export.sh
    env:
      RBD_CREATE_ARGS: --new-format

Associated revisions

Revision 8694d296 (diff)
Added by Sage Weil over 10 years ago

osd/PGLog: populate log_keys_debug from read_old_log()

Fixes: #5470
Signed-off-by: Sage Weil <>
Reviewed-by: Samuel Just <>

History

#1 Updated by Sage Weil over 10 years ago

  • Status changed from New to Fix Under Review

#2 Updated by Samuel Just over 10 years ago

Looks right to me.

#3 Updated by Sage Weil over 10 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF