New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support request. Can you save Solr database files to location that is not rebuilt? #1351

Closed
hkirsman opened this Issue Jan 15, 2019 · 5 comments

Comments

Projects
None yet
3 participants
@hkirsman
Copy link

hkirsman commented Jan 15, 2019

Mysql database is not deleted when doing lando rebuild but any other image will be deleted and rebuilt. This will delete all Solr index data which takes a lot of time to rebuild. Is it possible somehow to mimic what Lando is doing for mysql?

@dustinleblanc

This comment has been minimized.

Copy link
Member

dustinleblanc commented Jan 15, 2019

Pretty sure this is just volume mounts under the hood, not sure if there is a reason Solr service isn't doing that, but that would be where to start the investigation

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Jan 24, 2019

@dustinleblanc pretty sure we already do this.

that said i think there is an exception for solr 4.10 because its some random dudes image and maybe isnt set up for persistence. Since 4.10 is EOL i dont think we should fix it there though. If its not working for 5.x+ we should

@hkirsman

This comment has been minimized.

Copy link
Author

hkirsman commented Jan 28, 2019

We are using 4.10 yes.

@pirog pirog added this to the 3.0.0-rc.2 milestone Jan 28, 2019

@pirog pirog self-assigned this Jan 28, 2019

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Jan 29, 2019

Yeah sadly i dont think we can do this on 4.x but it might be worth trying this on 5.x since the schema differences arent huge

pirog added a commit that referenced this issue Jan 29, 2019

pirog added a commit that referenced this issue Jan 29, 2019

@pirog pirog closed this Jan 29, 2019

pirog added a commit that referenced this issue Jan 29, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

pirog added a commit that referenced this issue Jan 30, 2019

@pirog

This comment has been minimized.

Copy link
Member

pirog commented Jan 30, 2019

We've got some nice tests and an example to verify this now (including 4.x)
https://github.com/lando/lando/tree/master/examples/solr

Note that these examples and tests are against RC2 which is yet to be released so its worth waiting for that before you verify on your own

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment