Krishna Srinivas
b090c7112e
Refactor of xl.PutObjectPart and erasureCreateFile. ( #2193 )
...
* XL: Refactor of xl.PutObjectPart and erasureCreateFile.
* GetCheckSum and AddCheckSum methods for xlMetaV1
* Simple unit test case for erasureCreateFile()
8 years ago
Harshavardhana
af6109f89a
update: Remove extraneous '/' in update message. ( #2207 )
8 years ago
Anis Elleuch
3f27734c22
Use normal color instead of forced white for users who have bright terminal background ( #2200 )
8 years ago
Harshavardhana
cdf1373f8e
XL: Ignore and continue for cases when bucket does not exist. ( #2205 )
...
Fixes #2201
Fixes #2204
8 years ago
Krishnan Parthasarathi
45240f158d
xl: Make namespace locking granular for PutObject ( #2199 )
8 years ago
Harshavardhana
0bd6b67ca5
server: Sort ips based on their last octet value. ( #2198 )
8 years ago
Harshavardhana
8c84df5e74
server: Change color codes for headings and sub-headings. ( #2197 )
...
This patch changes the color coding used for headings, sub-headings
and values as finalized.
8 years ago
Harshavardhana
dc3bafb194
XL: isQuorum rename as isDiskQuorum, word it properly. ( #2196 )
8 years ago
Harshavardhana
3b69b4ada4
server: Change server startup message. ( #2195 )
...
This change brings in the new agreed startup message
for the server.
Adds additional links point to Minio SDKs as well.
8 years ago
Krishnan Parthasarathi
0610527868
XL: PutObjectPart update checksum, re-read from xl.json for the part being written. ( #2191 )
8 years ago
Harshavardhana
0fcfb5df3b
XL/fs: Change minioMetaBucket different than '.minio' config dir. ( #2190 )
...
This fixes corruption of config directory seen when minio server
exports 'home' directory.
```
minio server ~
```
8 years ago
Harshavardhana
623e0f9243
XL: listOnlineDisks should use modTime instead of version. ( #2166 )
...
This change is needed to make reading from objects future proof
in-terms of handling online disks. Our current counter is not
based on affirmative knowledge and relies on arithmetic sequence
which can lead to bugs.
Using modTime simplifies the understanding of `xl.json` and future
tooling / debugging of the format.
8 years ago
utsl42
e5cd35aad0
XL: GetObjectInfo() store and retrieve user-defined object metadata. ( #2189 )
8 years ago
Anis Elleuch
5cd629adca
XL/fs: DeleteVol should not return error cleaning multipart dir for errVolumeNotFound ( #2188 )
8 years ago
Anis Elleuch
0fddf3fe17
Avoid creating tmp directories under .minio/tmp/ to facilitate cleaning ( #2187 )
8 years ago
karthic rao
ac6ff67546
Tool for running benchmark comparison of 2 commits ( #2161 )
8 years ago
Harshavardhana
126865e8df
XL/bucket: Remove bucket should cleanup incomplete uploads as well. ( #2173 )
...
This behavior is in accordance with S3.
Fixes #2170
8 years ago
Krishnan Parthasarathi
1c82b81408
Rename parts/objects only on onlineDisks ( #2185 )
8 years ago
Bala FA
749a94f6c9
tests: Add tests for signature-jwt code ( #2169 )
...
Fixes #1989
8 years ago
Harshavardhana
e9647b5f12
API/CopyObject: Refactor the code and handle if-modified-since as well. ( #2183 )
...
This completes the S3 spec behavior for CopyObject API as reported
by `s3verify`.
8 years ago
Krishnan Parthasarathi
bef72f26db
xl: Make locking more granular for PutObjectPart requests ( #2168 )
8 years ago
Harshavardhana
ede4dd0f9c
server: update command should check for 3s from 1ms. ( #2175 )
...
Programmer error :-)
8 years ago
Bala FA
bfc59b7d50
tests: improve unit tests for xl-v1-metadata. ( #2172 )
...
Fixes #2124
8 years ago
Remco Verhoef
a162198623
implemented systemd script ( #2167 )
8 years ago
Harshavardhana
de468f92ec
posix: ReadAll should handle the case when parent is not a dir. ( #2163 )
...
It can happen so that a read request can come for a file which
already has a parent i.e a file.
This fix handles this scenario - fixes #2047
8 years ago
Harshavardhana
d676e660c9
API/CopyObject: If-None-Match should return Precondition failed. ( #2164 )
8 years ago
Krishna Srinivas
aa7079fc7b
XL/GetObject: If quorum not available during GetObject appropriate error should be returned. ( #2135 )
8 years ago
Harshavardhana
bdff0848ed
server: Implement --ignore-disks for ignoring disks from healing. ( #2158 )
...
By default server heals/creates missing directories and re-populates
`format.json`, in some scenarios when disk is down for maintainenance
it would be beneficial for users to ignore such disks rather than
mistakenly using `root` partition.
Fixes #2128
8 years ago
Bala FA
0793237d94
tests: Move signature calculation in separate function. ( #2160 )
...
Previously newTestRequest() creates request object and returns
signature v4 signed request. In TestCopyObject(), its required to add
headers later to the request and sign the request.
This patch introduces two new functions
* signRequest(): signs request using given access/secret keys.
* newTestSignedRequest(): returns new request object signed with given
access/secret keys.
Fixes #2097
8 years ago
Bala FA
2a95eabb8a
benchmarks: add parallel benchmarks for PutObject/GetObject. ( #2159 )
...
Fixes #2092
8 years ago
Krishnan Parthasarathi
bc8720406d
Added specific error for InvalidObjectName ( #2157 )
8 years ago
Krishna Srinivas
ae80f8ca35
ObjectLayer/GetObject: Should return the right error value. Fix done in FS and XL. ( #2133 )
...
fixes #2117
8 years ago
Harshavardhana
5102a5877e
API/handler: CopyObject make it behave in accordance with S3 spec. ( #2155 )
...
Fixes bugs found while running s3verify tool - fixes #2152
8 years ago
karthic rao
3341fe9b28
organizing the benchmarks in the right test files ( #2154 )
8 years ago
Harshavardhana
c0c8a8430e
XL/PutObject: Add single putObject and multipart caching. ( #2115 )
...
- Additionally adds test cases as well for object cache.
- Adds auto-expiry with expiration and cleanup time interval.
Fixes #2080
Fixes #2091
8 years ago
karthic rao
b0c180b77c
Test for ObjectLayer.GetObject() ( #2153 )
8 years ago
karthic rao
778b870b77
placing the http range error in objct-api-errors. ( #2150 )
8 years ago
Harshavardhana
cb415ef12e
Merge pull request #2149 from harshavardhana/hash-order
...
XL/metadata: use new hashOrder algorithm for newXLMeta. (#2147 )
8 years ago
Harshavardhana
6266328a85
XL/metadata: use new hashOrder algorithm for newXLMeta. ( #2147 )
8 years ago
frankw
63b3f1dcfd
Use new algorithm to get fixed random order of disks ( #2147 )
8 years ago
Anis Elleuch
5ff1203fc0
Add PutObjectPart benchmark ( #2145 )
8 years ago
Harshavardhana
c3ab8bbd51
Turning off OSX builds for now.
8 years ago
Harshavardhana
a4a55bf134
tests: Fix erasure-readfile test formatting.
8 years ago
Harshavardhana
ec35330ebb
XL/fs: GetObject should validate all its inputs. ( #2142 )
...
Fixes #2141
Fixes #2139
8 years ago
Harshavardhana
ca1b1921c4
XL: Implement ignore errors. ( #2136 )
...
Each metadata ops have a list of errors which can be
ignored, this is essentially needed when
- disks are not found
- disks are found but cannot be accessed (permission denied)
- disks are there but fresh disks were added
This is needed since we don't have healing code in place where
it would have healed the fresh disks added.
Fixes #2072
8 years ago
Harshavardhana
4c21d6d09d
tests: Remove racey failedDisks behavior in RenameObject tests. ( #2138 )
...
Additionally also initialize namespace lock only once per test
run, there is no reason to initialize it multiple times to avoid
races.
Fixes #2137
8 years ago
Bala FA
5ec7734d88
FS: Check offset is within object size in GetObject() ( #2123 )
...
Fixes #2118
8 years ago
karthic rao
2c837128ef
Object layer tests revamp for individual execution ( #2134 )
8 years ago
Bala FA
282044d454
http: handle possible range requests properly. ( #2122 )
...
Previously range string is not validated against various combination
of values. This patch fixes the issue.
Fixes #2098
8 years ago
Harshavardhana
8e53064bb4
XL/format: Initialize missing meta volume. ( #2131 )
...
Fixes #2127
8 years ago