Skip to content

Commit 281de0a

Browse files
authored
Merge pull request ceph#54663 from Matan-B/wip-matanb-cot-pgmeta-attrs
tools/ceph_objectstore_tool: action_on_all_objects_in_pg to skip pgmeta Reviewed-by: Radoslaw Zarzynski <[email protected]>
2 parents 9295089 + 6b0a9a5 commit 281de0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/ceph_objectstore_tool.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ int _action_on_all_objects_in_pg(ObjectStore *store, coll_t coll, action_on_obje
105105
obj != list.end();
106106
++obj) {
107107
object_info_t oi;
108-
if (coll != coll_t::meta()) {
108+
if (coll != coll_t::meta() && !obj->is_pgmeta()) {
109109
bufferlist attr;
110110
r = store->getattr(ch, *obj, OI_ATTR, attr);
111111
if (r < 0) {

0 commit comments

Comments
 (0)