documentation: add the mark_unfound_lost delete option

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
This commit is contained in:
Loic Dachary 2014-09-01 00:33:20 +02:00
parent fb79062fb4
commit 9fac072380
3 changed files with 12 additions and 8 deletions

View File

@ -82,10 +82,10 @@ of times. They should be recovering.
reported to the monitor cluster in a while (configured by
``mon_osd_report_timeout``).
Revert "lost" objects to their prior state, either a previous version
Delete "lost" objects or revert them to their prior state, either a previous version
or delete them if they were just created. ::
ceph pg {pgid} mark_unfound_lost revert
ceph pg {pgid} mark_unfound_lost revert|delete
OSD Subsystem

View File

@ -186,7 +186,7 @@ Currently the only supported option is "revert", which will either roll back to
a previous version of the object or (if it was a new object) forget about it
entirely. To mark the "unfound" objects as "lost", execute the following::
ceph pg {pg-id} mark_unfound_lost revert
ceph pg {pg-id} mark_unfound_lost revert|delete
.. important:: Use this feature with caution, because it may confuse
applications that expect the object(s) to exist.

View File

@ -277,13 +277,17 @@ possible given unusual combinations of failures that allow the cluster
to learn about writes that were performed before the writes themselves
are recovered. To mark the "unfound" objects as "lost"::
ceph pg 2.5 mark_unfound_lost revert
ceph pg 2.5 mark_unfound_lost revert|delete
This the final argument specifies how the cluster should deal with
lost objects. Currently the only supported option is "revert", which
will either roll back to a previous version of the object or (if it
was a new object) forget about it entirely. Use this with caution, as
it may confuse applications that expected the object to exist.
lost objects.
The "delete" option will forget about them entirely.
The "revert" option (not available for erasure coded pools) will
either roll back to a previous version of the object or (if it was a
new object) forget about it entirely. Use this with caution, as it
may confuse applications that expected the object to exist.
Homeless Placement Groups