Krishna Srinivas
e99cb05516
XL/GetObject: offset should be reset to 0 after reading first part. ( #1580 ) ( #1581 )
8 years ago
Krishna Srinivas
409e09c1e5
XL/Selfheal: skip reading from disk if ReadFile had returned error. ( #1575 )
8 years ago
Krishna Srinivas
c314a98c1a
XL/list: fix panic on list when a disk is down. ( #1562 )
8 years ago
Harshavardhana
5f0ca64346
erasure: listOnlineDisks should return errFileNotFound for errReadQuorum. ( #1573 )
...
Fixes #1571
8 years ago
Harshavardhana
0db3218d5d
xl: getPartsMetadata fetch parts and decode in go-routine. ( #1569 )
...
Ref #1516
8 years ago
Harshavardhana
eec41c369c
posix: Return diskNotFound error rather than errVolumeNotFound ( #1568 )
...
Fixes #1559
8 years ago
Harshavardhana
b66c3bf35e
server: Enable server profiling as needed. ( #1565 )
8 years ago
Harshavardhana
f733120d3d
xl: CompleteMultipartUpload make sure to delete uploads.json ( #1539 )
...
Fixes #1537
Ref #1540 - for missing functionality in this patch.
8 years ago
Krishna Srinivas
6627388dc3
posix: remove dead code related to posix reserved suffixes. ( #1555 )
8 years ago
Harshavardhana
9d41414fb5
posix: reserved files should be filtered out at posix not object layer. ( #1554 )
8 years ago
Harshavardhana
722abe2d0f
xl/fs: pathJoin now takes variadic inputs. ( #1550 )
...
Retains slash for the last element.
Fixes #1546
8 years ago
Krishna Srinivas
04a5b25929
Multipart: Minimum part size limit does not apply to the last part during CompleteMultipartUpload. ( #1518 ) ( #1538 )
8 years ago
Harshavardhana
90ea494338
erasure: waitCloser should implement CloseWithError. ( #1543 )
...
This is needed so that the other end of the pipe receives
and error, cleanups temporary files.
8 years ago
Harshavardhana
a8fdd04e62
erasure: ReadFile should honor proper offsets. ( #1542 )
...
Fixes #1535
8 years ago
Harshavardhana
76c511c9fe
api: Extend S3 errors with Minio errors. ( #1533 )
...
Fixes #1530
8 years ago
Krishna Srinivas
75320f70d0
multipart: reject part upload if size is less than 5MB. ( #1518 )
8 years ago
Krishna Srinivas
88e1c04259
XL/ListDir: break out of loop if list on one disk is a success. ( #1534 )
8 years ago
Krishna Srinivas
a205aca6d2
init: Cleanup .minio/tmp directories recursively. Also takes care of cleaning up of parts directory during abortMultipartUpload. ( #1532 )
8 years ago
Harshavardhana
3f51dd4fd4
xl: CompleteMultipartUpload should rename files in a routine. ( #1527 )
...
This solves the client timeout while renaming 9000+ parts.
Fixes #1526
8 years ago
Harshavardhana
56b7df90e1
xl/fs: ListObjectParts should set nextPartNumberMarker properly. ( #1528 )
...
For list requests on parts more than 1000, would lead to an infinite
loop.
Fixes #1522
8 years ago
Harshavardhana
a56d5ef415
xl/fs: isFunctions should only return boolean. ( #1525 )
...
log the unrecognize errors.
8 years ago
Harshavardhana
937d68202d
server: Deadcode removal. ( #1517 )
8 years ago
Harshavardhana
bf563afb80
xl: DeleteObject regression over errChannel. ( #1521 )
...
DeleteObject would hang indefinitely - fix it.
8 years ago
Harshavardhana
091c1e8456
copyObject: No need to verify md5sum. ( #1520 )
...
Multipart objects are kept in non hex md5sum format.
This format doesn't comply with hex, so decoding
would fail invariably.
This is not necessary to validate and its not expected
error during a CopyObject operation.
Fixes #1519
8 years ago
Harshavardhana
751fa972f5
xl/fs: Multipart re-org introduce "uploads.json" ( #1505 )
...
Fixes #1457
8 years ago
Harshavardhana
434423de89
xl: Move format detection inside xl objects. ( #1515 )
...
Fixes #1449
8 years ago
Harshavardhana
a20ccb1e83
server: Print proper endpoint, along with https if configured. ( #1514 )
...
Fixes #1492
8 years ago
Harshavardhana
0625c050e6
xl/tests: Enable server handler tests over XL. ( #1512 )
...
Fixes #1513
8 years ago
Harshavardhana
0b74f5624e
xl: Fix how we deal with read offsets at erasure layer. ( #1511 )
...
Requires skipping necessary parts of dataBlocks during
decoding phase and requires us to properly skip the
entries as needed.
Thanks to Karthic for reproducing this important issue.
Fixes #1503
8 years ago
Krishna Srinivas
c06b9abc15
bucket-handlers: do not unescape marker as gorilla layer would have already done it. ( #1495 ) ( #1510 )
8 years ago
Krishna Srinivas
a5d31d4254
XL/ListObjects: use string.TrimSuffix instead of Trim. ( #1498 ) ( #1509 )
8 years ago
karthic rao
20ca65c793
Cleanup: mispell fixes
8 years ago
karthic rao
0b4bbe6d9e
Adding XL Object layer validation for existing unit tests of single node ( #1499 )
...
object layer.
Adding isBucketExist check for GetObjectInfo in the XL layer.
8 years ago
Krishna Srinivas
48d3be36da
XL/ListObjects: Fix ordering issue during listing if the files were uploaded as multipart uploads. ( #1498 ) ( #1506 )
...
i.e if two files "tmp" and "tmp.1" are uploaded as multipart we would list ""tmp.1"" before ""tmp"" as "tmp.1/" < "tmp/"
8 years ago
Harshavardhana
5133ea50bd
xl/fs: Make i/o operations atomic. ( #1496 )
8 years ago
Harshavardhana
17868ccd7f
handlers: overhaul entire writErrorResponse, simplify. ( #1472 )
8 years ago
Harshavardhana
ba5805e60a
bucketPolicy: Do not use regexes, just do prefix matches. ( #1497 )
...
AWS arn supports wildcards and this is flat namespace, simple
prefix matching is fine.
Fixes #1481
Fixes #1482
8 years ago
Harshavardhana
ca097de96c
xl/fs: Add initObjectLayer function. ( #1494 )
...
Fixes #1493
8 years ago
Bala FA
658a595d7a
xl-erasure: RenameFile should support quorum. ( #1487 )
...
Fixes #1463
8 years ago
Krishna Srinivas
247e835d7b
object: move go-routine listing from posix to objectLayer. ( #1491 )
8 years ago
Harshavardhana
46680788f9
xl/fs: cleanup '/.minio/tmp' directory on each initialization. ( #1490 )
8 years ago
Harshavardhana
ad40036cba
posix: filepath shouldn't be used anymore use path.Join ( #1486 )
8 years ago
Harshavardhana
82fbe908a3
object: DeleteBucket should return proper error for BucketNotEmpty. ( #1489 )
...
Fixes #1488
8 years ago
Harshavardhana
f145e1042f
quick/config: No need to use Data() with type assertion. ( #1480 )
...
Since input to quick.New() is a pointer the unmarshalled value
internally already has the value, subsequent type assertions
are not needed.
Thanks to Bala for finding this behavior.
Fixes #1475
8 years ago
Rajiv Makhijani
9dccbd6478
New Dockerfile for building & running minio inside Docker (inc. autobuild support) ( #1473 ) ( #1485 )
8 years ago
karthic rao
82113b747c
Resource matching fix to overcome issues with regular expression based match ( #1476 )
8 years ago
Rajiv Makhijani
a5959789d5
Make minimum file space percent a constant ( #1484 )
8 years ago
Harshavardhana
6988ed9257
xl/getObjectInfo: Returns back proper size, modTime and md5Sum. ( #1479 )
...
Fixes #1469
8 years ago
Rajiv Makhijani
321aefa026
Add Response for PostPolicyBucketHandler ( #1477 ) ( #1483 )
8 years ago
Harshavardhana
dd417e5476
fs: Handle cases of PutObject for an existing prefix. ( #1478 )
8 years ago