Project

General

Profile

Bug #5380

osdc/Filer.cc: 163: FAILED assert(probe->known_size[p->oid] <= shouldbe)

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

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

0%

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

Description

on mds shutdown

ubuntu@teuthology:/var/lib/teuthworker/archive/teuthology-2013-06-17_01:30:05-upgrade-master-testing-basic/37852$ cat orig.config.yaml 
kernel:
  kdb: true
  sha1: d9b1e9bfdfc3d76e15cbb4bc500c57e02e4779c1
machine_type: plana
nuke-on-error: true
overrides:
  ceph:
    conf:
      mon:
        debug mon: 20
        debug ms: 20
        debug paxos: 20
    log-whitelist:
    - slow request
    sha1: e3fb095d8aa88556e4356c76b848fa61b09acbc0
  install:
    ceph:
      sha1: e3fb095d8aa88556e4356c76b848fa61b09acbc0
  s3tests:
    branch: master
  workunit:
    sha1: e3fb095d8aa88556e4356c76b848fa61b09acbc0
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: cuttlefish
- ceph: null
- ceph-fuse: null
- workunit:
    branch: cuttlefish
    clients:
      client.0:
      - suites/blogbench.sh
- install.upgrade:
    all:
      branch: next
- ceph.restart:
  - mds.a
  - mon.a
  - mon.b
  - mon.c
  - osd.0
  - osd.1
  - osd.2
  - osd.3
- workunit:
    branch: next
    clients:
      client.0:
      - suites/fsstress.sh

0001-osdc-re-calculate-truncate_size-for-strip-objects.patch View (23.2 KB) Zheng Yan, 06/19/2013 08:08 PM

Associated revisions

Revision 714f2128 (diff)
Added by Yan, Zheng almost 11 years ago

osdc: re-calculate truncate_size for strip objects

Feed truncate_size through the striping algorithm so that it reflects the
correct per-object offset (as opposed to the file offset).

Fixes #5380
Signed-off-by: Yan, Zheng <>
Reviewed-by: Sage Weil <>

History

#1 Updated by Zheng Yan almost 11 years ago

see commit a41bad1a9b(ceph: re-calculate truncate_size for strip object)

#2 Updated by Zheng Yan almost 11 years ago

  • Assignee set to Zheng Yan

#3 Updated by Zheng Yan almost 11 years ago

The patch only fixes the root cause. It doesn't help if objects already have wrong size.

#4 Updated by Zheng Yan almost 11 years ago

  • Assignee deleted (Zheng Yan)

#5 Updated by Sage Weil almost 11 years ago

  • Status changed from 12 to 7

#6 Updated by Sage Weil almost 11 years ago

  • Status changed from 7 to Resolved

Also available in: Atom PDF