Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Can no longer reuse an ES installation between runs #62

Open
ewanmellor opened this issue Jul 24, 2018 · 3 comments
Open

Can no longer reuse an ES installation between runs #62

ewanmellor opened this issue Jul 24, 2018 · 3 comments

Comments

@ewanmellor
Copy link

In embedded-elasticsearch 2.4.4, a change was made (see below) to delete the ES installation directory before installing. This means that it is no longer possible to re-use the ES installation between runs. I have been using embedded-elasticsearch for development so that I can easily have a cleanable ES install on my laptop without needing to manage a full ES cluster. That doesn't mean that I want it wiped every time though. It was very convenient to be able to keep the data in there during development, but wipe and reinstall when necessary.

This (I thought) was the point of the cleanInstallationDirectoryOnStop option, but that is basically useless now. It doesn't clean the directory when stopping, but it does it the next run regardless.

I think that this behavior should be made optional, either with the cleanInstallationDirectoryOnStop option, or a new cleanInstallationDirectoryOnStart option.

commit 9fd888bf0eefa9497321f6abb98da6b871dd60c1 (tag: embedded-elasticsearch-2.4.4)
Author: Grzegorz Kaczmarczyk <[email protected]>
Date:   Mon Feb 19 23:51:25 2018 +0100

    delete installation directory before installation
@gaczm
Copy link
Contributor

gaczm commented Sep 11, 2018

Ok, this looks like a bug. I will investigate why that change happened, and if there is no reason for it revert that commit

@rvillars
Copy link

Is there an estimated time until this could be fixed? This is a real blocker to how we intend to use embedded-elasticsearch.

@vdbxavier
Copy link

10 min for me to decompress elastic6.6 (> 100Mo !) it's too long
please

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants