Support erasure coding #41

Merged
fyrchik merged 1 commit from fyrchik/frostfs-api:erasure-code into master 2024-09-04 19:51:11 +00:00
Owner
No description provided.
fyrchik force-pushed erasure-code from c91cdc13a5 to f0d7fba8cc 2024-03-14 07:13:31 +00:00 Compare
fyrchik requested review from storage-core-committers 2024-03-14 07:13:39 +00:00
fyrchik requested review from storage-core-developers 2024-03-14 07:13:47 +00:00
acid-ant reviewed 2024-03-14 07:45:08 +00:00
@ -680,1 +686,4 @@
SplitInfo split_info = 2;
// Meta information for EC object assembly.
ECInfo ec_info = 4;
Member

4 here used intentionally?

`4` here used intentionally?
Author
Owner

Hm, no, probably because of some intermediate refactoring, will fix.

Hm, no, probably because of some intermediate refactoring, will fix.
Author
Owner

Fixed

Fixed
Author
Owner

It was copypaste -- in other methods split_info is 3, so ec_info was 4.

It was copypaste -- in other methods `split_info` is 3, so `ec_info` was 4.
acid-ant approved these changes 2024-03-14 07:50:33 +00:00
fyrchik force-pushed erasure-code from f0d7fba8cc to f3ecfefff4 2024-03-14 07:56:39 +00:00 Compare
acid-ant approved these changes 2024-03-14 08:25:50 +00:00
aarifullin approved these changes 2024-03-18 11:08:41 +00:00
dstepanov-yadro requested changes 2024-03-18 12:09:24 +00:00
@ -196,0 +205,4 @@
// Total number of chunks in this split.
uint32 total = 3 [ json_name = "total" ];
// Total length of a parent header. Used to trim padding zeroes.
uint32 header_length = 4 [ json_name = "header_length" ];

Why here json_name is in snake case uint32 header_length = 4 [ json_name = "header_length" ]; ?
But here uint32 ec_data_count = 6 [ json_name = "ecDataCount" ]; is camel case?

Why here json_name is in snake case ` uint32 header_length = 4 [ json_name = "header_length" ];` ? But here ` uint32 ec_data_count = 6 [ json_name = "ecDataCount" ];` is camel case?
Author
Owner

header_length is my habit, ecDataCount is what we use in this repo
Fixed.

`header_length` is my habit, `ecDataCount` is what we use in this repo Fixed.
fyrchik force-pushed erasure-code from f3ecfefff4 to 46dd3885d2 2024-03-18 12:41:51 +00:00 Compare
dstepanov-yadro approved these changes 2024-03-18 12:42:51 +00:00
achuprov approved these changes 2024-03-18 13:07:16 +00:00
acid-ant approved these changes 2024-03-18 14:29:31 +00:00
fyrchik merged commit 46dd3885d2 into master 2024-03-19 06:54:07 +00:00
fyrchik deleted branch erasure-code 2024-03-19 06:54:08 +00:00
fyrchik referenced this pull request from a commit 2024-03-19 06:54:09 +00:00
fyrchik referenced this pull request from a commit 2024-03-19 06:54:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
5 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-api#41
No description provided.