[#121] client: Make PrmObjectHash fields public #156

Merged
fyrchik merged 1 commits from aarifullin/frostfs-sdk-go:feature/121-prm_object_hash into master 2023-09-08 13:36:47 +00:00
Collaborator
  • Introduce buildRequest for PrmObjectHash

Signed-off-by: Airat Arifullin a.arifullin@yadro.com

* Introduce buildRequest for PrmObjectHash Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
aarifullin added the
refactoring
label 2023-09-04 09:45:31 +00:00
aarifullin requested review from storage-core-committers 2023-09-04 09:45:44 +00:00
aarifullin requested review from storage-core-developers 2023-09-04 09:45:45 +00:00
aarifullin requested review from storage-services-committers 2023-09-04 09:45:47 +00:00
aarifullin requested review from storage-services-developers 2023-09-04 09:45:53 +00:00
aarifullin force-pushed feature/121-prm_object_hash from 3c95ad6f97 to 40dcfa8331 2023-09-04 09:58:27 +00:00 Compare
acid-ant approved these changes 2023-09-04 10:26:57 +00:00
aarifullin force-pushed feature/121-prm_object_hash from 40dcfa8331 to f67d526d01 2023-09-04 10:49:30 +00:00 Compare
aarifullin requested review from acid-ant 2023-09-04 10:49:37 +00:00
aarifullin force-pushed feature/121-prm_object_hash from f67d526d01 to 0f7c47d26f 2023-09-04 13:19:18 +00:00 Compare
fyrchik reviewed 2023-09-04 14:15:23 +00:00
@ -22,0 +24,4 @@
Length uint64
}
type ChecksumType v2refs.ChecksumType

This doesn't seem to be related to the refactoring, does it?

This doesn't seem to be related to the refactoring, does it?
Poster
Collaborator

You are right. But I think PrmObjectHash should not have v2refs field. That's why I have introduced this type (the field was initialized with TillichZemorAlgo() method)

You are right. But I think `PrmObjectHash` should not have `v2refs` field. That's why I have introduced this type (the field was initialized with `TillichZemorAlgo()` method)

How about checksum package in this repo?
We also have object.Range already.

How about `checksum` package in this repo? We also have `object.Range` already.
Poster
Collaborator

Alright. I will reuse Range and Checksum

Alright. I will reuse Range and Checksum
Poster
Collaborator

Fixed

Fixed
aarifullin force-pushed feature/121-prm_object_hash from 0f7c47d26f to 8a5f96b018 2023-09-05 13:40:44 +00:00 Compare
fyrchik approved these changes 2023-09-06 07:42:24 +00:00
fyrchik approved these changes 2023-09-08 13:36:37 +00:00
fyrchik merged commit aa12d8c6a6 into master 2023-09-08 13:36:47 +00:00
Sign in to join this conversation.
No reviewers
TrueCloudLab/storage-core-developers
TrueCloudLab/storage-services-committers
TrueCloudLab/storage-services-developers
No Milestone
No Assignees
3 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-sdk-go#156
There is no content yet.