Harshavardhana
cef26fd6ea
XL: Refactor usage of reduceErrs and consistent behavior. ( #2240 )
...
This refactor is also needed in lieu of our quorum
requirement change for the newly understood logic behind
klauspost/reedsolom implementation.
8 years ago
Dee Koder
f67c930731
doc: Fixed spacing with respect to code blocks. ( #2241 )
8 years ago
GarimaKapoor
3589a58179
Update Minio-erasure-code-quickStart-guide.md
8 years ago
Dee Koder
e8155abc18
screenshot: Use the full path to the screenshot when embedding images ( #2239 )
8 years ago
Dee Koder
2e8360120d
headings: We need to add a consistent heading for all docs. Adding Minio FreeBSD QuickStart Guide in the title. ( #2233 )
9 years ago
Dee Koder
02b191222c
headings: Added standardized heading for this document. ( #2234 )
9 years ago
Dee Koder
b699795901
docs: Remove additional headings. Added standard heading. Include numbering. ( #2235 )
9 years ago
Harshavardhana
86d31e99d5
api: use checkAuth now at PutBucket, DeleteBucket handlers. ( #2225 )
...
Additionally add a unit test for isReqAuthenticated function.
9 years ago
Krishna Srinivas
897d78d113
erasureReadFile and erasureCreateFile testcases. ( #2229 )
...
* unit-tests: Unit tests for erasureCreateFile and erasureReadFile.
* appendFile() should return errXLWriteQuorum.
* TestErasureReadFileOffsetLength() tests erasureReadFile() for different offset and lengths.
* Fix for the failure seen in the erasure read unit test case. Issue #2227
* Move common erasure setup code to newErasureTestSetup()
* Review fixes. Add few more test cases for erasureReadFile.
9 years ago
Harshavardhana
1f706e067d
api: xmlDecoder should honor contentLength. ( #2226 )
...
This is needed so that we avoid reading large amounts
of data from compromised clients.
9 years ago
Krishnan Parthasarathi
5cc9e4e214
fs/XL: Return IncompleteBody{} error for short writes ( #2228 )
9 years ago
Krishna Srinivas
27a5b61f40
tree-walk: optimize tree walk such that leaf detection of entries is delayed till the entry is sent on the treeWalkResult channel. ( #2220 )
9 years ago
Harshavardhana
aeac902747
API: ListBuckets doesn't have a body, we should never read the body. ( #2218 )
...
ListBuckets was incorrectly reading the body of the request, fix it.
9 years ago
Harshavardhana
aaf7803831
api: Requests should be differentiated if possible based on http router. ( #2219 )
...
In current master ListObjectsV2 was merged into ListObjectsHandler
which also implements V1 API as well.
Move the detection of ListObject types to its rightful place
in http router.
9 years ago
Krishna Srinivas
8cc163e51a
Refactor xl.GetObject and erasureReadFile. ( #2211 )
...
* XL: Refactor xl.GetObject and erasureReadFile. erasureReadFile() responsible for just erasure coding, it takes ordered disks and checkSum slice.
* move getOrderedPartsMetadata and getOrderedDisks to xl-v1-utils.go
* Review fixes.
9 years ago
Harshavardhana
2d38046a5a
utils: BucketNames with double periods and ip address should be rejected. ( #2213 )
...
Fixes #2212
9 years ago
Harshavardhana
cbb6b48b94
doc: update README.md
9 years ago
Harshavardhana
d0636d633d
doc: Move FreeBSD.md to docs.
9 years ago
Harshavardhana
41187fc2ef
docker: Fix docker edge build
9 years ago
koolhead17
204ec2c6c0
doc:README.md/Updated to sync with docs.minio.io ( #2210 )
...
* doc:README.md/Updated to sync with docs.minio.io
* doc:README.me/Modified the minio server output terminal to reflect new release changes.
* docs:README.md/Modified and changed location of other markdown files.
9 years ago
Krishnan Parthasarathi
3bce5db6d1
tests: Add tests to treeWalk for sortedness, recursive listing and isEnd behaviour ( #2209 )
9 years ago
Harshavardhana
35d438e0ff
vendorize: update all vendorized packages. ( #2206 )
...
Bring in new changes from upstream for all the packages.
Important ones include
- gorilla/mux
- logrus
- jwt
9 years ago
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()
9 years ago
Harshavardhana
af6109f89a
update: Remove extraneous '/' in update message. ( #2207 )
9 years ago
Anis Elleuch
3f27734c22
Use normal color instead of forced white for users who have bright terminal background ( #2200 )
9 years ago
Harshavardhana
cdf1373f8e
XL: Ignore and continue for cases when bucket does not exist. ( #2205 )
...
Fixes #2201
Fixes #2204
9 years ago
Krishnan Parthasarathi
45240f158d
xl: Make namespace locking granular for PutObject ( #2199 )
9 years ago
Harshavardhana
0bd6b67ca5
server: Sort ips based on their last octet value. ( #2198 )
9 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.
9 years ago
Harshavardhana
dc3bafb194
XL: isQuorum rename as isDiskQuorum, word it properly. ( #2196 )
9 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.
9 years ago
Krishnan Parthasarathi
0610527868
XL: PutObjectPart update checksum, re-read from xl.json for the part being written. ( #2191 )
9 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 ~
```
9 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.
9 years ago
utsl42
e5cd35aad0
XL: GetObjectInfo() store and retrieve user-defined object metadata. ( #2189 )
9 years ago
Anis Elleuch
5cd629adca
XL/fs: DeleteVol should not return error cleaning multipart dir for errVolumeNotFound ( #2188 )
9 years ago
Anis Elleuch
0fddf3fe17
Avoid creating tmp directories under .minio/tmp/ to facilitate cleaning ( #2187 )
9 years ago
karthic rao
ac6ff67546
Tool for running benchmark comparison of 2 commits ( #2161 )
9 years ago
Harshavardhana
126865e8df
XL/bucket: Remove bucket should cleanup incomplete uploads as well. ( #2173 )
...
This behavior is in accordance with S3.
Fixes #2170
9 years ago
Krishnan Parthasarathi
1c82b81408
Rename parts/objects only on onlineDisks ( #2185 )
9 years ago
Bala FA
749a94f6c9
tests: Add tests for signature-jwt code ( #2169 )
...
Fixes #1989
9 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`.
9 years ago
Krishnan Parthasarathi
bef72f26db
xl: Make locking more granular for PutObjectPart requests ( #2168 )
9 years ago
Harshavardhana
ede4dd0f9c
server: update command should check for 3s from 1ms. ( #2175 )
...
Programmer error :-)
9 years ago
Bala FA
bfc59b7d50
tests: improve unit tests for xl-v1-metadata. ( #2172 )
...
Fixes #2124
9 years ago
Remco Verhoef
a162198623
implemented systemd script ( #2167 )
9 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
9 years ago
Harshavardhana
d676e660c9
API/CopyObject: If-None-Match should return Precondition failed. ( #2164 )
9 years ago
Krishna Srinivas
aa7079fc7b
XL/GetObject: If quorum not available during GetObject appropriate error should be returned. ( #2135 )
9 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
9 years ago