mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
c829e3a13b
With this change, MinIO's ILM supports transitioning objects to a remote tier. This change includes support for Azure Blob Storage, AWS S3 compatible object storage incl. MinIO and Google Cloud Storage as remote tier storage backends. Some new additions include: - Admin APIs remote tier configuration management - Simple journal to track remote objects to be 'collected' This is used by object API handlers which 'mutate' object versions by overwriting/replacing content (Put/CopyObject) or removing the version itself (e.g DeleteObjectVersion). - Rework of previous ILM transition to fit the new model In the new model, a storage class (a.k.a remote tier) is defined by the 'remote' object storage type (one of s3, azure, GCS), bucket name and a prefix. * Fixed bugs, review comments, and more unit-tests - Leverage inline small object feature - Migrate legacy objects to the latest object format before transitioning - Fix restore to particular version if specified - Extend SharedDataDirCount to handle transitioned and restored objects - Restore-object should accept version-id for version-suspended bucket (#12091) - Check if remote tier creds have sufficient permissions - Bonus minor fixes to existing error messages Co-authored-by: Poorna Krishnamoorthy <poorna@minio.io> Co-authored-by: Krishna Srinivas <krishna@minio.io> Signed-off-by: Harshavardhana <harsha@minio.io>
42 lines
1.1 KiB
Bash
Executable File
42 lines
1.1 KiB
Bash
Executable File
#!/bin/bash -e
|
|
#
|
|
#
|
|
|
|
export APT="apt --quiet --yes"
|
|
export WGET="wget --quiet --no-check-certificate"
|
|
|
|
# install nodejs source list
|
|
if ! $WGET --output-document=- https://deb.nodesource.com/setup_14.x | bash -; then
|
|
echo "unable to set nodejs repository"
|
|
exit 1
|
|
fi
|
|
|
|
$APT install apt-transport-https
|
|
|
|
if ! $WGET --output-document=packages-microsoft-prod.deb https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | bash -; then
|
|
echo "unable to download dotnet packages"
|
|
exit 1
|
|
fi
|
|
|
|
dpkg -i packages-microsoft-prod.deb
|
|
rm -f packages-microsoft-prod.deb
|
|
|
|
$APT update
|
|
$APT install gnupg ca-certificates
|
|
|
|
# download and install golang
|
|
GO_VERSION="1.16"
|
|
GO_INSTALL_PATH="/usr/local"
|
|
download_url="https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz"
|
|
if ! $WGET --output-document=- "$download_url" | tar -C "${GO_INSTALL_PATH}" -zxf -; then
|
|
echo "unable to install go$GO_VERSION"
|
|
exit 1
|
|
fi
|
|
|
|
xargs --arg-file="${MINT_ROOT_DIR}/install-packages.list" apt --quiet --yes install
|
|
|
|
# set python 3.6 as default
|
|
update-alternatives --install /usr/bin/python python /usr/bin/python3.6 1
|
|
|
|
sync
|