Harshavardhana
e1e4908515
Wire up sha512 matching inside donut along with md5sum
10 years ago
Harshavardhana
e885259584
Handle removal of disks - getObject() now reads if disks are missing underneath, add initial stub healing code
10 years ago
Harshavardhana
da8b9fd112
Remove global custom config path variables, use get/set methods instead
10 years ago
Harshavardhana
c4cf7635bf
Read req.Body for PutBucket() if any
10 years ago
Harshavardhana
45ddec925c
Fix an ugly multipart bug
10 years ago
Harshavardhana
7ae60a6d10
For missing parts reply back as InvalidPart{}
10 years ago
Harshavardhana
634f70f3b0
WriteObject() encoded data in go routine, fix another multipart issue
10 years ago
Nate Rosenblum
ec347f96fd
Fix OS X build
...
- Explicitly cast statfs_t members to int64 (this structure is
platform-specific)
- Add pass-through New methods to Darwin SHA package
- Move scsi pkg types to common translation unit (package was empty)
- Add stub implementations mount/disk ops for OS X
10 years ago
Harshavardhana
55e4d0c6a5
mkdonut now creates a donut processing cli args
10 years ago
Harshavardhana
97d4a27c7e
Do not reply on ignoredHeaders for server, rely on SignedHeaders sent as part of Authorization header
10 years ago
Harshavardhana
53f5d2c32b
nodejs http library sends Connection header during HTTP request, this clobbers up the signature handling ignore it
10 years ago
Harshavardhana
29838bb851
Cleanup temporary writers upon errors during putObject(), all metadata() write operations
10 years ago
Harshavardhana
15dd0df187
Support signature v4 at rest
10 years ago
Harshavardhana
e5006c738d
Handle both space and non-space characters, in signature v4 - add errors for all API's
10 years ago
Harshavardhana
84f427f14a
All other API's now support signature v4
10 years ago
Harshavardhana
00890c254e
CompleteMultipartUpload and CreateObjectPart now fully support signature v4
10 years ago
Harshavardhana
89c1215194
PutObject handler gets initial support for signature v4, working
10 years ago
Harshavardhana
375860077d
HTTP header Content-Length signifies body length of the request, if its smaller reply appropriately
...
This patch also handles large individual part sizes > 5MB by using less memory copies.
10 years ago
Harshavardhana
ec33d79d57
Add server side signaturev4 check, not wired up to the readers yet.
10 years ago
Harshavardhana
d1deda3a96
Add API tests for both donut on disk and donut cache
10 years ago
Harshavardhana
8abb96c030
If NodeDisks are not empty do not impose cache maxSize restriction
10 years ago
Harshavardhana
11b893804c
Moving os.MkdirAll() inside atomic for auto parent directory creates
10 years ago
Harshavardhana
52cd23ad9f
Move atomic file writes into its own package, use them inside quick and disk packages
10 years ago
Harshavardhana
3622fbc87d
Across donut, split, nimble some code cleanup
10 years ago
Harshavardhana
bbb89b5776
Add multi-thread protection and also allow atomic file creates, rename upon Close()
10 years ago
Harshavardhana
b029d0a5f0
Avoid config reload all the time, reload is manually triggerred from outside
10 years ago
Harshavardhana
8b94c53345
Fix issues with multipart upload
10 years ago
Harshavardhana
1d64e4b6c1
Add Donut rpc service for sending changes to configuration files
10 years ago
Harshavardhana
10b082144e
Add updateConfig code to load config changes if possible for every function
10 years ago
Harshavardhana
4a27ab0e58
Fix another deadlock inside CreateObjectPart() code, premature return without Unlocking()
...
Also this patch changes the cache key element to be interface{} type not string.
10 years ago
Harshavardhana
bab4a47525
Move to container/list datastructure from map[string][]byte
10 years ago
Harshavardhana
0a827305ad
Implement metadata cache, metadata cache is used by top level donut right now. Rename trove as data cache
...
We should use it internally everywhere.
10 years ago
Harshavardhana
14844f48dd
Make donut do everything as an atomic operation, this avoids all the deadlocks and races
10 years ago
Harshavardhana
30fc14e703
Restructure codebase move crypto, checksum to top-level, move ``split`` into donut, move crypto/keys into api/auth
10 years ago
Harshavardhana
8a4e7bcdcf
Add full API tests, move storage/donut to donut, add disk tests as well
10 years ago