.The `--inconsistent-index` option has been restricted
Using the `--inconsistent-index` option with the `radosgw-admin bucket rm` command could cause corruption of the bucket index if the command failed or was stopped. With this update, usage of `--inconsistent-index` requires a confirmation from users (the `--yes-i-really-mean-it` option), and a warning is printed when attempting to use this option.
Description of problem:
Remove --inconsistent-index flag from radosgw-admin bucket rm command because it can cause corrupted bucket index
For more information please check:
We have a new feature request: https://bugzilla.redhat.com/show_bug.cgi?id=1475859([RFE] Add parallelism in radosgw-admin bucket rm command for bucket removal) which will help faster deletion and then we do not this flag --inconsistent-index.
Version-Release number of selected component (if applicable):
Red Hat Ceph Storage 2.3
*** Bug 1464554 has been marked as a duplicate of this bug. ***
The current plan is to restrict rather than disable --inconsistent-index, PR is here:
(assigning to Orit, author of this PR)
Orit would you please cherry-pick this to luminous for Ceph v12.2.1?
Moving this bug to Verified state. Command output when tried to purge objects using "--inconsistent-index" param.
[ubuntu@host006 ~]$ sudo radosgw-admin --cluster qetest bucket rm --purge-objects --bypass-gc --inconsistent-index --bucket=test
using --inconsistent_index can corrupt the bucket index
do you really mean it? (requires --yes-i-really-mean-it)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.