[PATCH compass-ci] container/es: fix failed to setting index

9 Dec
2020
9 Dec
'20
2:09 p.m.
[why] when execute es/start, error message: curl: (56) Recv failure: Connection reset by peer because can't set index immediately after start es. Signed-off-by: Liu Yinsi <liuyinsi@163.com> --- container/es/start | 3 +++ 1 file changed, 3 insertions(+) diff --git a/container/es/start b/container/es/start index e43d01b..d84ad33 100755 --- a/container/es/start +++ b/container/es/start @@ -20,4 +20,7 @@ cmd=( "${cmd[@]}" +echo "Please wait 60s for setting index" +sleep 60 + set_es_indices -- 2.23.0
1541
Age (days ago)
1541
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liu Yinsi