Commit graph

4817 commits

Author SHA1 Message Date
3db4900a4b [#9999] shard: Resolve linters
Some checks failed
DCO action / DCO (pull_request) Successful in 11m40s
Build / Build Components (1.22) (pull_request) Failing after 14m58s
Build / Build Components (1.21) (pull_request) Successful in 18m52s
Vulncheck / Vulncheck (pull_request) Successful in 23m2s
Tests and linters / Tests (1.21) (pull_request) Failing after 29m16s
Tests and linters / Tests with -race (pull_request) Failing after 29m15s
Tests and linters / Tests (1.22) (pull_request) Failing after 30m51s
Tests and linters / Staticcheck (pull_request) Successful in 33m34s
Tests and linters / Lint (pull_request) Successful in 34m7s
Tests and linters / gopls check (pull_request) Failing after 34m32s
Pre-commit hooks / Pre-commit (pull_request) Successful in 34m27s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
a4602e1183 [#9999] metabase: Fix SetMode after db engine change to pebble
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
7135c4f858 [#9999] node: Fix config after db engine change
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
af63d0b0f0 [#9999] lens: Fix metabase engine to pebble
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
bc5b3d5307 [#9999] engine: Fix methods after db engine change
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
775527ac35 [#9999] shard: Fix metabase usage after db engine change
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:40 +03:00
9bd933e88e [#9999] metabase: Fix unit test after db engine change
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
fe1988a1e4 [#9999] metabase: Fix db engine to pebble in db.go and control.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
fa6254f0f0 [#9999] metabase: Fix db engine to pebble in version.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
1456e971af [#9999] metabase: Fix db engine to pebble in shard_id.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
9c114bde18 [#9999] metabase: Fix db engine to pebble in select.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
b06743f7d2 [#9999] metabase: Fix db engine to pebble in put.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
86f6ab668d [#9999] metabase: Fix db engine to pebble in storage_id.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
6b9c467972 [#9999] metabase: Fix db engine to pebble in lock.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
4c077194b1 [#9999] metabase: Fix db engine to pebble in list.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
3e62d8f896 [#9999] metabase: Fix db engine to pebble in iterators.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
4426d9134f [#9999] metabase: Fix db engine to pebble in inhume.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
502b873cf0 [#9999] metabase: Fix db engine to pebble in graveyard.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
f2b057138c [#9999] metabase: Fix db engine to pebble in get.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
170aa277a5 [#9999] metabase: Fix db engine to pebble in expired.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
85b5b84597 [#9999] metabase: Fix db engine to pebble in delete.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
812c90751d [#9999] metabase: Fix db engine to pebble in counter.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
e8759d89f7 [#9999] metabase: Fix db engine to pebble in containers.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:39 +03:00
edb266d4f7 [#9999] metabase: Fix db engine to pebble in children.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:38 +03:00
ba93048a37 [#9999] metabase: Fix db engine to pebble in exists.go
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:38 +03:00
a4743c1c97 [#9999] metabase: Change DB engine to pebble
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-04 11:16:38 +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"
Some checks failed
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
a378ff9cf6 [#1218] object: Pass container owner for backward get method check
* `getStreamBasicChecker` must define `containerOwner` for backward checks,
  otherwise bearer token cannot be validated for the token issuer.

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
2024-07-03 07:22:11 +00:00
91bed3b0ba [#1219] Remove Container.SetEACL method
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-02 13:05:40 +00:00
74842e7f43 [#1210] adm: Fix error handling when contract not found
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-07-02 13:03:40 +00:00
259007540f [#1196] morph/client: Remove duplicate utility functions
All checks were successful
Build / Build Components (1.21) (pull_request) Successful in 4m1s
DCO action / DCO (pull_request) Successful in 4m3s
Vulncheck / Vulncheck (pull_request) Successful in 3m51s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m15s
Tests and linters / Lint (pull_request) Successful in 6m59s
Build / Build Components (1.22) (pull_request) Successful in 8m54s
Tests and linters / gopls check (pull_request) Successful in 10m46s
Tests and linters / Staticcheck (pull_request) Successful in 11m30s
Tests and linters / Tests (1.21) (pull_request) Successful in 13m37s
Tests and linters / Tests (1.22) (pull_request) Successful in 13m43s
Tests and linters / Tests with -race (pull_request) Successful in 13m44s
We used several utility functions to parse frostfsid client
subject and extended subject. However, following the changes
in TrueCloudLab/frostfs-contract#97, these utility functions
have become public. So there is no more need to have them here.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-07-02 15:19:59 +03:00
56eeb630b6 [#1217] Fix grammar mistakes and misspelling
All checks were successful
DCO action / DCO (pull_request) Successful in 13m23s
Tests and linters / gopls check (pull_request) Successful in 16m29s
Tests and linters / Lint (pull_request) Successful in 17m2s
Build / Build Components (1.21) (pull_request) Successful in 16m26s
Build / Build Components (1.22) (pull_request) Successful in 16m21s
Vulncheck / Vulncheck (pull_request) Successful in 16m40s
Tests and linters / Staticcheck (pull_request) Successful in 19m9s
Pre-commit hooks / Pre-commit (pull_request) Successful in 21m37s
Tests and linters / Tests with -race (pull_request) Successful in 22m33s
Tests and linters / Tests (1.22) (pull_request) Successful in 3m46s
Tests and linters / Tests (1.21) (pull_request) Successful in 3m51s
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-07-01 19:14:25 +03:00
36eab4059c [#218] adm: Refactor helper in part of reading alphabet wallets
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-07-01 06:56:02 +00:00
72ab373b71 [#218] adm: Update doc for morph generate-alphabet
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-07-01 06:56:02 +00:00
7a8ac4907a [#1213] engine: Drop unused
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-01 06:49:35 +00:00
10497e9136 [#1213] cli: Do not allow to lock EC chunks
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-01 06:49:35 +00:00
dc2867682f [#1213] deleteSvc: Do not allow to delete EC chunks
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-01 06:49:35 +00:00
dc6778f385 [#1213] fmt: Drop unused interfaces
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-07-01 06:49:35 +00:00
7085723c6b [#1074] pilorama: Allow empty filenames in SortedByFilename()
All checks were successful
DCO action / DCO (pull_request) Successful in 5m38s
Vulncheck / Vulncheck (pull_request) Successful in 5m57s
Tests and linters / gopls check (pull_request) Successful in 6m57s
Build / Build Components (1.22) (pull_request) Successful in 6m48s
Build / Build Components (1.21) (pull_request) Successful in 6m52s
Tests and linters / Lint (pull_request) Successful in 8m26s
Tests and linters / Staticcheck (pull_request) Successful in 8m48s
Tests and linters / Tests (1.22) (pull_request) Successful in 11m39s
Tests and linters / Tests (1.21) (pull_request) Successful in 11m47s
Tests and linters / Tests with -race (pull_request) Successful in 13m49s
Pre-commit hooks / Pre-commit (pull_request) Successful in 17m24s
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-06-28 17:46:24 +03:00
4c7ff159ec [#1201] writecache: Cancel background flush without lock
All checks were successful
DCO action / DCO (pull_request) Successful in 3m14s
Vulncheck / Vulncheck (pull_request) Successful in 5m14s
Tests and linters / gopls check (pull_request) Successful in 6m26s
Tests and linters / Lint (pull_request) Successful in 7m29s
Tests and linters / Staticcheck (pull_request) Successful in 7m22s
Build / Build Components (1.22) (pull_request) Successful in 7m55s
Build / Build Components (1.21) (pull_request) Successful in 8m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 12m8s
Tests and linters / Tests with -race (pull_request) Successful in 12m41s
Tests and linters / Tests (1.21) (pull_request) Successful in 13m3s
Tests and linters / Tests (1.22) (pull_request) Successful in 13m32s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-06-28 09:02:36 +03:00
81070ada01 [#1091] cli: Check NotFound properly for control list-targets
Signed-off-by: Anton Nikiforov <an.nikiforov@yadro.com>
2024-06-27 13:18:36 +00:00
452faa3c89 [#1154] ir: Add info metric
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-06-27 12:02:52 +00:00
87a4a6e8d0 [#1154] node: Add info metric
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
2024-06-27 12:02:52 +00:00
4f7d76c9ef [#1206] audit: Drop not required events
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-06-27 10:54:31 +00:00
4951babd5f [#1208] blobstor: Fix delete without storage id
All checks were successful
DCO action / DCO (pull_request) Successful in 7m14s
Vulncheck / Vulncheck (pull_request) Successful in 15m56s
Build / Build Components (1.22) (pull_request) Successful in 17m0s
Build / Build Components (1.21) (pull_request) Successful in 17m5s
Tests and linters / gopls check (pull_request) Successful in 18m17s
Tests and linters / Lint (pull_request) Successful in 21m1s
Tests and linters / Staticcheck (pull_request) Successful in 20m41s
Pre-commit hooks / Pre-commit (pull_request) Successful in 22m18s
Tests and linters / Tests (1.21) (pull_request) Successful in 3m0s
Tests and linters / Tests (1.22) (pull_request) Successful in 2m55s
Tests and linters / Tests with -race (pull_request) Successful in 3m42s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-06-27 11:59:08 +03:00
a0e5fc733e [#1145] node/ir: Handle double SIGHUP correctly
All checks were successful
Vulncheck / Vulncheck (pull_request) Successful in 4m0s
DCO action / DCO (pull_request) Successful in 4m33s
Tests and linters / gopls check (pull_request) Successful in 5m24s
Build / Build Components (1.21) (pull_request) Successful in 5m17s
Build / Build Components (1.22) (pull_request) Successful in 5m16s
Tests and linters / Staticcheck (pull_request) Successful in 6m18s
Tests and linters / Lint (pull_request) Successful in 6m56s
Pre-commit hooks / Pre-commit (pull_request) Successful in 9m29s
Tests and linters / Tests with -race (pull_request) Successful in 10m38s
Tests and linters / Tests (1.21) (pull_request) Successful in 10m49s
Tests and linters / Tests (1.22) (pull_request) Successful in 11m21s
Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
2024-06-25 12:07:14 +03:00
df894fbac7 [#451] frostfs-node: Add cache metrics
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2024-06-25 08:52:37 +00:00