Project

General

Profile

Actions

Feature #23979

closed
DZ NO

Limit pg log length during recovery/backfill so that we don't run out of memory.

Feature #23979: Limit pg log length during recovery/backfill so that we don't run out of memory.

Added by David Zafman over 8 years ago. Updated about 8 years ago.

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

0%

Source:
Development
Backport:
mimic, luminous
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

This means if there's another failure, we'll need to restart backfill or go from recovery to backfill, but that's better than running out of memory.

Treating osd_max_pg_log_entries as a hard cap should be sufficient.


Related issues 4 (0 open — 4 closed)

Related to RADOS - Bug #25198: FAILED assert(trim_to <= info.last_complete) in PGLog::trim()ResolvedNeha Ojha

Actions
Related to RADOS - Bug #26868: PGLog.cc: saw valgrind issues while accessing complete_to->versionResolvedNeha Ojha

Actions
Copied to RADOS - Backport #24988: luminous: Limit pg log length during recovery/backfill so that we don't run out of memory.ResolvedNeha Ojha

Actions
Copied to RADOS - Backport #24989: mimic: Limit pg log length during recovery/backfill so that we don't run out of memory.ResolvedNeha Ojha

Actions

DZ Updated by David Zafman over 8 years ago Actions #1

  • Source set to Development
  • Backport set to luminous

DZ Updated by David Zafman over 8 years ago Actions #2

  • Assignee changed from David Zafman to Josh Durgin

JD Updated by Josh Durgin over 8 years ago Actions #3

  • Assignee changed from Josh Durgin to Neha Ojha

JD Updated by Josh Durgin over 8 years ago Actions #4

  • Backport changed from luminous to mimic, luminous

JD Updated by Josh Durgin over 8 years ago Actions #6

  • Status changed from Fix Under Review to Pending Backport

NC Updated by Nathan Cutler over 8 years ago Actions #7

  • Copied to Backport #24988: luminous: Limit pg log length during recovery/backfill so that we don't run out of memory. added

NC Updated by Nathan Cutler over 8 years ago Actions #8

  • Copied to Backport #24989: mimic: Limit pg log length during recovery/backfill so that we don't run out of memory. added

NO Updated by Neha Ojha over 8 years ago Actions #9

  • Related to Bug #25198: FAILED assert(trim_to <= info.last_complete) in PGLog::trim() added

NO Updated by Neha Ojha over 8 years ago Actions #10

  • Related to Bug #26868: PGLog.cc: saw valgrind issues while accessing complete_to->version added

NC Updated by Nathan Cutler about 8 years ago Actions #11

  • Status changed from Pending Backport to Resolved
Actions

Also available in: PDF Atom