Project

General

Profile

Actions

Feature #169

closed

osd: start up despite corrupted pg log(s)

Added by Sage Weil almost 14 years ago. Updated over 13 years ago.

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

100%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Catch decoding, memory alloc exceptions, and skip corrupt pgs so the osd can still start up. Log the errors.


Related issues 1 (0 open1 closed)

Blocked by Ceph - Cleanup #435: osd: generalize coll_t to a stringResolvedColin McCabe09/24/2010

Actions
Actions #1

Updated by Sage Weil almost 14 years ago

  • Tracker changed from Bug to Feature
  • Priority changed from Normal to High
Actions #2

Updated by Sage Weil almost 14 years ago

  • Target version set to v0.21
Actions #3

Updated by Sage Weil almost 14 years ago

  • Priority changed from High to Low
  • Target version deleted (v0.21)

Dropping the priority on this, now that the corruption in #212 is fixed.

Actions #4

Updated by Sage Weil over 13 years ago

  • Priority changed from Low to Normal
Actions #5

Updated by Sage Weil over 13 years ago

  • Category set to OSD
Actions #6

Updated by Sage Weil over 13 years ago

First, we need to catch any buffer::error exceptions during pg log parsing.

Then, we need to decide what to do about it. How about making a 'corrupt' (or similar) subdir, and stashing the bad pg logs there? Then starting up with a zeroed log.

Actions #7

Updated by Sage Weil over 13 years ago

  • Priority changed from Normal to High
  • Target version set to v0.22
Actions #8

Updated by Sage Weil over 13 years ago

  • Target version changed from v0.22 to v0.23
Actions #9

Updated by Colin McCabe over 13 years ago

  • % Done changed from 0 to 100

Done. We put each corrupt page log in a new collection.

Actions #10

Updated by Sage Weil over 13 years ago

  • Status changed from New to 7
Actions #11

Updated by Sage Weil over 13 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF