2511f4ca70
[ #40 ] types: Generate StableMarshaler/StableSize methods for protobufs
...
Tests and linters / Tests (1.19) (pull_request) Successful in 1m39s
Tests and linters / Lint (pull_request) Successful in 1m46s
Tests and linters / Tests with -race (pull_request) Successful in 3m12s
Tests and linters / Tests (1.20) (pull_request) Successful in 7m6s
* Add plugin option for protogen in Makefile
* Fix the generator for the plugin in util/protogen
* Erase convertable types, move helpful methods to gRPC protobufs
* Erase helpers for convertations
* Generate StableMarshlal/StableSize for protobufs by the protoc plugin
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-07-10 15:29:21 +03:00
285516a94e
[ #45 ] api-go: Add PutSingle RPC call
...
Tests and linters / Tests (1.19) (pull_request) Successful in 52s
Tests and linters / Lint (pull_request) Successful in 1m56s
Tests and linters / Tests with -race (pull_request) Successful in 3m4s
Tests and linters / Tests (1.20) (pull_request) Successful in 4m35s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-04 12:27:42 +03:00
d5b55d0926
[ #45 ] api-go: Add PutSingle response wrappers
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-04 12:27:42 +03:00
2cb57a8835
[ #45 ] api-go: Add PutSingle request wrappers
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-04 12:27:42 +03:00
b17995a238
[ #45 ] api-go: Add Object.PutSingle implementation
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-07-04 12:27:42 +03:00
3add88d435
[ #44 ] netmap: Fix ineffassign linter warning
...
Tests and linters / Tests (1.20) (pull_request) Successful in 50s
Tests and linters / Lint (pull_request) Successful in 3m1s
Tests and linters / Tests (1.19) (pull_request) Successful in 4m58s
Tests and linters / Tests with -race (pull_request) Successful in 5m56s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-06-29 11:26:49 +03:00
29b2078245
[ #44 ] .forgejo: Add build/test workflows
...
Tests and linters / Tests (1.19) (pull_request) Successful in 1m39s
Tests and linters / Tests (1.20) (pull_request) Successful in 2m0s
Tests and linters / Tests with -race (pull_request) Successful in 1m36s
Tests and linters / Lint (pull_request) Failing after 9m31s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-06-29 11:05:41 +03:00
e9d67aa1b2
[ #31 ] netmap: Add unique field marshaling for PlacementPolicy
...
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-06-14 13:02:50 +00:00
68021b910a
[ #38 ] signature: Increase pool max object size
...
According to the results of profiling, objects with a size of 72KB
are mainly allocated.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-06-02 17:27:16 +03:00
62edd68f47
[ #36 ] tracing: Drop tracing pkg
...
Tracing will be moved to frostfs-observability repo.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-05-31 11:40:46 +00:00
8266b31092
[ #26 ] netmap: Add NOT and UNIQUE keywords
...
* Regenerate types.pb.go for netmap grpc
* Add unique flag to PlacementPolicy struct
Signed-off-by: Airat Arifullin a.arifullin@yadro.com
2023-05-31 12:06:25 +03:00
0c67b8fefa
[ #34 ] tracing: use atomic.Pointer
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-19 14:40:17 +03:00
33445c6810
[ #33 ] go.mod: move to go1.19
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-19 14:26:02 +03:00
eba07dee0c
[ #33 ] go.mod: Update dependencies
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-19 08:45:01 +00:00
a3e8e0c00c
[ #32 ] client: drop keepalive options
...
Node doesn't use any specific settings, these setting should be provided
by the caller.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-18 17:30:35 +03:00
a3a5046ecc
[ #28 ] Replace interface{} with any
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2023-05-15 17:25:04 +03:00
e9e7901f67
[ #27 ] util/proto: Fix staticcheck warning
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
2aa3ee46e7
[ #27 ] util/signature: Fix staticcheck warning
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
a6e2ab3845
[ #27 ] *: Add linter exceptions
...
Each of these is not easy to do, so add an exeption for now.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
1cab39337e
[ #27 ] object: Resolve funlen linter warnings
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
63915bb7a5
[ #27 ] *: Resolve godot linter warnings
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
d2b7fd3682
[ #27 ] .golanci.yml: Unify with other repos
...
Leave specific excepcions in place.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
e297616a48
[ #27 ] *: Resolve unused linter warnings
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-05-03 14:15:56 +03:00
ff6d8db741
[ #19 ] subnet: Drop related types and fields
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-18 13:29:50 +03:00
bd44a3f47b
[ #24 ] tracing: Fix panic on closed channel
...
Closed channel is also ready for communication, so select
statement can write to it.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-18 08:08:22 +00:00
Pavel Karpy
d9347a05f0
[ #21 ] *: Drop reputation system
...
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-04-17 15:46:52 +03:00
b3ccd0166f
[ #17 ] acl: Add impersonate flag to bearer token
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-04-13 12:06:14 +03:00
5f318f0b75
Revert "Revert "[ #16 ] container, object: Regenerate service comments""
...
This reverts commit b02ec516e72fbc9030d6dc71f956e23ac93c54da.
2023-04-11 11:07:13 +03:00
3b938873cc
Revert "Revert "[ #16 ] object: Allow set copy_number
for every placement vector""
...
This reverts commit 4a34188c9ef4b7404e1abaac5f72d1c302d322e7.
2023-04-11 11:07:13 +03:00
84dc99a045
Release v2.15.0
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-04-11 11:07:13 +03:00
dbcd514748
Revert "[ #16 ] object: Allow set copy_number
for every placement vector"
...
This reverts commit e022a2b831
.
2023-04-11 11:06:08 +03:00
d9c5b9c90e
Revert "[ #16 ] container, object: Regenerate service comments"
...
This reverts commit e6522d62a8
.
2023-04-11 11:06:08 +03:00
a4e361a2e6
[ #12 ] changelog: Add info about tracing
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-11 10:55:42 +03:00
488ee50f9e
[ #12 ] tracing: Add gRPC middleware
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-11 10:55:42 +03:00
816628d37d
[ #12 ] tracing: Add tracing package
...
Add tracing config, implementation and setup
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-11 10:55:42 +03:00
3a7280968b
[ #12 ] tracing: Add tracing dependencies
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-04-10 15:58:37 +03:00
Pavel Karpy
e6522d62a8
[ #16 ] container, object: Regenerate service comments
...
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-04-07 15:32:05 +03:00
Pavel Karpy
e022a2b831
[ #16 ] object: Allow set copy_number
for every placement vector
...
Signed-off-by: Pavel Karpy <p.karpy@yadro.com>
2023-04-07 15:30:11 +03:00
29a562da0e
[ #15 ] .gitlint: Synchronize settings across FrostFS repos
...
This change allows to use `[#xx]` placeholders for issue number.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-03-24 22:07:05 +03:00
ee64c0cd51
[ #14 ] Add Issue Template
...
Add bug reposrt and feature request templates
Signed-off-by: Liza <e.chichindaeva@yadro.com>
2023-03-23 12:19:35 +03:00
9dc3753467
[ #13 ] *: Rename __FROSTFS__ prefix to __SYSTEM__
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-15 12:52:36 +03:00
8009022a20
[ #13 ] *: Regenerate api
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-15 12:52:28 +03:00
cd2e46a17c
[ #10 ] Add __FROSTFS__ system attributes
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-13 09:59:22 +03:00
c46cd37f71
[ #10 ] Generate api
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-03-13 09:59:22 +03:00
ec0d0274fa
[ #3 ] signature: Add buffer pool
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00
73fde0e37c
[ #3 ] signature: Verify parts in parallel
...
Verify request/response parts in parallel
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00
611f73ad0f
[ #3 ] signature: Sign parts in parallel
...
Sign request/response parts in parallel
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00
e073c996fc
[ #3 ] signature: Add benchmarks
...
Add benchmarks for sign and verify methods
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00
d005bf0393
[ #3 ] signature: Refactor sign and verify
...
Split methods to separate files, drop redundant intefaces
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00
63eb4dc3ea
[ #3 ] api-go: Go version up
...
Update go version 1.17 -> 1.18
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-03-10 13:36:26 +03:00