docs: Move developer docs from top-level to its own directory. (#1642)
parent
025054fb36
commit
74c23a3544
@ -1,10 +0,0 @@ |
|||||||
## Multipart backend format |
|
||||||
|
|
||||||
When multipart upload is used for objects, below meta-data/staging files are created |
|
||||||
|
|
||||||
- New multipart upload call creates file ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.uploadid``` |
|
||||||
- Put object part call creates file ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.PART_NUMBER.MD5SUM_STRING``` |
|
||||||
- Abort multipart call removes all files matching ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.*``` |
|
||||||
- Complete multipart call does |
|
||||||
1. Create a staging file ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.complete.TEMP_NAME``` then rename to ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.complete``` |
|
||||||
2. Rename staging file ```EXPORT_DIR/.minio/BUCKET/PATH/TO/OBJECT/UPLOAD_ID.complete``` to ```EXPORT_DIR/BUCKET/PATH/TO/OBJECT``` |
|
@ -0,0 +1,33 @@ |
|||||||
|
## Multipart |
||||||
|
|
||||||
|
Each incoming part is uploaded in the following format. |
||||||
|
|
||||||
|
Placeholder uploads.json to indicate a leaf. |
||||||
|
|
||||||
|
```EXPORT_DIR/.minio/multipart/BUCKET/PATH/TO/OBJECT/uploads.json``` |
||||||
|
|
||||||
|
Incomplete file |
||||||
|
|
||||||
|
```EXPORT_DIR/.minio/multipart/BUCKET/PATH/TO/OBJECT/UPLOADID/00000.incomplete``` |
||||||
|
|
||||||
|
Actual parts |
||||||
|
|
||||||
|
```EXPORT_DIR/.minio/multipart/BUCKET/PATH/TO/OBJECT/UPLOADID/PART_NUMBER.MD5SUM_STRING``` |
||||||
|
|
||||||
|
## FS Format. |
||||||
|
|
||||||
|
Each of these parts are concatenated back to a single contigous file. |
||||||
|
|
||||||
|
```EXPORT_DIR/BUCKET/PATH/TO/OBJECT``` |
||||||
|
|
||||||
|
## XL Format. |
||||||
|
|
||||||
|
Each of these parts are kept as is in the following format. |
||||||
|
|
||||||
|
Special json file indicate the metata multipart information, essentially list of parts etc. |
||||||
|
|
||||||
|
```EXPORT_DIR/BUCKET/PATH/TO/OBJECT/00000.minio.multipart``` |
||||||
|
|
||||||
|
All the parts that were uploaded. |
||||||
|
|
||||||
|
```EXPORT_DIR/BUCKET/PATH/TO/OBJECT/PART_NUMBER.minio.multipart``` |
@ -1,7 +1,7 @@ |
|||||||
### file.json |
### file.json |
||||||
|
|
||||||
``file.json`` is a special file captured and written by XL storage API layer |
``file.json`` is a special file captured and written by XL storage API layer |
||||||
to interpret, manage and extract erasured data to multiple disks. |
to interpret, manage and extract erasured data from multiple disks. |
||||||
|
|
||||||
```json |
```json |
||||||
{ |
{ |
Loading…
Reference in new issue