Bala FA
88938340b3
remove all dead codes ( #5019 )
...
Fixes #5012
7 years ago
Bala FA
60cc6184d2
azure: handle list objects properly ( #4953 )
...
When removing `minio.sys.tmp` prefixed entries and objects/prefixes is
empty, populate till we get all valid entries.
7 years ago
Aditya Manthramurthy
b5dc4b5873
Fix CopyObject with metadata for GCS Gateway ( #4971 )
7 years ago
Bala FA
70fec0a53f
azure: add stateless gateway support ( #4874 )
...
Previously init multipart upload stores metadata of an object which is
used for complete multipart. This patch makes azure gateway to store
metadata information of init multipart object in azure in the name of
'minio.sys.tmp/multipart/v1/<UPLOAD-ID>/meta.json' and uses this
information on complete multipart.
7 years ago
Andreas Auernhammer
79ba4d3f33
refactor ObjectLayer PutObject and PutObjectPart ( #4925 )
...
This change refactor the ObjectLayer PutObject and PutObjectPart
functions. Instead of passing an io.Reader and a size to PUT operations
ObejectLayer expects an HashReader.
A HashReader verifies the MD5 sum (and SHA256 sum if required) of the object.
This change updates all all PutObject(Part) calls and removes unnecessary code
in all ObjectLayer implementations.
Fixes #4923
7 years ago
Andreas Auernhammer
b10fa507b2
set http transport config for gateway ( #4765 )
...
This change sets the http config for the minio client used by the
minio server in gateway mode.
Fixes #4765
7 years ago
Krishna Srinivas
eb787d8613
gateway-gcs: remove files older than 2 weeks in minio.sys.temp ( #4599 ).
...
Rename ##minio## to {minio}.
7 years ago
Harshavardhana
bc73a1a1cb
gcs: Save partNumber as part of backend format. ( #4666 )
...
Fixes #4637
7 years ago
Harshavardhana
ce7af3aae1
gcs: Fix writer/reader go-routine leaks and code re-use ( #4651 )
...
This PR serves to fix following things in GCS gateway.
- fixes leaks in object reader and writer, not getting closed
under certain situations. This led to go-routine leaks.
- apparent confusing issue in case of complete multipart upload,
where it is currently possible for an entirely different
object name to concatenate parts of a different object name
if you happen to know the upload-id and parts of the object.
This is a very rare scenario but it is possible.
- succint usage of certain parts of code base and re-use.
7 years ago
Nitish Tiwari
e91e9e8a38
GCS ListObjectV2 honours continuationToken ( #4608 )
8 years ago
Bala FA
53e7fdc847
create subcomposed objects if total parts are > 32 ( #4593 )
8 years ago
A. Elleuch
eaa41e4086
gcs: Check if the given project id argument exists ( #4583 )
...
Using GCS resource manager API, check if the provided
project id is already created and associated to the current
user account.
8 years ago
Krishna Srinivas
0a6e9a1834
gateway-gcs: cleanup minio.sys.temp before deleting the bucket ( #4582 )
...
fixes #4560
fixes #4569
8 years ago
Nitish Tiwari
15b65a8342
Added AnonListObjectsV2 support to GCS ( #4584 )
8 years ago
Krishna Srinivas
13ab8e17e2
gateway-gcs: use minio.sys.temp/multipart/v1 as url base ( #4562 )
8 years ago
Krishna Srinivas
3928c1e14c
gateway/gcs: Change in multipart backend format ( #4455 )
8 years ago
Harshavardhana
f99f218999
Add support for reading and saving config on Gateway. ( #4463 )
...
This is also a first step towards supporting bucket
notification for gateway.
8 years ago
Krishnan Parthasarathi
4fb5fc72d7
GCS gateway allows apps to supply their own marker ( #4495 )
...
Most s3 compatible apps use object keys returned in listing as
marker. This change allows this behaviour with gateway-gcs too.
8 years ago
Remco Verhoef
d86973dcca
Allow bucket creation in different regions, closes #4287 and #4241
...
* I needed to remove the region check from PutBucketHandler
8 years ago
Krishnan Parthasarathi
8085ba4494
Filter out internal object prefix during listing ( #4435 )
...
We use ZZZZ-Minio/ prefix internally in our GCS gateway which should be
filtered out in the response to ListObjects.
8 years ago
poornas
9bd0eb1a9e
Set default ETag value if vendor returns empty md5 string ( #4409 )
...
The ETag is constructed from md5 atttribute of object attributes
returned by the vendor's Composer. The md5 attribute comes back
as nil for large uploads. Instead the CRC32C should be used.
Refer to https://cloud.google.com/storage/docs/hashes-etags
Fixes #4397
8 years ago
Anis Elleuch
e4e0abfc05
fix: Check project id before starting gateway ( #4412 )
8 years ago
Krishna Srinivas
2aa76e7407
Change md5Sum to etag ( #4399 )
8 years ago
Remco Verhoef
0dab038858
Cleanup and update the PR with the master branch.
8 years ago
Remco Verhoef
a76556ec1b
Map only default region us-east-1 to gcs us region
8 years ago
Harshavardhana
91c7bb65c5
gateway/gcs: send proper error responses for Get/SetBucket policies. ( #4338 )
...
Fixes #4323
8 years ago
Anis Elleuch
5d602034ea
gateway: Use default params when no args provided ( #4315 )
...
For S3 & Azure, use default parameters when no arguments (endpoint) are
provided. This also avoids a crash.
8 years ago
Remco Verhoef
9c50a9f567
Fix ListObjectParts to list properly all parts - closes #4322
8 years ago
Remco Verhoef
52122c0309
Fix uploadIDMarker handling.
8 years ago
Remco Verhoef
3b9d313c87
Fix issue with AbortMultipartUpload, closes #4322
8 years ago
Remco Verhoef
bfff251e2a
Fix issue with UNSIGNED payloads.
...
Additionally also fixes escaping slashes in
temporary multipart names
8 years ago
Remco Verhoef
52b500cce9
Verify multipart etag during complete, closes #4288
8 years ago
Remco Verhoef
c63cdca11f
Support iterating through ListObjectParts using NextPartNumberMarker, closes #4284
8 years ago
Remco Verhoef
4430085981
Add region to gcs gateway example
8 years ago
Remco Verhoef
5c78415b31
Verify md5 content hash, closes #4285
8 years ago
Remco Verhoef
bd67117756
Use maxKeys for iterator
8 years ago
Remco Verhoef
f3e5e9fb29
Support marker, closes #4286
8 years ago
Remco Verhoef
2de1921fe8
Use MINIO_REGION environment variable for region configuration, closes #4287
8 years ago
Remco Verhoef
fe9d826bef
Implement bucket policies
8 years ago
Remco Verhoef
de5374f74c
Map S3 regions to Google (multi)regions
8 years ago
Remco Verhoef
bf55591c64
Make every backend responsible for parsing its own arguments, fixes #4293
8 years ago
Remco Verhoef
2d814e340f
Return BucketAlreadyExists when bucket exists with another user
8 years ago
Remco Verhoef
0a8cf1a6b0
Allow bucket creation in different regions, closes #4287 and #4241
...
* I needed to remove the region check from PutBucketHandler
8 years ago
Remco Verhoef
07949f68d8
Translate gcs errors to S3 compatible errors, fixes #4278
8 years ago
Remco Verhoef
909a89647b
Use default endpoint when not supplied
8 years ago
Remco Verhoef
3379f005a5
Initial implementation of Google Cloud Storage
8 years ago
Remco
ace4f9fd15
Implement gateway support Google Cloud Storage
8 years ago