Project

General

Profile

Actions

Subtask #5046

closed

Feature #4929: Erasure encoded placement group

Factor out PG logs, PG missing

Added by Loïc Dachary almost 11 years ago. Updated about 10 years ago.

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

0%

Spent time:
35:00 h (Total: 55:30 h)
Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

PG logs, PG missing: The logic for merging an authoritative PG log with another PG log while filling in the missing set would benefit massively from being testable seperately from a PG instance. It's possible that the stripes involved in ErasureCodedPG will make this impractical to generalize.

Discussions


Subtasks 2 (0 open2 closed)

Subtask #5085: PG::merge_log should not have side effects other than on the log & missing data membersRejectedLoïc Dachary05/16/2013

Actions
Subtask #5213: unit tests for src/osd/PGLog.{cc,h}ResolvedLoïc Dachary05/30/2013

Actions
Actions #1

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #2

Updated by Loïc Dachary almost 11 years ago

read PG::merge_log PG::merge_old_entry PG::rewind_divergent_log PG::proc_replica_log
pg_log_t + pg_missing_t
Read SnapMapper & MapCacher
create PGLog.{cc,h} and move code there, including all IndexedLog

Actions #3

Updated by Loïc Dachary almost 11 years ago

pg_info_t ( including pg_stat_t ) is modified during the log merging phase but it should not be the case. When factoring out the log merging, the modifications of pg_info_t must be moved out of the merge code.

Actions #4

Updated by Loïc Dachary almost 11 years ago

Move code to PGLog.cc PGLog.h so that missing, log and ondisklog are protected. Fix what breaks.

Actions #5

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
  • Source set to Development
Actions #6

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #7

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #8

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #9

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #12

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #13

Updated by Loïc Dachary almost 11 years ago

  • Description updated (diff)
Actions #14

Updated by Loïc Dachary over 10 years ago

  • Category changed from common to OSD
Actions #15

Updated by Loïc Dachary over 10 years ago

  • Assignee deleted (Loïc Dachary)
Actions #16

Updated by Samuel Just over 10 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF