Harshavardhana
0474439b43
Code restructuring, assigning proper subsystems to each
...
- Drivers contain
* donut/*
* file/*
* memory/*
- Storage format contains
* donut/*
- GetObject() --> renamed to GetObjectReader()
- Deleted stale objectwriter.go, renamed donutwriter.go to object_writer.go
Simplifying, and documenting codebase further
10 years ago
Frederick F. Kautz IV
3c4012f1e7
Adding donut backend and setting as default
10 years ago
Harshavardhana
914962bd93
Implement log package as drop-in replacement for handling Debug log-level
10 years ago
Frederick F. Kautz IV
f91f5e59ee
Running gofmt manually, auto gofmt didn't simplify code
10 years ago
Frederick F. Kautz IV
56a298fd6a
Refactoring method variable names for erasureWriter struct
10 years ago
Frederick F. Kautz IV
d57e9d6c18
Adding sys. as reserved in erasureWriter
10 years ago
Frederick F. Kautz IV
b2f47ef446
Switching content hashing from sha512 to md5
10 years ago
Frederick F. Kautz IV
b2c3172095
Adding sha512 support for pre-encoded data and verification on decode
10 years ago
Frederick F. Kautz IV
befac7d047
Exorcising donutbox
10 years ago
Frederick F. Kautz IV
eb8005cc65
Reading correct block size in erasure coded data
10 years ago
Harshavardhana
3929135c34
Make sure we use O_EXCL with O_CREATE to make sure we don't trip over existing file
10 years ago
Harshavardhana
2fa9320df2
De-couple donut into smaller files, useful for ease in external integration
10 years ago
Frederick F. Kautz IV
55f3659bb3
Removing log tracers
10 years ago
Frederick F. Kautz IV
03f51eac29
Adding list objects to donut
10 years ago
Harshavardhana
4b9fbd3b3a
DonutfileWriter should return value of file.Close()
10 years ago
Frederick F. Kautz IV
ced6edc9fe
Minor change, removing unnecessary commented method
10 years ago
Frederick F. Kautz IV
99cf484488
Adding GetObjectMetadata to donut
10 years ago
Frederick F. Kautz IV
703af6c3ce
Removing gob from donut driver
10 years ago
Harshavardhana
95affcb119
Fix build issues for new DonutDriver()
10 years ago
Frederick F. Kautz IV
933d44c656
New donut driver with local file encoding
10 years ago
Harshavardhana
2b0b5f014a
Update license header Mini should be Minimalist really
10 years ago
Harshavardhana
c3602967ab
Fix bucketpolicy to handle s3 and minio policy names separately.
...
Also fix an apparent bug in GetBucketPolicy{}
10 years ago
Frederick F. Kautz IV
2c69433588
Adding interfaces for donut driver
10 years ago
Frederick F. Kautz IV
bf86e78714
Renaming files to match
10 years ago
Frederick F. Kautz IV
1c9e550ee6
Renaming encoded driver to donutstorage
10 years ago
Frederick F. Kautz IV
d6be8d3517
Removing block size from donut writer, no longer necessary
10 years ago
Harshavardhana
74b3d092f2
Now MinioAPI handles Content-MD5 set during putObject()
...
- This change also facilitates proper error response
in case of md5 mismatch or corruption
- TODO a test function needs to be implemented
10 years ago
Harshavardhana
dccf32e5c4
Remove contenttype pseudo func()
10 years ago
Frederick F. Kautz IV
90b337a3e8
Fixing order of input and layout in time.Parse
10 years ago
Frederick F. Kautz IV
25725c442a
Moving to more accurate RFC3339
10 years ago
Frederick F. Kautz IV
e36fa95f1f
Moving from iso8601 to RFC3339
10 years ago
Frederick F. Kautz IV
598eb5192e
Encoded now passes tests, enabling.
10 years ago
Harshavardhana
6d71935ea5
Encoded storage type now feature complete
10 years ago
Frederick F. Kautz IV
34cf6682fe
list objects in buckets
10 years ago
Harshavardhana
b495f15178
Make blockSize as constant
10 years ago
Frederick F. Kautz IV
583c32c774
Metadata now stores hex md5, not base64. Minio API now converts md5 hex to base64.
10 years ago
Frederick F. Kautz IV
10ae089c46
Better handling of metadata in encoded
10 years ago
Harshavardhana
15f68972a5
Some necessary cleanup
...
- Rename 'fs' as 'file' for brevity
- Rename 'inmemory' as 'memory' for brevity
- Change everywhere else
10 years ago
Harshavardhana
596eeb097e
Move from fmt.Errorf to errors.New
...
In many cases fmt.Errorf is good enough, but since
error is an interface, you can use arbitrary data
structures as error values, to allow callers to
inspect the details of the error.
10 years ago
Frederick F. Kautz IV
a589ddaddf
Decoding and returning objects now works
10 years ago
Frederick F. Kautz IV
682bf085c4
Metadata and writing the object are now both committed together.
10 years ago
Frederick F. Kautz IV
96d0a089b8
Adding create bucket to encoded
10 years ago
Harshavardhana
3f95c55067
Skip uinimplemented tests and some cleanup
10 years ago
Frederick F. Kautz IV
3e453a394a
Working in memory donut driver
10 years ago
Frederick F. Kautz IV
85da9fc627
Adding start of inmem donut
10 years ago
Frederick F. Kautz IV
54472c18fe
Renaming singledisk to encoded
10 years ago
Frederick F. Kautz IV
348c4d9a88
Removing old donut format
10 years ago
Frederick F. Kautz IV
2f4b92eb8d
Minor refactor to prepare for file version of donut
10 years ago
Harshavardhana
f7fd526b28
Cosmetic changes
10 years ago
Frederick F. Kautz IV
94fe03cfc1
More refactoring to meet new donut spec
10 years ago