Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7490

oak-run console lc rmdata command uses second parameter for index path (and defaults to /oak:index/lucene)

    XMLWordPrintableJSON

    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

            Activity

              People

              • Assignee:
                catholicon Vikas Saurabh
                Reporter:
                catholicon Vikas Saurabh
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: