Project

General

Profile

Actions

Feature #38215

open

Add bulk operation (--op bulk) to ceph-objectstore-tool

Added by David Zafman about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

Instead of adding an individual bulk operation for rm-omap like in https://github.com/ceph/ceph/pull/22379, I suggest we add this in a more general way: For example

ceph-objectstore-tool --data-path ... --op bulk --file - <<END
objname rm-omap key1
objname rm-omap key2
objname rm-omap key3
objname add-omap newkey keyvaluefilename
END

Of course, --file - would be illegal as part of the bulk paramaters since stdin is already reading the bulk parameters. This kind of operation would not have to open and close the objectstore so would perform better.

No data to display

Actions

Also available in: Atom PDF