Project

General

Profile

Bug #11511

FAILED assert(cursor.data_offset <= oi.size)

Added by Irek Fasikhov over 5 years ago. Updated almost 5 years ago.

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

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Pull request ID:
Crash signature:

Description

Hi.
When Rebalancing data error occurred OSD.

ceph-osd.82.log.tar.gz (604 KB) Irek Fasikhov, 04/30/2015 01:08 PM

log.tar.gz (365 KB) Irek Fasikhov, 05/05/2015 05:55 AM

Associated revisions

Revision 79961bc3 (diff)
Added by David Zafman about 5 years ago

osd: Even in objects_read_sync() case don't read past oi.size

Fixes: #11511

Signed-off-by: David Zafman <>

History

#1 Updated by Irek Fasikhov over 5 years ago

log file with debug_ms=1

#2 Updated by Samuel Just about 5 years ago

  • Priority changed from Normal to Urgent
  • Regression set to No

#3 Updated by Samuel Just about 5 years ago

  • Assignee set to David Zafman

#4 Updated by David Zafman about 5 years ago

  • Status changed from New to 7

Not sure from the logs what really happened. But I can infer from the code that objects_read_sync() returned a "result" that went past oi.size. In the async case the value attempting to be read is limited based on oi.size, so I did the same for both async and sync cases.

#5 Updated by Samuel Just about 5 years ago

Note, this case appears to involve a cache pool.

#6 Updated by David Zafman almost 5 years ago

  • Status changed from 7 to Resolved

79961bc3386e4a926e628552586020ff17d9d086

Also available in: Atom PDF