397aa8a64a
[ #9999 ] shard: Resolve linters
...
Pre-commit hooks / Pre-commit (pull_request) Successful in 6m6s
Vulncheck / Vulncheck (pull_request) Successful in 5m37s
DCO action / DCO (pull_request) Successful in 7m7s
Tests and linters / gopls check (pull_request) Failing after 8m2s
Build / Build Components (1.21) (pull_request) Successful in 7m56s
Build / Build Components (1.22) (pull_request) Successful in 8m4s
Tests and linters / Staticcheck (pull_request) Successful in 10m5s
Tests and linters / Lint (pull_request) Successful in 10m26s
Tests and linters / Tests (1.21) (pull_request) Failing after 11m54s
Tests and linters / Tests (1.22) (pull_request) Failing after 11m53s
Tests and linters / Tests with -race (pull_request) Failing after 11m50s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
439ff906ab
[ #9999 ] metabase: Fix SetMode after db engine change to pebble
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
4ad6ac379c
[ #9999 ] node: Fix config after db engine change
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
f7f57e1a7a
[ #9999 ] lens: Fix metabase engine to pebble
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
8760da663f
[ #9999 ] engine: Fix methods after db engine change
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
c2f771ce65
[ #9999 ] shard: Fix metabase usage after db engine change
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
ea20952914
[ #9999 ] metabase: Fix unit test after db engine change
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
bf1a0b785c
[ #9999 ] metabase: Fix db engine to pebble in db.go and control.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
bcf7537ad4
[ #9999 ] metabase: Fix db engine to pebble in version.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
e9e2741a30
[ #9999 ] metabase: Fix db engine to pebble in shard_id.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
435589bb4d
[ #9999 ] metabase: Fix db engine to pebble in select.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
da09c491d4
[ #9999 ] metabase: Fix db engine to pebble in put.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
62d55c467a
[ #9999 ] metabase: Fix db engine to pebble in storage_id.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
f7d9552dca
[ #9999 ] metabase: Fix db engine to pebble in lock.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:01 +03:00
721789576b
[ #9999 ] metabase: Fix db engine to pebble in list.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
7aae1e62e6
[ #9999 ] metabase: Fix db engine to pebble in iterators.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
5c7f8c4541
[ #9999 ] metabase: Fix db engine to pebble in inhume.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
b15d31e81d
[ #9999 ] metabase: Fix db engine to pebble in graveyard.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
a81b801de0
[ #9999 ] metabase: Fix db engine to pebble in get.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
724b1b26b2
[ #9999 ] metabase: Fix db engine to pebble in expired.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
857d5b052a
[ #9999 ] metabase: Fix db engine to pebble in delete.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
f85b666e13
[ #9999 ] metabase: Fix db engine to pebble in counter.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
b9ad117b4f
[ #9999 ] metabase: Fix db engine to pebble in containers.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
cf89960d8d
[ #9999 ] metabase: Fix db engine to pebble in children.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
2f6911977a
[ #9999 ] metabase: Fix db engine to pebble in exists.go
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
c9bd970040
[ #9999 ] metabase: Change DB engine to pebble
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-12 14:51:00 +03:00
08953a2f94
[ #1239 ] adm/morph: Fix transfer GAS to alphabet nodes
...
DCO action / DCO (pull_request) Successful in 7m55s
Vulncheck / Vulncheck (pull_request) Successful in 8m4s
Build / Build Components (1.21) (pull_request) Successful in 10m21s
Build / Build Components (1.22) (pull_request) Successful in 10m21s
Tests and linters / Staticcheck (pull_request) Successful in 11m45s
Tests and linters / Lint (pull_request) Successful in 12m23s
Tests and linters / gopls check (pull_request) Successful in 14m17s
Pre-commit hooks / Pre-commit (pull_request) Successful in 16m26s
Tests and linters / Tests (1.21) (pull_request) Successful in 17m5s
Tests and linters / Tests with -race (pull_request) Successful in 17m17s
Tests and linters / Tests (1.22) (pull_request) Successful in 17m26s
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-07-11 18:28:32 +03:00
0308835d48
[ #1159 ] adm/frostfsid: Update frostfs-contract version
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-07-11 14:04:37 +00:00
36956db123
[ #1159 ] adm/frostfsid: Remove wallet requirement for list-*
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-07-11 14:04:37 +00:00
3bf6e6dde6
[ #1238 ] engine: Add non-blocking send in the shard's notification channel
...
DCO action / DCO (pull_request) Successful in 17m26s
Build / Build Components (1.21) (pull_request) Successful in 19m19s
Vulncheck / Vulncheck (pull_request) Successful in 19m46s
Build / Build Components (1.22) (pull_request) Successful in 23m58s
Pre-commit hooks / Pre-commit (pull_request) Successful in 32m59s
Tests and linters / Staticcheck (pull_request) Successful in 5m9s
Tests and linters / Lint (pull_request) Successful in 5m47s
Tests and linters / gopls check (pull_request) Successful in 5m22s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m37s
Tests and linters / Tests with -race (pull_request) Successful in 8m38s
Tests and linters / Tests (1.22) (pull_request) Successful in 8m56s
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-07-10 11:37:11 +03:00
b027a7f91e
[ #1234 ] pilorama: Fix GetByPath() on duplicate directories
...
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-10 06:11:38 +00:00
6ace2f597e
[ #1234 ] pilorama: Add test for duplicate directory behaviour
...
When AddByPath() is called concurrently on 2 different nodes,
internal path components may be created twice. This violates some
of our assumptions in GetByPath() and, indirectly, in S3 handling of
GetSubTree() results.
Add a test for the correct behaviour, fixes will follow.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-10 06:11:38 +00:00
784e8ef857
[ #1209 ] cli: Add --quiet flag to healthcheck command
...
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-07-09 12:40:32 +00:00
ca974b8b4c
[ #1233 ] cli: Drop debugee from object nodes
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-09 07:54:29 +00:00
84ecd61dfd
[ #1233 ] putSvc: Try to put EC chunk to any node
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-09 07:54:29 +00:00
6ef38c07bd
[ #1235 ] cli: Fix parse action
...
DCO action / DCO (pull_request) Successful in 2m52s
Vulncheck / Vulncheck (pull_request) Successful in 3m25s
Build / Build Components (1.22) (pull_request) Successful in 4m48s
Build / Build Components (1.21) (pull_request) Successful in 4m57s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m41s
Tests and linters / gopls check (pull_request) Successful in 6m21s
Tests and linters / Staticcheck (pull_request) Successful in 7m22s
Tests and linters / Lint (pull_request) Successful in 7m56s
Tests and linters / Tests (1.21) (pull_request) Successful in 10m53s
Tests and linters / Tests with -race (pull_request) Successful in 10m54s
Tests and linters / Tests (1.22) (pull_request) Successful in 11m9s
* Parsed `object.*` lexeme should also include
`MethodRangeObject` constant.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-08 18:35:44 +03:00
d90aab5454
[ #1229 ] util: Fix session token expiration check
...
* Make session token expired at `current_epoch + 1` but
not at `current_epoch` when it's still valid.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-08 08:15:56 +00:00
0c2b6f3dac
[ #1216 ] ape: Make services use bearer chains fed router
...
* Refactor object and tree service - they should instantiate
chain router cheking the bearer token. If there are no bearer
token rules, then defaul chain router is used.
* Fix unit-tests.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-05 18:26:48 +00:00
47bcd346d3
[ #1216 ] ape: Introduce BearerChainFeedRouter
...
* Unlike default chain router, `BearerChainFedRouter` performs checks for
overrides defined in the bearer token;
* Add unit-test for the introduced router.
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-05 18:26:48 +00:00
8eb591d668
[ #1231 ] policer: Add EC node-off unit test
...
Build / Build Components (1.21) (pull_request) Successful in 10m29s
Build / Build Components (1.22) (pull_request) Successful in 10m24s
DCO action / DCO (pull_request) Successful in 10m29s
Vulncheck / Vulncheck (pull_request) Successful in 12m18s
Tests and linters / gopls check (pull_request) Successful in 21m40s
Tests and linters / Tests (1.21) (pull_request) Failing after 22m2s
Pre-commit hooks / Pre-commit (pull_request) Successful in 23m40s
Tests and linters / Staticcheck (pull_request) Successful in 24m10s
Tests and linters / Tests (1.22) (pull_request) Successful in 24m19s
Tests and linters / Lint (pull_request) Successful in 25m30s
Tests and linters / Tests with -race (pull_request) Successful in 25m15s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-05 12:11:36 +03:00
cfd5e3d403
[ #1227 ] morph/event: Release ants.Pool on listener stopping
...
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2024-07-04 10:55:05 +00:00
62cbb72a5e
[ #1226 ] blobovniczatree: Delete fix db extensions in Init()
...
DCO action / DCO (pull_request) Successful in 14m27s
Vulncheck / Vulncheck (pull_request) Successful in 16m45s
Build / Build Components (1.21) (pull_request) Successful in 18m53s
Build / Build Components (1.22) (pull_request) Successful in 20m30s
Tests and linters / gopls check (pull_request) Successful in 25m12s
Tests and linters / Tests (1.21) (pull_request) Failing after 27m52s
Tests and linters / Tests with -race (pull_request) Failing after 27m46s
Tests and linters / Tests (1.22) (pull_request) Failing after 28m13s
Tests and linters / Lint (pull_request) Successful in 30m25s
Tests and linters / Staticcheck (pull_request) Successful in 30m23s
Pre-commit hooks / Pre-commit (pull_request) Successful in 31m27s
Since several releases have been released, this code is not relevant.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 12:22:06 +03:00
78b1d9b18d
[ #1226 ] blobovniczatree: Drop leaf width limitation
...
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 12:22:06 +03:00
40c9ddb6ba
[ #1226 ] blobovniczatree: Drop init in advance option
...
To make blobovniczatree unlimited.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 12:22:06 +03:00
3a797e4682
[ #1222 ] engine: Fix tree evacuation
...
DCO action / DCO (pull_request) Successful in 13m4s
Vulncheck / Vulncheck (pull_request) Successful in 15m32s
Build / Build Components (1.22) (pull_request) Successful in 16m30s
Build / Build Components (1.21) (pull_request) Successful in 16m37s
Tests and linters / gopls check (pull_request) Successful in 20m33s
Tests and linters / Staticcheck (pull_request) Successful in 21m17s
Tests and linters / Lint (pull_request) Successful in 21m37s
Tests and linters / Tests with -race (pull_request) Successful in 26m40s
Tests and linters / Tests (1.21) (pull_request) Successful in 26m54s
Tests and linters / Tests (1.22) (pull_request) Successful in 27m59s
Pre-commit hooks / Pre-commit (pull_request) Successful in 39m39s
Do not fail if it is unable to evacuate tree to other node.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 10:38:10 +03:00
2bac82cd6f
[ #1222 ] engine: Fix object evacuation
...
Do not fail evacuation if it unable to evacuate object to other node.
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 10:38:10 +03:00
bbe95dac8b
[ #1225 ] engine: Log the error when check object existence
...
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-07-04 07:22:54 +00:00
80d7459560
Revert "[ #1196 ] morph/client: Remove duplicate utility functions"
...
Tests and linters / Tests (1.21) (pull_request) Failing after 27s
DCO action / DCO (pull_request) Successful in 3m38s
Pre-commit hooks / Pre-commit (pull_request) Successful in 4m16s
Vulncheck / Vulncheck (pull_request) Failing after 3m43s
Build / Build Components (1.22) (pull_request) Successful in 4m45s
Build / Build Components (1.21) (pull_request) Successful in 4m54s
Tests and linters / Staticcheck (pull_request) Successful in 5m10s
Tests and linters / gopls check (pull_request) Successful in 5m15s
Tests and linters / Lint (pull_request) Successful in 5m53s
Tests and linters / Tests with -race (pull_request) Successful in 9m12s
Tests and linters / Tests (1.22) (pull_request) Successful in 9m43s
This reverts commit 259007540f
.
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-03 15:44:35 +03:00
4bd4667791
[ #1218 ] tree: Fix bearer token validation
...
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-03 07:22:11 +00:00
f3a861806e
[ #1218 ] object: Fix bearer token validation
...
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-03 07:22:11 +00:00