lab4: S3-вложения, presigned upload и проверки
This commit is contained in:
+4
-4
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
# Restart hook: bounce API replicas and every state store of the lab3 stand.
|
||||
# Restart hook: bounce API replicas and every state store of the lab4 stand.
|
||||
#
|
||||
# scripts/restart.sh
|
||||
#
|
||||
@@ -31,9 +31,9 @@ compose() {
|
||||
|
||||
# 1. State stores: restart the running ones, then make sure they are healthy.
|
||||
# Volumes are attached as before, nothing is dropped or re-seeded.
|
||||
compose up -d --wait postgres redis
|
||||
compose restart postgres redis
|
||||
compose up -d --wait postgres redis
|
||||
compose up -d --wait postgres redis seaweedfs
|
||||
compose restart postgres redis seaweedfs
|
||||
compose up -d --wait postgres redis seaweedfs
|
||||
|
||||
# 2. API replicas: restart in place (same containers, same addresses) and bring
|
||||
# back any replica that was stopped by the fault-injection hook.
|
||||
|
||||
Reference in New Issue
Block a user