Aditya Manthramurthy
32f097b4d6
Controller rpc tests ( #2709 )
...
* Test code for controller-handler operations:
* Heal operations
* List operation
* Switch to "testing" lib, moving away from gocheck
* Minor refactors
* Remove extra call to initGracefulShutdown
* Remove dead code in mainControl:
Dead code found by the TestControlMain() test function that always
passes.
* Add tests for control-*-main.go
8 years ago
Krishnan Parthasarathi
559ad38b8c
Add bucket-notification-handler tests ( #2750 )
8 years ago
Anis Elleuch
90417d2dd6
Check for bucket existence in Set/Get/Remove bucket policy workflow + tests ( #2745 )
8 years ago
Anis Elleuch
e66fb4bd7b
configMigrate() returns errors + tests ( #2735 )
8 years ago
Harshavardhana
018c90dae7
events: ElasticSearch doesnt support objects with '/' in them. ( #2747 )
...
Fix this by using a unique sha256 generated for each unique key.
8 years ago
Anis Elleuch
a5066e8f76
Better code coverage of handler-utils.go ( #2746 )
8 years ago
Harshavardhana
0a3448c8b6
events: Change event notifiers to delete and update keys. ( #2742 )
...
ElasticSearch and Redis are both treated like a database.
Each indexs are based on the object names uniquely indentifying
the event. Upon each delete event of the named object deletes
the index on elasticsearch and redis respectively.
8 years ago
Harshavardhana
c4964232eb
config: Fail to start for config mistakes. ( #2740 )
8 years ago
Harshavardhana
ef3c807b4a
policies: Parser should handle Principals with various forms. ( #2733 )
...
Handles cases for these three combinations
- "Principal": "*",
- "Principal": { "AWS" : "*" }
- "Principal": { "AWS" : [ "*" ]}
Fixes #2732
8 years ago
Harshavardhana
113b93346b
lock: Make some cleanup and moving the code around. ( #2718 )
...
This patch just avoids lot of ifs and inverts some logic.
8 years ago
Krishna Srinivas
a955676986
Signature-V4: Dump the request with error message on signature mismatch. ( #2734 )
...
fixes #2691
8 years ago
Harshavardhana
725df557b5
tests: Add tests for bucket-notification-utils ( #2726 )
...
Part - 2 final fix #2711
8 years ago
koolhead17
250ac644d6
docs: Modified README.md with alias addition and bucket creation steps. ( #2725 )
8 years ago
Harshavardhana
490056eee3
tests: Add tests for bucket-notification-utils ( #2723 )
...
Part fix - 1 for #2711
8 years ago
Harshavardhana
797d749322
tests: Add tests for filterRuleMatch ( #2722 )
...
Part-1 fix for #2418
8 years ago
Harshavardhana
79888bfff7
tests: Add auth-handler. ( #2721 )
...
Fixes #2658
8 years ago
koolhead17
6ca57e81f1
docs: Fixed markdown typo in README.md. ( #2720 )
8 years ago
Anis Elleuch
010f61e91f
Add more tests for event-notifier code ( #2716 )
8 years ago
Harshavardhana
9216981262
tests: Add test for diskCount. ( #2717 )
...
Fixes #2312
8 years ago
Anis Elleuch
b89a1cd482
tests: Implemented more tests for fs-v1*.go ( #2686 )
8 years ago
Harshavardhana
7d37dea449
tests: Add more streaming signature tests. ( #2713 )
...
Part fix for #2621
8 years ago
Frank
df2ef64d20
Upgrade to new dsync version incl. stale lock detection ( #2708 )
8 years ago
Anis Elleuch
7a549096de
XL and FS use different tree walk ignored errors ( #2707 )
8 years ago
Harshavardhana
a1ff351f21
tests: Fix ListMultipartUploadsHandler tests. ( #2705 )
8 years ago
Harshavardhana
03430d0db8
tests: Add ListBucketHandler tests. ( #2701 )
...
part-3 final fix for #2412
8 years ago
Anis Elleuch
6f73d597e0
Fix tracing twice an error in fs Complete Multipart Upload ( #2703 )
8 years ago
koolhead17
e273a40345
docs: Modified README.md by providing information about Minio server ( #2704 )
...
data directory.
8 years ago
Anis Elleuch
a84548d7ea
Fix FS remove bucket regression bug ( #2693 )
8 years ago
Kartik Lunkad
19e01ceb19
QuickStart docs for Minio Server Setup needs update #2698 ( #2700 )
8 years ago
Harshavardhana
1e6d67b16d
server: Remove deadcode. ( #2699 )
8 years ago
Aditya Manthramurthy
6533927237
Lock-free rate-limit algorithm + bug-fix ( #2694 )
8 years ago
Harshavardhana
da9ae574df
server: We should fail properly during server startup. ( #2689 )
...
Fixes #2688
8 years ago
Harshavardhana
16e4a7c200
Merge pull request #2657 from minio/distributed
...
Distributed XL support
8 years ago
Harshavardhana
ee7e70c992
tests: Add tests for ListMultipartUploads, DeleteMultipleObjects. ( #2649 )
...
Additionally adds PostPolicyHandler tests.
8 years ago
Krishna Srinivas
54a9f59a13
Init: Print SQS ARNs after globalEventNotifier is inited. ( #2682 )
...
fixes #2681
8 years ago
Harshavardhana
e6fd664331
tests: Fix format-config tests.
8 years ago
Karthic Rao
b247ec9352
tests: refactor object-handler tests. ( #2656 )
...
- Move the initialization to a common executor for object Layer API
tests.d
8 years ago
Harshavardhana
43befab8ef
Change distributed server wording.
8 years ago
Harshavardhana
eae0281c64
tests: Add GetBucketLocation, HeadBucket tests. ( #2644 )
8 years ago
Karthic Rao
8bd78fbdfb
performance: gjson parsing for readXLMeta, listParts, getObjectInfo. ( #2631 )
...
- Using gjson for constructing xlMetaV1{} in realXLMeta.
- Test for parsing constructing xlMetaV1{} using gjson.
- Changes made since benchmarks showed 30-40% improvement in speed.
- Follow up comments in issue https://github.com/minio/minio/issues/2208
for more details.
- gjson parsing of parts from xl.json for listParts.
- gjson parsing of statInfo from xl.json for getObjectInfo.
- Vendorizing gjson dependency.
8 years ago
Krishnan Parthasarathi
66459a4ce0
Add unit-tests for formatting disks during initialization ( #2635 )
...
* Add unit-tests for formatting disks during initialization
- Fixed corresponding code at places where it was deviating from the
tabular spec.
* Added more test cases and simplified algo
... based on feedback from ``go test -coverprofile``.
8 years ago
Harshavardhana
182109f0de
xl: Heal `format.json` properly on fresh disks.
8 years ago
Harshavardhana
9998e9ea19
api: Response timeFormat do not need to have nano-second precision.
...
Fixes an error reported by s3verify.
8 years ago
Harshavardhana
ba2ba328da
server: Fixes for various conditions
...
- Fix distributed branch to be able to run FS version.
- Fix distributed branch to be able to run XL local disks.
- Ignore initialization failures of notification and bucket
policies, the codepath should load whatever is possible.
8 years ago
Anis Elleuch
67b8080144
Fix control lock rpc name in control lock cmd ( #2627 )
8 years ago
Anis Elleuch
239a34ca97
Add tests for regular and streaming v4 PutObject Handler ( #2618 )
8 years ago
Krishna Srinivas
81d8263ae2
binary-update: Do not fetch update info for minio binary compiled from source.
...
fixes #2494
8 years ago
Krishna Srinivas
b4e4846e9f
PutObject: object layer now returns ObjectInfo instead of md5sum to avoid extra GetObjectInfo call. ( #2599 )
...
From the S3 layer after PutObject we were calling GetObjectInfo for bucket notification. This can
be avoided if PutObjectInfo returns ObjectInfo.
fixes #2567
8 years ago
Krishna Srinivas
92e49eab5a
FS/Multipart: Do not rename append files to another tmp file as the append files are already in tmp location. ( #2612 )
8 years ago
Harshavardhana
c4a7b950a0
fs: Fix asynchronous multipart bug.
...
Construct part path properly.
8 years ago