user.ID should be [20]byte #303

Closed
opened 2024-12-04 11:26:35 +00:00 by fyrchik · 2 comments
Owner

I suggest changing the struct layout.
struct { [20]byte } is also acceptable.

In this task:

  1. See how user.ID is mostly used in s3 and node.
  2. Change the implementaion if new representation doesn't introduce any problems on the hot path.
I suggest changing the struct layout. `struct { [20]byte }` is also acceptable. In this task: 1. See how `user.ID` is mostly used in s3 and node. 2. Change the implementaion if new representation doesn't introduce any problems on the hot path.
fyrchik added the
refactoring
internal
labels 2024-12-04 11:27:02 +00:00
Author
Owner

Consider using type ID util.Uint160 instead.

Consider using `type ID util.Uint160` instead.
fyrchik added the
good first issue
label 2024-12-10 08:14:58 +00:00
elebedeva was assigned by fyrchik 2024-12-27 12:19:06 +00:00
Author
Owner

Closed via #323

Closed via #323
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-sdk-go#303
No description provided.