parsa-epfl / cloudsuite

A Benchmark Suite for Cloud Services.
http://cloudsuite.ch
Other
210 stars 121 forks source link

Add Latency to Wait for Killing Old Solr #402

Closed xusine closed 1 year ago

xusine commented 1 year ago

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.