Anand Babu (AB) Periasamy
4f6cf5a6b2
Merge pull request #1123 from harshavardhana/rewrite-v1
...
config/main: Re-write config files - add to new config v3
9 years ago
Harshavardhana
aaf97ea02c
config/main: Re-write config files - add to new config v3
...
- New config format.
```
{
"version": "3",
"address": ":9000",
"backend": {
"type": "fs",
"disk": "/path"
},
"credential": {
"accessKey": "WLGDGYAQYIGI833EV05A",
"secretKey": "BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF"
},
"region": "us-east-1",
"logger": {
"file": {
"enable": false,
"fileName": "",
"level": "error"
},
"syslog": {
"enable": false,
"address": "",
"level": "debug"
},
"console": {
"enable": true,
"level": "fatal"
}
}
}
```
New command lines in lieu of supporting XL.
Minio initialize filesystem backend.
~~~
$ minio init fs <path>
~~~
Minio initialize XL backend.
~~~
$ minio init xl <url1>...<url16>
~~~
For 'fs' backend it starts the server.
~~~
$ minio server
~~~
For 'xl' backend it waits for servers to join.
~~~
$ minio server
... [PROGRESS BAR] of servers connecting
~~~
Now on other servers execute 'join' and they connect.
~~~
....
minio join <url1> -- from <url2> && minio server
minio join <url1> -- from <url3> && minio server
...
...
minio join <url1> -- from <url16> && minio server
~~~
9 years ago
Harshavardhana
85e50f2bb9
Merge pull request #1258 from hackintoshrao/list-object-prefix-response
...
api: GetObjectInfo fix
9 years ago
Karthic Rao
c8570edaab
Issue of 'mc ls' when prefix is a directory fixed, tests added for GetObjectInfo
9 years ago
Anand Babu (AB) Periasamy
f1161d830f
Merge pull request #1257 from harshavardhana/content-md5
...
routers: Fix order of PostPolicyHandlers and headers.
9 years ago
Anand Babu (AB) Periasamy
4aa098ede9
Merge pull request #1256 from harshavardhana/resources
...
bucketpolicy: checkBucketPolicy should keep resources in map.
9 years ago
Harshavardhana
76bda0d8f1
routers: Fix order of PostPolicyHandlers and headers.
9 years ago
Harshavardhana
996d2e2a10
bucketpolicy: checkBucketPolicy should keep resources in map.
...
This is done to make sure to avoid appending duplicates for
resources for each actions.
9 years ago
Harshavardhana
2edf32adfa
Merge pull request #1253 from koolhead17/patch-5
...
Update README.md
9 years ago
Harshavardhana
e3a3283883
Merge pull request #1255 from hackintoshrao/list-object-prefix-response
...
api: ListObject - Changing to empty response when prefixDir doesn't exist
9 years ago
Karthic Rao
7be79b507b
Changing to empty response when prefixDir doesn't exist
9 years ago
Harshavardhana
600a932acb
Merge pull request #1254 from hackintoshrao/formatting-fix
...
Formating: Formating issues fixed
9 years ago
Karthic Rao
ff41c050d5
Formatting issues fixed.
9 years ago
koolhead17
7f993bb5e6
Update README.md
...
fixed missing spelling,
9 years ago
Harshavardhana
7a97622fed
Merge pull request #1252 from koolhead17/patch-4
...
docs: Add more s3cmd commands
9 years ago
koolhead17
da691dc100
Update README.md
...
Added more s3cmd commands associated & known to work well with Minio server
9 years ago
Harshavardhana
e2c515b334
Merge pull request #1245 from hackintoshrao/fs-bucket-tests
...
api: ListObject - tests, benchmark, optimization
9 years ago
Karthic Rao
b55922effe
Fix for Istruncated set to true under certain conditions.
...
Optimizing List Objects by using binary sort to discard entries in cases
where prefix or marker is set.
Adding test coverage to ListObjects.
Adding benchmark to ListObjects.
9 years ago
Anand Babu (AB) Periasamy
407316c631
Merge pull request #1249 from harshavardhana/remove-deadcode
...
main: Remove all the dead/unused code.
9 years ago
Harshavardhana
902aa05021
main: Remove all the dead/unused code.
...
This patch removes some dead and unused code.
9 years ago
Anand Babu (AB) Periasamy
d95aac4b36
Merge pull request #1246 from harshavardhana/list-response
...
api: ListMultipartUploads and ListParts responded more entries.
9 years ago
Harshavardhana
fc72a0362f
api: ListMultipartUploads and ListParts responded more entries.
...
Issue is empty entries were added since allocating an array was
followed by an append. Keep the index and copy the right entries
precisely.
Fixes an issue reported at - https://github.com/minio/mc/issues/1642
9 years ago
Anand Babu (AB) Periasamy
1900d16d22
Merge pull request #1244 from harshavardhana/zip-compress
...
buildscripts: compress release binaries.
9 years ago
Harshavardhana
41cba3a457
buildscripts: compress release binaries.
...
Fix update command as well to show compressed files in updates.
9 years ago
Harshavardhana
a90faf5996
Merge pull request #1216 from sreeram-boyapati/choose_arch
...
buildscripts: Enable user to choose an arch to build
9 years ago
Harshavardhana
e7e2fae156
Merge pull request #1238 from hackintoshrao/maxkeys-zero-fix
...
[GH-1237] api: Handling maxKeys=0 case with a empty response
9 years ago
Karthic Rao
99af0444b7
Handling maxKeys=0 case with a empty response
9 years ago
Harshavardhana
2357e00317
Fix s3cmd config
9 years ago
Anand Babu (AB) Periasamy
27c75d8be4
Merge pull request #1241 from harshavardhana/print
...
[GH-1240] main: Print keys after init and full server initialization.
9 years ago
Harshavardhana
72d364cbf2
[GH-1240] main: Print keys after init and full server initialization.
...
Setting MINIO_ACCESS_KEY and MINIO_SECRET_KEY re-writes the values
in config properly, but the init message is not updated.
Fix it by delay printing keys until everything is properly
initialized.
9 years ago
Harshavardhana
a729d02c31
Merge pull request #1227 from krishnasrinivas/docker-md
...
docker: simplify docker run instructions.
9 years ago
Harshavardhana
c80c06680d
Merge pull request #1235 from krishnasrinivas/handle-eaddrinuse
...
startup: do not fail for non-EADDRINUSE errors. Fixes #1234
9 years ago
Harshavardhana
facd5a9ffd
Merge pull request #1239 from awwalker/verify-headers
...
api: CopyObject - verify the additional headers before starting to write.
9 years ago
awwalker
34f2c5bcdf
verify before writing
...
merge
verify headers before writing
9 years ago
Krishna Srinivas
fd943c704d
docker: simplify docker run instructions.
9 years ago
Krishna Srinivas
e5b411caf4
startup: do not fail for non-EADDRINUSE errors. Fixes #1234
9 years ago
Anand Babu (AB) Periasamy
c784707ed8
Merge pull request #1233 from harshavardhana/bucket-policy
...
bucketpolicy: Improve bucket policy validation, avoid nested rules.
9 years ago
Harshavardhana
88714e7c8e
bucketpolicy: Improve bucket policy validation, avoid nested rules.
...
Bucket policy validation is more stricter now, to avoid nested
rules. The reason to do this is keep the rules simpler and more
meaningful avoiding conflicts.
This patch implements stricter checks.
Example policy to be generally avoided.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Principal": {
"AWS": [
"*"
]
},
"Resource": [
"arn:aws:s3:::jarjarbing/*"
]
},
{
"Action": [
"s3:GetObject",
"s3:DeleteObject"
],
"Effect": "Deny",
"Principal": {
"AWS": [
"*"
]
},
"Resource": [
"arn:aws:s3:::jarjarbing/restic/key/*"
]
}
]
}
```
9 years ago
Harshavardhana
2e3e164f16
Update Docker.md
9 years ago
Harshavardhana
15b5f4d7a3
Update Caddy.md
9 years ago
Harshavardhana
83f9a50137
Merge pull request #1229 from brendanashworth/improve-fs-getobject
...
pkg/fs: optimize GetObject, add benchmark
9 years ago
Brendan Ashworth
583e4ecff6
pkg/fs: optimize GetObject syscalls for common case
...
In the common case, GetObject is called on a bucket that exists and an
object that exists and is not a directory. It should be optimized for
this case, thus error-related syscalls are pushed back until they are
necessary.
This should not impact performance negatively in the uncommon case, and
instead drops two otherwise unnecessary os.Stat's in the common case.
The race conditions around a proper error being returned were present
beforehand.
It also renames 'err' to 'e'.
9 years ago
Brendan Ashworth
b2257682e4
pkg/fs: add benchmark for GetObject
...
This commit adds a benchmark for GetObject. It doesn't leverage the I/O
as much because it uses short text for data, just 58 chars.
9 years ago
Harshavardhana
09789de586
Merge branch 'awwalker-new-copy-headers'
9 years ago
awwalker
9a5e3299fc
api/object: Add CopyObject to support match/modified copy headers
...
Adds support for the following request headers:
- x-amz-copy-source-if-match
- x-amz-copy-source-if-none-match
- x-amz-copy-source-if-unmodified-since
- x-amz-copy-source-if-modified-since
Fixes #1176
9 years ago
Harshavardhana
2c09df24ee
Merge pull request #1225 from hackintoshrao/fs-bucket-tests
...
tests: Add tests for ListBuckets
9 years ago
Karthic Rao
53a76439a2
test for GetBucketInfo
9 years ago
Anand Babu (AB) Periasamy
6b0af08885
Merge pull request #1224 from harshavardhana/simplify
...
cleanup: Remove unecessary packages and tests. Simplify.
9 years ago
Harshavardhana
5282a79eda
cleanup: Remove unecessary packages and tests. Simplify.
9 years ago
Anand Babu (AB) Periasamy
3d8b9afa8f
Merge pull request #1222 from harshavardhana/cleanup-fix
...
cleanup: Rename ObjectMetadata as ObjectInfo.
9 years ago