Project

General

Profile

Bug #13877

osdc/ObjectCacher.cc: 467: FAILED assert(tid == 0 || bh_tid <= tid)

Added by Sage Weil about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
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> 2015-11-25 16:01:08.330177 7f2bc30d5740 -1 osdc/ObjectCacher.cc: In function 'void ObjectCacher::Object::replace_journal_tid(ObjectCacher::BufferHead*, ceph_tid_t)' thread 7f2bc30d5740 time 2015-11-25 16:01:08.329505
osdc/ObjectCacher.cc: 467: FAILED assert(tid == 0 || bh_tid <= tid)

 ceph version 10.0.0-604-g12d3d64 (12d3d64496f809630f28fe4c22fbbd5dc7480647)
 1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x82) [0x7f2bc2de76f2]
 2: (ObjectCacher::Object::replace_journal_tid(ObjectCacher::BufferHead*, unsigned long)+0x103) [0x7f2bc2dc4793]
 3: (ObjectCacher::Object::map_write(ObjectCacher::OSDWrite*)+0x652) [0x7f2bc2dd12a2]
 4: (ObjectCacher::writex(ObjectCacher::OSDWrite*, ObjectCacher::ObjectSet*, Context*)+0x1d8) [0x7f2bc2dd92f8]
 5: (stress_test(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, float)+0xe42) [0x7f2bc2dc1082]
 6: (main()+0x704) [0x7f2bc2dbf1c4]
 7: (__libc_start_main()+0xf0) [0x7f2bc10e3790]
 8: (_start()+0x29) [0x7f2bc2dc00f9]

on master, from

make ceph_test_objectcacher_stress && ./ceph_test_objectcacher_stress --ops 1000 --percent-read 0.90 --delay-ns 0 --objects 10 --max-op-size 131072 --client-oc-max-dirty 25165824

http://pulpito.ceph.com/sage-2015-11-25_07:24:40-rados-wip-sage-testing2---basic-multi/1159830

Associated revisions

Revision 9331e031 (diff)
Added by Josh Durgin about 7 years ago

test: use sequential journal_tid for object cacher test

This matches the real usage by librbd.

Fixes: #13877
Signed-off-by: Josh Durgin <>

Revision 73aab5e9 (diff)
Added by Josh Durgin about 7 years ago

test: use sequential journal_tid for object cacher test

This matches the real usage by librbd.

Fixes: #13877
Signed-off-by: Josh Durgin <>
(cherry picked from commit 9331e031bd2a719463920581a47c13f0606e9971)

History

#1 Updated by Josh Durgin about 7 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Josh Durgin

#2 Updated by Kefu Chai about 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF