Skip to content

Conversation

@dai-dao
Copy link

@dai-dao dai-dao commented Mar 21, 2022

Description

add clean_cache argument to ingest cli

./quickwit index ingest --index hdfs-logs --clean_cache

How was this PR tested?

Describe how you tested this PR.

@dai-dao
Copy link
Author

dai-dao commented Mar 21, 2022

Closes #1099

@dai-dao dai-dao requested a review from fmassot March 21, 2022 13:43
@fulmicoton fulmicoton requested review from PSeitz and removed request for fmassot March 22, 2022 01:09
@fulmicoton
Copy link
Collaborator

@PSeitz can you review?

@PSeitz
Copy link
Collaborator

PSeitz commented Mar 22, 2022

Thanks for the PR! I left some comments. Can you also add a test in quickwick-cli/tests/cli.rs?

@dai-dao
Copy link
Author

dai-dao commented Mar 22, 2022

thanks i added the changes, still improving the test

@PSeitz
Copy link
Collaborator

PSeitz commented Mar 24, 2022

Looks good so far, but the tests are failing.
I had a look, but couldn't see why the caching directory still exists in the test without the cleanup cache

@dai-dao
Copy link
Author

dai-dao commented Mar 25, 2022

yea i'm aware, will update

@PSeitz
Copy link
Collaborator

PSeitz commented Mar 27, 2022

Looks good, thanks for the PR!

@PSeitz PSeitz merged commit 0db764c into main Mar 27, 2022
@PSeitz PSeitz deleted the 1099_cli_ingest_cleanup_cache branch March 27, 2022 15:16
This was referenced Mar 29, 2022
This was referenced Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants