Nitish Tiwari
2410eb281e
Update kafkacat command with consumer flag ( #3882 )
8 years ago
Harshavardhana
e54025805f
browser: update ui-assets with new changes.
8 years ago
Anis Elleuch
d602495600
madmin: Do not require SSL to set credentials ( #3879 )
...
We need to relax this requirement and let the client decides
if it can allow to set credentials API over plain connection.
8 years ago
Nitish Tiwari
03937e7554
Added documentation for orchestration platforms ( #3684 )
8 years ago
Harshavardhana
e3b627a192
docker: Add ARM64 image build support ( #3876 )
8 years ago
Rushan
ccc3349f0c
Browser: Show complete bucket name by removing the ellipsis cut off ( #3877 )
8 years ago
Harshavardhana
85cbd875fc
cleanup: All conditionals simplified under pkg. ( #3875 )
...
Address all the changes reported/recommended by
`gosimple` tool.
8 years ago
Harshavardhana
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
8 years ago
Bala FA
8a9852220d
Make unit testable cert parsing functions. ( #3863 )
8 years ago
Harshavardhana
47ac410ab0
Code cleanup - simplify server side code. ( #3870 )
...
Fix all the issues reported by `gosimple` tool.
8 years ago
Harshavardhana
433225ab0d
docker: ca-certificates should not be removed. ( #3868 )
8 years ago
Harshavardhana
3e655a2c85
docker: Add ARM docker container dockerfile. ( #3574 )
8 years ago
Anis Elleuch
a2eae54d11
xl: Respect min. space by checking PrepareFile err ( #3867 )
...
It was possible to upload a big file which overcomes the minimal
disk space limit in XL, PrepareFile was actually checking for disk
space but we weren't checking its returned error. This patch fixes
this behavior.
8 years ago
Anis Elleuch
79e0b9e69a
Relax minio server start when disk threshold is reached and adds space check in FS ( #3865 )
...
* fs: Rename tempObjPath variable in fsCreateFile()
* fs/posix: Factor checkDiskFree() function
* fs: Add disk free check in fsCreateFile()
* posix: Move free disk check to createFile()
* xl: Relax free disk check in POSIX initialization
* fs: checkDiskFree checks for space to store data
8 years ago
Krishna Srinivas
29ff9674a0
browser: Humanize expiry time for Share-Object. ( #3861 )
8 years ago
Bala FA
bff4d29415
Remove commands and commandsTree global variables. ( #3855 )
8 years ago
Krishna Srinivas
436db49bf3
Share object expiry value modification modal was not working ( #3860 )
8 years ago
Rushan
966818955e
Browser: Implement multiple object delete ( #3859 )
8 years ago
Harshavardhana
e49efcb9d9
xl: quickHeal heal bucket only when needed. ( #3854 )
...
This improves the startup time significantly
for clusters which have lot of buckets.
Also fixes a bug where `.minio.sys` is created
on disks which do not have `format.json`
8 years ago
Harshavardhana
6f931d29c4
rpm: Add RPM spec for minio build. ( #3853 )
...
Currently the package is built and hosted at
https://copr.fedorainfracloud.org/coprs/minio/minio/
To enable minio repo one has to download.
Fedora - 25
https://copr.fedorainfracloud.org/coprs/minio/minio/repo/fedora-25/minio-minio-fedora-25.repo
Fedora - 26
https://copr.fedorainfracloud.org/coprs/minio/minio/repo/fedora-26/minio-minio-fedora-26.repo
Enables for both i386 and x86_64.
Fixes #3576
8 years ago
Krishnan Parthasarathi
e3fd4c0dd6
XL: Make listOnlineDisks and outDatedDisks consistent w/ each other. ( #3808 )
8 years ago
Harshavardhana
b05c1c11d4
browser: Update UI assets with new changes.
8 years ago
Krishna Srinivas
0bae3330e8
browser: Send correct arguments for RemoveObjects web handler. ( #3848 )
...
Fixes #3839
8 years ago
Harshavardhana
05e53f1b34
api: CopyObjectPart was copying wrong offsets due to shadowing. ( #3838 )
...
startOffset was re-assigned to '0' so it would end up
copying wrong content ignoring the requested startOffset.
This also fixes the corruption issue we observed while
using docker registry.
Fixes https://github.com/docker/distribution/issues/2205
Also fixes #3842 - incorrect routing.
8 years ago
Anis Elleuch
0c8c463a63
tests: Fix web handlers testing with faulty disks ( #3845 )
8 years ago
Aditya Manthramurthy
6df7bc42b8
Fix check for bucket name: ( #3832 )
...
* Do not allow bucket names with adjacent hypen and periods.
* Improve performance by eliminating the usage of regular expressions.
8 years ago
Anis Elleuch
6c00a57a7c
quick: Add yaml format support ( #3833 )
...
quick Save() and Load() infers config file's format from
file name extension.
8 years ago
Harshavardhana
bc52d911ef
api: Increase the maximum object size limit from 5GiB to 16GiB. ( #3834 )
...
The globalMaxObjectSize limit is instilled in S3 spec perhaps
due to certain limitations on S3 infrastructure. For minio we
don't have such limitations and we can stream a larger file
instead.
So we are going to bump this limit to 16GiB.
Fixes #3825
8 years ago
Anis Elleuch
28c53a3555
obj: Make checkBucketExist() returns all errors ( #3843 )
...
This function was returning BucketNotFound for all errors
which at least hides the fact that disks could be corrupted.
This commit fixes the behavior by returning all errors that,
are, by the way, Object API errors.
8 years ago
Harshavardhana
e5d4e7aa9d
web: Validate if bucket names are reserved ( #3841 )
...
Both '.minio.sys' and 'minio' should be never allowed
to be created from web-ui and then fail to list it
by filtering them out.
Fixes #3840
8 years ago
Anis Elleuch
cddc684559
admin: Set Config returns errSet and errMsg ( #3822 )
...
There is no way to see if a node encountered an error
when trying to set a new config set, this commit adds
a bool errSet field.
8 years ago
Zejun Li
32d0d3d4ac
Enhanced newObjectLayerFn ( #3837 )
8 years ago
Bala FA
98d17d2a97
Remove globalQuiet and globalConfigDir global variables ( #3830 )
8 years ago
Bala FA
208dd15245
Remove globalMaxCacheSize and globalCacheExpiry variables ( #3826 )
...
This patch fixes below
* Remove global variables globalMaxCacheSize and globalCacheExpiry.
* Make global variables into constant in objcache package.
8 years ago
Anis Elleuch
a179fc9658
quick: Simplify Load() and CheckVersion() ( #3831 )
8 years ago
Zejun Li
d1afd16955
Using RWMutex to guard closing and listeners ( #3829 )
8 years ago
Bala FA
2348ae7a19
Make default values as constants ( #3828 )
8 years ago
Bala FA
480ea826dc
Move rlimit functions into sys package. ( #3824 )
...
This patch addresses below
* go build works for bsd family
* probe total RAM size for bsd family
* make unit testable functions
8 years ago
Aditya Manthramurthy
09e9fd745c
Close client connection after checking for release update ( #3820 )
8 years ago
Anis Elleuch
77c1998a38
config: Fix creating new config with wrong version ( #3821 )
...
Simplify a little config code to avoid making mistake
next time.
8 years ago
Krishna Srinivas
91cf54f895
web-handlers: Support removal of multiple objects at once. ( #3810 )
8 years ago
Karthic Rao
2b0ed21f08
tests: Fix test server init - cleanup ( #3806 )
8 years ago
Harshavardhana
472fa4a6ca
api: Multi object delete should be protected. ( #3814 )
...
Add missing protection from deleting multiple objects
in parallel. Currently we are deleting objects without
proper locking through this API.
This can cause significant amount of races.
8 years ago
Bala FA
097cec676a
fix: Set globalMaxCacheSize to allowable value. ( #3816 )
...
If memory resource limit and total RAM are more than 8GiB, either 50%
of memory resource limit or total RAM is set to globalMaxCacheSize.
8 years ago
Rushan
fcad4a44fd
Browser: Remove duplicate object entries while sorting ( #3813 )
8 years ago
Anis Elleuch
9b3c014bab
config: Add browser parameter ( #3807 )
...
browser new parameter receives "on" or "off" parameter which is similar
to MINIO_BROWSER
8 years ago
Krishnan Parthasarathi
c9619673fb
Implement SetConfig admin API handler. ( #3792 )
8 years ago
Anis Elleuch
dce0345f8f
Set disk to nil after write which needs quorum ( #3795 )
...
Ignore a disk which wasn't able to successfully perform an action to
avoid eventual perturbations when the disk comes back in the middle
of write change.
8 years ago
Anis Elleuch
461b2bbd37
admin: Move SetCredentials from Service to Generic ( #3805 )
...
Setting credentials doesn't belong to service management API
anymore.
8 years ago
Bala FA
69777b654e
event: use common initialization logic ( #3798 )
...
Previously creating and adding targets for each notification type was
repeated. This patch fixes it.
8 years ago