Unmarshal only header #66

Open
opened 2024-03-06 07:58:14 +00:00 by fyrchik · 1 comment
Owner

In some cases we might want to unmarshal only header, usecases:

  1. Serving head in degraded mode
  2. Refilling the metabase
https://git.frostfs.info/TrueCloudLab/frostfs-api/src/commit/188f580e469c9fafc603a1ff3c54933e7cf8b820/object/types.proto#L204 In some cases we might want to unmarshal only header, usecases: 1. Serving head in degraded mode 2. Refilling the metabase
Author
Owner

We might need to introduce a separate type in API or perform some tricks.
Note that this is a hard task to do cleanly and it won't be supported in the protobuf https://github.com/golang/protobuf/issues/839

We might need to introduce a separate type in API or perform some tricks. Note that this is a hard task to do cleanly and it won't be supported in the protobuf https://github.com/golang/protobuf/issues/839
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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-go#66
No description provided.