From 43171786336733d8e1efe672b801236fd3e2d829 Mon Sep 17 00:00:00 2001 From: David Steele Date: Fri, 8 Nov 2019 17:56:34 -0500 Subject: [PATCH] Update MinIO to newest release. We had some problems with newer versions so had held off on updating. Those problems appear to have been resolved. In addition, the --compat flag is no longer required. Prior versions of MinIO required all parts of a multi-part upload (except the last) to be of equal size. The --compat flag was introduced to restore the default S3 behavior. Now --compat is only required when ETag is being used for MD5 verification, which we don't do. --- doc/xml/user-guide.xml | 2 +- test/lib/pgBackRestTest/Env/Host/HostS3Test.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml index b92d14852..037b5cdc9 100644 --- a/doc/xml/user-guide.xml +++ b/doc/xml/user-guide.xml @@ -634,7 +634,7 @@ Introduction - +

This user guide is intended to be followed sequentially from beginning to end — each section depends on the last. For example, the Backup section relies on setup that is performed in the Quick Start section. Once is up and running then skipping around is possible but following the user guide in order is recommended the first time through.

diff --git a/test/lib/pgBackRestTest/Env/Host/HostS3Test.pm b/test/lib/pgBackRestTest/Env/Host/HostS3Test.pm index 3557c3437..a5e1a04d3 100644 --- a/test/lib/pgBackRestTest/Env/Host/HostS3Test.pm +++ b/test/lib/pgBackRestTest/Env/Host/HostS3Test.pm @@ -69,12 +69,12 @@ sub new my $strFakeCertPath = "${strProjectPath}/doc/resource/fake-cert"; my $self = $class->SUPER::new( - HOST_S3, 'test-' . testRunGet()->vmId() . '-s3-server', 'minio/minio:RELEASE.2019-06-04T01-15-58Z', 'root', 'u18', + HOST_S3, 'test-' . testRunGet()->vmId() . '-s3-server', 'minio/minio:RELEASE.2019-10-12T01-39-57Z', 'root', 'u18', ["${strFakeCertPath}/s3-server.crt:/root/.minio/certs/public.crt:ro", "${strFakeCertPath}/s3-server.key:/root/.minio/certs/private.key:ro"], '-e MINIO_REGION=' . HOST_S3_REGION . ' -e MINIO_DOMAIN=' . HOST_S3_ENDPOINT . ' -e MINIO_BROWSER=off' . ' -e MINIO_ACCESS_KEY=' . HOST_S3_ACCESS_KEY . ' -e MINIO_SECRET_KEY=' . HOST_S3_ACCESS_SECRET_KEY, - 'server /data --address :443 --compat', false); + 'server /data --address :443', false); bless $self, $class; # Return from function and log return values if any