Project

General

Profile

Actions

Documentation #13317

closed

ERROR: invalid flag --lazy-remove

Added by Vikhyat Umrao over 8 years ago. Updated over 8 years ago.

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

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

If I try to use "--lazy-remove" flag from the document :

http://docs.ceph.com/docs/cuttlefish/man/8/radosgw-admin/#cmdoption-radosgw-admin--lazy-remove

-lazy-remove
Defer removal of object tail

Then I tried to find more information about it and tried to test it :

$ radosgw-admin bucket rm --purge-objects --bucket=8ixsvyve8xn7uykd1v38-dump --lazy-remove
ERROR: invalid flag --lazy-remove

$ radosgw-admin bucket rm --purge-objects --lazy-remove --bucket=8ixsvyve8xn7uykd1v38-dump
ERROR: invalid flag --lazy-remove

It gives me invalid flag error and then I got a doubt may be it is not implemented , I looked into the code and yes it is only in the man page doc we do not have code for it.

If we check the file : rgw/rgw_admin.cc , which implements the command "radosgw-admin" this file do not implement the "--lazy-remove" option and because of that I am getting this error :

ERROR: invalid flag --lazy-remove.

1. what we mean by " Defer removal of object tail" ?
2. Is "--lazy-remove" is not implemented or I am missing something ?

Actions #1

Updated by Yehuda Sadeh over 8 years ago

  • Tracker changed from Bug to Documentation
  • Assignee set to John Wilkins

The --lazy-remove flag has been removed over 3 years ago. Docs need to be updated.

Actions #2

Updated by Nathan Cutler over 8 years ago

  • Status changed from New to In Progress
Actions #3

Updated by Vikhyat Umrao over 8 years ago

Thanks Yehuda and Nathan !

Actions #4

Updated by Kefu Chai over 8 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from John Wilkins to Nathan Cutler
Actions

Also available in: Atom PDF