Krishna Srinivas
8c85815106
xl: refactor functions to xl-v1-common.go xl-v1-utils.go. ( #1357 )
9 years ago
Krishna Srinivas
becc814531
Xl layer selfheal quorum2
...
* xl/selfheal: selfheal based on read quorum on GET
* xl: getReadableDisks() also returns whether self-heal is needed so that this info can be used by ReadFile/SelfHeal/StatFile.
* xl: trigger selfheal from StatFile.
9 years ago
Harshavardhana
9bd9441107
xl: Simplify reading metadata and add a new fileMetadata type. ( #1346 )
9 years ago
Harshavardhana
f3784d1087
xl: Handle read quorum for StatVol, ListVols
9 years ago
Harshavardhana
91588209fa
obj: Object api handle all errors in common location. ( #1343 )
9 years ago
Krishna Srinivas
5c33b68318
xl: code refactor, cleanup ReadFile and CreateFile.
9 years ago
Bala FA
45b3d3e21f
xl: add quorum support for create file
9 years ago
Harshavardhana
141a44bfbf
xl: Fix ReadFile to keep the order always for reading the data back. ( #1339 )
...
Also fixes a stackoverflow bug in namespace locking.
9 years ago
Harshavardhana
c7bf471c9e
list/xl: Fix the way marker is handled in leafDirectory verification.
9 years ago
Krishna Srinivas
c302875774
selfheal: implement self-heal. Heals the missing parts. ( #1335 )
9 years ago
Harshavardhana
b76f3f1d62
xl: Add more fixes and cleanup.
...
Simplify cleanup of temporary files during createFile operations.
9 years ago
Bala FA
ada0f82b9a
xl: add quorum support for read file and name space locking. ( #1333 )
9 years ago
Harshavardhana
a98a7fb1ad
Implement XL layer - preliminary work.
9 years ago
Harshavardhana
bf8a9702a4
tests: Fix a bug in TestObjectAPIIsUploadIDExists. ( #1375 )
...
The following code crashes when upload ID does not
exist, since we are setting err == nil when we find
err == errFileNotFound.
```
if e == nil {
t.Fatal(e.Error())
```
Fix it.
9 years ago
karthic rao
6e372f83b4
Tests: object api multipart tests and bug fixes.
9 years ago
Harshavardhana
e9fba04b36
logging: Enable logging across storage fs layer. ( #1367 )
...
Adds log.Debugf at all the layer - fixes #1074
9 years ago
Harshavardhana
d63d17012d
tests: Add API suite tests back for object api. ( #1352 )
9 years ago
Harshavardhana
444d1f8a65
miniobrowser: Vendorize to new changes in miniobrowser.
9 years ago
karthic rao
560c3bd153
Adding return statement after error response in the lastest commit to verify location constraint ( #1348 )
9 years ago
Harshavardhana
4cf73caf02
api: Add diskInfo as part of StatVol and ListVols. ( #1349 )
...
It is the bucket and volumes which needs to have this
value rather than the DiskInfo API itself. Eventually
this can be extended to show disk usage per
Buckets/Volumes whenever we have that functionality.
For now since buckets/volumes are thinly provisioned
this is the right approach.
9 years ago
Harshavardhana
1284ecc6f2
api: Fix verification of checkLeafDirectory. ( #1347 )
...
This fixes a problem where leaf directory has more than 1000
entries, also resulting in listing issues, leading to an infinite
loop.
Fixes #1334
9 years ago
karthic rao
cb1116725b
api: verify Location constraint for make bucket. ( #1342 )
9 years ago
koolhead17
c3d0a3d51e
Update README.md
...
Our community contributor bought this to our attention so we have to add region as well in s3cmd config file.
9 years ago
Harshavardhana
e0f8fed011
object: handle Error responses and handle errDiskFull. ( #1331 )
9 years ago
Harshavardhana
6bc17a3aea
server: Attempt to increase max open files. ( #1328 )
9 years ago
Dave Henderson
ff9a6b00cc
isContainerized should look for /.dockerenv not /.dockerinit
...
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
9 years ago
matt robinson
af907a35a9
add environment var to explicitly indicate containerized and allow running as root ( #1327 )
9 years ago
Harshavardhana
b47d722d8e
fs: Fix filtering out valid paths from previous #1321 fix ( #1323 )
...
Fixes #1324
9 years ago
Harshavardhana
33633fd15d
fs: Filter out valid paths and volnames. ( #1321 )
9 years ago
Harshavardhana
b2ec7da9f9
Merge pull request #1314 from minio/split-fs
...
Split fs code into storage layer and object layer.
9 years ago
Harshavardhana
be002ac01e
fs/object: Fix issues from review comments.
9 years ago
Krishna Srinivas
149c6ca094
listMultipart: bugfixes. ( #1318 )
9 years ago
Harshavardhana
8457af5708
fs: Add proper volume and path validation.
9 years ago
Krishna Srinivas
caa35f68fa
listMultipart: implement support for marker. ( #1313 )
9 years ago
Harshavardhana
30b0b4deba
storage/server/client: Enable storage server, enable client storage.
9 years ago
Krishna Srinivas
01a439f95b
refactor: add multipart code to the object layer.
9 years ago
Krishna Srinivas
3c48537f20
refactor: refactor code to separate fs into object-layer and fs layer. ( #1305 )
9 years ago
karthic rao
188bb92d8a
bucket-policy parset tests, and bug fixes ( #1317 )
9 years ago
Harshavardhana
6b3fc03701
docker: Update docker document
9 years ago
Harshavardhana
8112291d43
Add FreeBSD binary link and make a release
9 years ago
Harshavardhana
93666827f4
release: Add freebsd/amd64 build and remove zip, tgz. ( #1316 )
9 years ago
GarimaKapoor
ac30bef72a
Revised Docker.md ( #1311 )
9 years ago
Bala FA
bea6f33b08
backend/fs: remove timer channel from scanMultipartDir() ( #1310 )
...
Previously scanMultipartDir() returns object info channel and timer
channel where timer channel is used to check whether object info
channel is alive or not. This causes a race condition that timeout
may occur while object info channel in use.
This patch fixes the issue by removing timer channel and uses object
info channel directly where each object info has End bool field
indicates whether received object info is end or not.
9 years ago
Michael Werle
9fb1c79456
Improved Docker examples ( #1308 )
...
- Fixed a bug in the persistent docker command ("server" in place of "export")
- Added example of how to set consistent keys with ephemeral data, particularly useful for testing.
9 years ago
Harshavardhana
6b5699b15f
config: console logging should be enabled by default. ( #1307 )
9 years ago
Harshavardhana
33cd910d3a
backend/fs: More cleanup and start using checkBuckeArg. ( #1306 )
...
backend/fs: More cleanup and start using checkBucketArg.
9 years ago
Bala FA
6af761c86c
enhance multipart functions to use fsDirent ( #1304 )
...
* backend/fs: scanMulitpartDir returns directories only for recursive listing
* backend/fs: enhance multipart functions to use fsDirent
9 years ago
Matthew Buckett
bedd867c0b
The fs command doesn't work any more, using server
...
Also there's no /export/data folder which stops minio starting so using /export instead.
9 years ago
Harshavardhana
37330bda98
Merge pull request #1302 from harshavardhana/web-api
...
web: Change /rpc to /webrpc
9 years ago
Harshavardhana
8603185f2f
browser: Add new ui-assets.go
9 years ago