Details
Description
rmdata command currently takes 2 arguments where 1st one isn't even used - the second one is represents the index to be deleted.
Worse yet, the command assumes a default index to be deleted to be /oak:index/lucene - that can lead to unintentional deletion.
Destructive functionality, imo, shouldn't have default value for things to be deleted. Also, of course, we should fix that only 1 parameter is expected and parsed.
Attachments
Issue Links
- is broken by
-
OAK-2378 add a oak-run command to delete the index data in case of inconsistencies
- Closed