singlestore-labs / singlestoredb-dev-image

The SingleStoreDB Dev Container is the fastest way to develop with SingleStore on your laptop or in a CI/CD environment.
Apache License 2.0
41 stars 16 forks source link

RESTORE DATABASE using S3 not working with dev-image #25

Open miguilimzero opened 1 year ago

miguilimzero commented 1 year ago

Describe the bug

When trying to restore a full backup from an S3 storage to the dev-image, you get the following error:

"ERROR 2205 ER_SNAPSHOT_SUBPROCESS_EXITED_WITH_NONZERO_RESULT: Leaf Error (127.0.0.1:3307): Backup subprocess nonzero exit value. Failed to Download whole object".

Note.1: Tried with and without persistent storage.

Note.2: Tried in the same host & same backup using the default installation, and it worked as expected.

Note.3: I didn't try using another backup provider.

Steps to reproduce the behavior:

  1. Do a full backup on a normal node to an S3 storage.
  2. Try to restore this backup on the dev-image.
  3. See the error.

Desktop (please complete the following information):