2016-05-02 20:42:01 -04:00
|
|
|
### file.json
|
2016-04-28 22:27:02 -04:00
|
|
|
|
2016-05-02 20:42:01 -04:00
|
|
|
``file.json`` is a special file captured and written by XL storage API layer
|
2016-05-14 05:47:16 -04:00
|
|
|
to interpret, manage and extract erasured data from multiple disks.
|
2016-04-28 22:27:02 -04:00
|
|
|
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"version": "1.0.0",
|
|
|
|
"stat": {
|
|
|
|
"size": 24256,
|
|
|
|
"modTime": "2016-04-28T00:11:37.843Z",
|
2016-05-02 20:42:01 -04:00
|
|
|
"delete": false,
|
2016-04-28 22:27:02 -04:00
|
|
|
"version": 0
|
|
|
|
},
|
|
|
|
"erasure": {
|
|
|
|
"data": 5,
|
|
|
|
"parity": 5,
|
|
|
|
"blockSize": 4194304
|
|
|
|
],
|
|
|
|
"minio": {
|
|
|
|
"release": "RELEASE.2016-04-28T00-09-47Z"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
#### JSON meaning.
|
|
|
|
|
|
|
|
- "version" // Version of the meta json file.
|
|
|
|
|
|
|
|
- "stat" // Stat value of written file.
|
|
|
|
|
|
|
|
- "size" // Size of the file.
|
|
|
|
- "modTime" // Modified time of the file.
|
2016-05-02 20:42:01 -04:00
|
|
|
- "deleted" // Field to track if the file is deleted when disks are down.
|
2016-04-28 22:27:02 -04:00
|
|
|
- "version" // File version tracked when disks are down.
|
|
|
|
|
|
|
|
- "erasure" // Erasure metadata for the written file.
|
|
|
|
|
|
|
|
- "data" // Data blocks parts of the file.
|
|
|
|
- "parity" // Parity blocks parts of the file.
|
|
|
|
- "blockSize" // BlockSize read/write chunk size.
|