Project

General

Profile

Actions

Bug #63640

open

Ceph-object-store to skip getting attrs of pgmeta objects

Added by Matan Breizman 6 months ago. Updated 6 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
pacific,quincy,reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

See "Error getting attr on" after creating an empty pool:

$ ceph-objectstore-tool --data-path ./dev/osd0 --op list       
Error getting attr on : 2.0_head,#2:00000000::::head#, (61) No data available                                                                                                                                                                                                                                                         
["2.0",{"oid":"","key":"","snapid":-2,"hash":0,"max":0,"pool":2,"namespace":"","max":0}]

_action_on_all_objects_in_pg() should skip getting the (non-existing) attributes of pgmeta hobjects.

Note: pgmeta_oid is created at the PG's constructor and is written to disk in init_pg_ondisk()
without ant OI_ATTR.


Related issues 3 (1 open2 closed)

Copied to RADOS - Backport #63649: pacific: Ceph-object-store to skip getting attrs of pgmeta objectsResolvedMatan BreizmanActions
Copied to RADOS - Backport #63650: quincy: Ceph-object-store to skip getting attrs of pgmeta objectsIn ProgressMatan BreizmanActions
Copied to RADOS - Backport #63651: reef: Ceph-object-store to skip getting attrs of pgmeta objectsResolvedMatan BreizmanActions
Actions

Also available in: Atom PDF