Aditya Manthramurthy
986aa8fabf
Bypass network in lock requests to local server ( #4465 )
...
This makes lock RPCs similar to other RPCs where requests to the local
server bypass the network. Requests to the local lock-subsystem may
bypass the network layer and directly access the locking
data-structures.
This incidentally fixes #4451 .
8 years ago
poornas
2559614bfd
fix: Set UIversion in reply for policy API ( #4469 )
8 years ago
Harshavardhana
a4d1ef1b62
browser: update ui-assets with new changes. ( #4467 )
...
Fixes #4269
8 years ago
Harshavardhana
432bf7d99e
Fail if formatting is wrong in our CI tests. ( #4459 )
...
We didn't fail before, we should helps in avoiding
formatting issues to creep into the codebase.
8 years ago
poornas
18c4e5d357
Enable browser support for gateway ( #4425 )
8 years ago
Aditya Manthramurthy
64f4dbc272
Disable redirect of HTTP request to a HTTPS Minio server ( #4454 )
...
Fixes #4452
8 years ago
Frank Wessels
9ba57a8df0
Add errCorruptedFormat to list of ignored errors for metadata operations. ( #4447 )
...
Fixes listing of objects where xl.json is empty or corrupted to skip to the next disk/server (issue 4354).
8 years ago
Dee Koder
5621e6a494
Refactor service stop signal message. ( #4428 )
8 years ago
Frank Wessels
0f0758aece
Load IO error count for posix atomically ( #4448 )
...
* Load error count atomically in order to check for maximum allowed number of IO errors.
* Remove unused (previously atomic) network IO error count
8 years ago
Aditya Manthramurthy
a0e02f43e1
Fix and cleanup update message and improve related tests ( #4361 )
...
Fixes #4232
8 years ago
Harshavardhana
28352f3f5d
log: Startup banner should strip standard ports. ( #4443 )
...
APIEndpoints list should strip off standard ports
to avoid confusion with clients.
8 years ago
Harshavardhana
975972d57e
server: Redirection should use globalMinioPort with host without port. ( #4445 )
...
Currently redirection doesn't work in following scenarios
- server started with port ":80" and TLS is configured
client requested insecure request on port "80"
gets redirected to port 443 and fails.
8 years ago
Harshavardhana
458f22f37c
log: Fix printing of signature error request headers. ( #4444 )
...
The following commit f44f2e341c
fix was incomplete and we still had presigned URLs printing
in query strings in wrong fashion.
This PR fixes this properly. Avoid double encoding
percent encoded strings such as
`s3%!!(MISSING)A(MISSING)`
Print properly as json encoded.
`s3%3AObjectCreated%3A%2A`
8 years ago
Krishna Srinivas
0bba3cc8e3
gateway-azure: Convert S3 metadata to azure metadata ( #4384 )
...
fixes #4292
8 years ago
Cesar Alvernaz
bac5303b10
Some minor fixes ( #4441 )
...
Word terminations
8 years ago
Harshavardhana
e01b2fc06d
Disable network share test, appveyor bug. ( #4446 )
8 years ago
Harshavardhana
072fcf3ba6
fs: Make sure to validate bucket first in PutObject() ( #4427 )
...
Currently even when bucket doesn't exist we wrongly
return success, when an object is a directory prefix with
'/' as suffix and is of size 0.
This PR fixes this behavior.
8 years ago
Harshavardhana
b78f6fbcc5
Do not send envVars in ServerInfo() ( #4422 )
...
Sending envVars along with access and secret
exposes the entire minio server's sensitive
information. This will be an unexpected
situation for all users.
If at all we need to look for things like if
credentials are set through env, we should
only have access to only this information
not the entire set of system envs.
8 years ago
samkevich
99ca8a2928
fix InvalidAccessKeyId error according to amazon documentation ( #4404 )
...
http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
8 years ago
poornas
9b3dd44607
Add dotnet library to minio startup message ( #4410 )
8 years ago
Krishnan Parthasarathi
3c5db69ffd
Treat 0.0.0.0 as local address in --address flag ( #4386 )
8 years ago
Krishna Srinivas
28c26a9e59
Generate random ETag if client does not provide MD5 for PutObjectPart ( #4385 )
...
fixes #4289
fixes #4290
8 years ago
morph027
9136734c02
added secrets to distributed swarm minio ( #4374 )
8 years ago
Harshavardhana
348aa6566c
Add nsswitch.conf to our docker image ( #4379 )
...
This will cause the alpine images to resolve DNS
using /etc/hosts along with the normal DNS resolver.
8 years ago
luomeiqin
9d98bf1c0f
Bucket names can contain hyphen ( #4324 )
8 years ago
Rushan
a767ad321a
Browser: Fix Safari Blob download issue ( #4357 )
8 years ago
Harshavardhana
1886d94e95
server/mux: Use constants provided by Go http ( #4360 )
8 years ago
Anis Elleuch
542f7ae42c
gateway: Reject endpoint pointing to local gateway ( #4310 )
...
Show an error when the user enters an endpoint url pointing
to the gateway server itself.
8 years ago
Harshavardhana
59b3e0b79b
auth/rpc: Add RWMutex instead of Mutex for granular locking. ( #4352 )
...
Refer https://github.com/minio/minio/issues/4345
8 years ago
Aditya Manthramurthy
8975da4e84
Add new ReadFileWithVerify storage-layer API ( #4349 )
...
This is an enhancement to the XL/distributed-XL mode. FS mode is
unaffected.
The ReadFileWithVerify storage-layer call is similar to ReadFile with
the additional functionality of performing bit-rot checking. It
accepts additional parameters for a hashing algorithm to use and the
expected hex-encoded hash string.
This patch provides significant performance improvement because:
1. combines the step of reading the file (during
erasure-decoding/reconstruction) with bit-rot verification;
2. limits the number of file-reads; and
3. avoids transferring the file over the network for bit-rot
verification.
ReadFile API is implemented as ReadFileWithVerify with empty hashing
arguments.
Credits to AB and Harsha for the algorithmic improvement.
Fixes #4236 .
8 years ago
Frank
cae4683971
Make clearing of stale debug lock info independent of deleting map entry of lock itself. ( #4353 )
...
This is believed to address issue #4337 where stale information for debug locks in shown.
8 years ago
Krishna Srinivas
5db1e9f3dd
signature: use region from Auth header if server's region not configured ( #4329 )
8 years ago
Anis Elleuch
465274cd21
server-info: Change Error type to string ( #4346 )
...
Golang std error type doesn't marshal/unmarshal with json. So errors
are not actually being sent when a client calls ServerInfo() API.
8 years ago
Harshavardhana
87fb911d38
Rename structs for azure and s3 gateway to be consistent. ( #4347 )
8 years ago
Harshavardhana
155a90403a
fs/erasure: Rename meta 'md5Sum' as 'etag'. ( #4319 )
...
This PR also does backend format change to 1.0.1
from 1.0.0. Backward compatible changes are still
kept to read the 'md5Sum' key. But all new objects
will be stored with the same details under 'etag'.
Fixes #4312
8 years ago
Harshavardhana
c63afabc9b
build/release: Generate sha256sums also without the release tag. ( #4318 )
...
Ref #4306
8 years ago
poornas
0404e747cf
Fix broken link ( #4344 )
8 years ago
Aditya Manthramurthy
3bc9e6101c
Add minimum requirements sections to notifications docs ( #4328 )
8 years ago
Anis Elleuch
f2ed149714
Add slack channel link to corrupted disk err msg ( #4270 )
8 years ago
Harshavardhana
5a16dcf4cf
Add a graceful msg when CTRL+C is pressed. ( #4248 )
8 years ago
Harshavardhana
fa3d5d0f46
build/release: Generate sha256sums for built binaries. ( #4311 )
...
We used to build sha1sum deprecate it and
use sha256sum instead.
Fixes #4306
8 years ago
Krishna Srinivas
bb292e4e38
web-handler: Allow anonymous download of zip ( #4309 )
...
fixes #4230
8 years ago
poornas
d1971b9a4d
Prevent duplicate policy rows from being created ( #4276 )
8 years ago
Harshavardhana
fa3f6d75b6
fs: Verify if parent is an object before i/o. ( #4304 )
...
PutObject() needs to verify and fail.
Fixes #4301
8 years ago
Harshavardhana
298b470f69
fs/erasure: Ignore objects with / even for DeleteObject() ( #4303 )
...
Additionally GetObject() also returns errFileNotFound similar
to HeadObject().
Fixes #4302
8 years ago
Krishna Srinivas
fc774957fe
gateway: reject requests with unknown authorization ( #4297 )
8 years ago
Nitish Tiwari
c6258f5e97
Multi tenancy doc ( #4215 )
...
* Add multi-tenancy doc
* Multi-tenancy documents
* Remove intro
* Update deploy-multiple-minio.md
* Update deploy-multiple-minio.md
* Update deploy-multiple-minio.md
* Update deploy-multiple-minio.md
* Update multi-tenant details
* Remove file
* Rename deploy-multiple-minio.md to README.md
* update ports
* Add multi-tenancy diagrams
* Link diagrams and update disk name in the commands
* Fix tenant config directory
8 years ago
Anis Elleuch
85bc6003e9
gateway-s3: Avoid x2 double quotes in ListParts ( #4295 )
...
ListParts response returns doubled double quotes in ETag field.
This commit cleans ETag when receiving it from minio client to
fix the issue.
8 years ago
Nitish Tiwari
0d9de50e21
Bump Docker compose file to latest release ( #4271 )
...
* Bump Docker compose file to latest release
* Bump Docker Swarm compose file to latest release
8 years ago
Rushan
d13aa1c42d
browser: make input number types readonly in share objects modal ( #4273 )
8 years ago