Karthic Rao
3e8cb8c937
build: ineffassign fixes. ( #3134 )
8 years ago
Aditya Manthramurthy
dd6ecf1193
Read/write quorum algo with uploads.json in xl ( Fixes #3123 ) ( #3124 )
...
- Reads and writes of uploads.json in XL now uses quorum for
newMultipart, completeMultipart and abortMultipart operations.
- Each disk's `uploads.json` file is read and updated independently for
adding or removing an upload id from the file. Quorum is used to
decide if the high-level operation actually succeeded.
- Refactor FS code to simplify the flow, and fix a bug while reading
uploads.json.
8 years ago
Anis Elleuch
90e1803798
Fix docker-compose to follow the new server args style ( #3128 )
8 years ago
Anis Elleuch
a47ce7ab22
Add support of fallocate for FS and XL backends ( #3032 )
8 years ago
Krishna Srinivas
0b3282ac9f
Logging: errorIf fatalIf print in the format [file.go:82:funcName()] ( #3127 )
8 years ago
Krishna Srinivas
79b98b5c25
boot: getPath() should take care of simple directory exports. ( #3122 )
...
fixes #3120
8 years ago
Krishnan Parthasarathi
6a57f2c1f0
XL: Add more information to panic msg ( #3119 )
8 years ago
Krishna Srinivas
0fa2477cb0
boot: check parameter syntax before initializing the system. ( #3114 )
...
fixes #3112
8 years ago
Anis Elleuch
7ffb337cd7
Update control cmd USAGE to indicate that it is possible to put access secret keys in URL ( #3115 )
8 years ago
Karthic Rao
a9dd2793f9
Better formatting and adding systemd config to run Minio server on custom port. ( #3113 )
8 years ago
Harshavardhana
9e2d0ac50b
Move to URL based syntax formatting. ( #3092 )
...
For command line arguments we are currently following
- <node-1>:/path ... <node-n>:/path
This patch changes this to
- http://<node-1>/path ... http://<node-n>/path
8 years ago
Aditya Manthramurthy
30dc11a931
No `listener.json` for single-node mode ( Fixes #3052 ) ( #3108 )
...
In FS or single-node XL mode, there is no need to save listener
configuration to persistent storage. As there is only one server, if it
is restarted, any connected listenBucketAPI clients were disconnected
and will have to reconnect - so there is nothing to actually store.
This incidentally solves #3052 by avoiding the problem.
8 years ago
Anis Elleuch
a15dc5fed5
Print message when creating the config file ( #3089 )
8 years ago
Anis Elleuch
f7c20b97a1
control cmds: Extract access and secret keys from URL if specified ( #3109 )
8 years ago
Harshavardhana
e9c45102b0
posix: Use sync.Pool buffers to copy in large buffers. ( #3106 )
...
These fixes are borrowed from the fixes required for GlusterFS i/o throughput.
8 years ago
Anis Elleuch
8871eb8e1e
Show offline nodes after a fixed number of init retry ( #3107 )
8 years ago
Krishna Srinivas
0f32efb825
PostPolicy - rename of files/functions + add testcases ( #3104 )
8 years ago
Karthic Rao
63f1b4fdf4
mispell fixes. ( #3100 )
8 years ago
Krishnan Parthasarathi
31f2db6880
Remove leftover debug statement from PutObject StreamingSignature unit-test ( #3099 )
8 years ago
Krishnan Parthasarathi
2c9b406f6c
Add TLS based tests to functional test suite ( #3083 )
8 years ago
Krishnan Parthasarathi
12cd2da265
Add PutObjectHandler unit tests covering failure cases ( #3096 )
8 years ago
Harshavardhana
485c0ea8bf
tests: Combine v2 tests with the Suite itself. ( #3088 )
8 years ago
Krishnan Parthasarathi
49ba07d1d6
Use net.ParseCIDR instead of custom-built parsers ( #3055 )
...
Removes avoidable conversion to and from net.IP to string.
8 years ago
Krishna Srinivas
35e541e0b1
content-length-range policy should be honored for the uploaded object sizes. ( #3076 )
8 years ago
Aditya Manthramurthy
3977d6b7bd
Lock bucket while modifying its metadata ( Fixes #2979 ) ( #3019 )
...
- When modifying notification configuration
- When modifying listener configuration
- When modifying policy configuration
With this change we also stop early checking if the bucket exists, since
that uses a Read-lock and causes a deadlock due to the outer Write-lock.
8 years ago
Harshavardhana
0905398459
Fix benchmark tests. ( #3082 )
...
Fixes #3081
8 years ago
Aditya Manthramurthy
f41faf96b7
Fix newMultipartUpload to not leave stale uploads.json ( Fixes #3014 ) ( #3079 )
8 years ago
Bala FA
36639b65a9
rename completeMultipartMD5() into getCompleteMultipartMD5(). ( #3051 )
8 years ago
Harshavardhana
7fc598b73f
Fix user-agent prefix to have docker instead of suffix. ( #3074 )
8 years ago
Krishna Srinivas
21d41ad7fd
init[windows]: Fix to handle the case when export path is a relative path. ( #3054 )
...
ex. to handle "minio server export"
8 years ago
Harshavardhana
fe56220d1a
Do not print nil when hostname is provided as --address ( #3053 )
...
Fixes #3018
8 years ago
Harshavardhana
5782ec3ada
Fix peers and web UIVersion validation. ( #3048 )
8 years ago
Krishnan Parthasarathi
8839c5105a
Pass values to closures esp. when passed to defer statement. ( #3050 )
...
opsID, a variable on the stack, changes over the course of
Completemultipartupload function in xl-v1-multipart.go. This was
being used in a function closure which was passed to defer
statement. The variables used in the closure depend on their values at
the time of evaluation which is indeterminate behaviour. It is
incorrect to depend on values of variables on stack at the end of
function, when deferred functions are executed.
8 years ago
Harshavardhana
e293f079f5
github: Add PR and issue templates. ( #3046 )
8 years ago
Anis Elleuch
6c2d5e3d05
Correct the number of failed disks that we can withstand in startup message ( #3045 )
8 years ago
Krishna Srinivas
5999a23d3e
When object whose size is greater than 5G is uploaded using presigned POST we should return error. ( #3033 )
...
fixes #2961
8 years ago
Krishna Srinivas
e51be73ac7
PresignedPost: Support for Signature V2 presigned POST Policy. ( #3043 )
...
fixes #2993
8 years ago
Harshavardhana
4b5b363c6c
tests: Fix race between SetBucketListenerConfig and eventNotifyForBucketNotifications ( #3041 )
8 years ago
Krishna Srinivas
f2b0c08e34
logging: print file:line:funcName of the caller of errorIf and fatalIf ( #3035 )
8 years ago
Harshavardhana
83b364891d
tests: Fix a potential race in ListenBucketNotificationHandler. ( #3040 )
8 years ago
Karthic Rao
87af2dbc43
dist: Adding systemd script for running Minio distributed. ( #3034 )
8 years ago
Justin Clift
885bac330b
Added a "catch all" documentation link ( #3038 )
...
This should help guide other newbies ;)
8 years ago
Harshavardhana
e3ab478c70
tests: Fix a potential race in RemoveBucketNotification. ( #3037 )
...
Fixes #3036
8 years ago
Harshavardhana
ecaccefd2e
tests: Implement GetBucketNotification handler tests. ( #3029 )
8 years ago
Harshavardhana
ece559afe2
api: Do not use sqs for ListenBucketNotification. ( #3023 )
...
Add more tests. Fixes #3024
8 years ago
Krishna Srinivas
d3aaf50a40
posix: Split on ":" in path d:\export makes minio use wrong disk. ( #3027 )
...
As the host/path split happens at a higher layer now, split at posix is not needed.
fixes part of #2987
8 years ago
Karthic Rao
43ce028840
Point link of the docs to docs.minio.io. ( #3025 )
8 years ago
Krishna Srinivas
32c3a558e9
distributed-XL: Support to run one minio process per export even on the same machine. ( #2999 )
...
fixes #2983
8 years ago
Anis Elleuch
41f9ab1c69
Translate storage access denied error to S3 Access Denied response ( #3015 )
8 years ago
Aditya Manthramurthy
8876e0a80a
Delete bucket listener config file from disk ( #3016 )
8 years ago