Skip to content
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

Add Latency to Wait for Killing Old Solr #402

Merged
merged 1 commit into from
Feb 14, 2023
Merged

Conversation

xusine
Copy link
Contributor

@xusine xusine commented Feb 14, 2023

Currently the data set is created with symbolic link, which is much faster than the original copy way. In this case, it is possible that the old Solr process is not killed (it takes time for the old Solr to release the port) before the new Solr process gets started, and the new Solr will have problem occupying the same port.

image

This PR fixes this problem by waiting for the process to end. It has been tested locally.

@xusine xusine merged commit da0b38f into main Feb 14, 2023
@xusine xusine deleted the web-search-server-restart branch February 14, 2023 14:45
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.

2 participants