frostfs-node/pkg/local_object_storage/shard
Dmitrii Stepanov f2437f7ae9
All checks were successful
DCO action / DCO (pull_request) Successful in 1m36s
Build / Build Components (1.20) (pull_request) Successful in 3m46s
Vulncheck / Vulncheck (pull_request) Successful in 3m16s
Tests and linters / Staticcheck (pull_request) Successful in 4m42s
Tests and linters / Tests (1.20) (pull_request) Successful in 6m27s
Tests and linters / Tests (1.21) (pull_request) Successful in 6m35s
Tests and linters / Tests with -race (pull_request) Successful in 6m33s
Build / Build Components (1.21) (pull_request) Successful in 13m7s
Tests and linters / Lint (pull_request) Successful in 19m14s
[#734] shard: Fix Delete method
Due to the flushing data from the writecache to the storage
and simultaneous deletion, a partial deletion situation is possible.
So as a solution, deletion is allowed only when the object is in storage,
because object will be deleted from writecache by flush goroutine.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
2023-10-16 17:00:18 +03:00
..
mode [#453] engine: Set Disabled mode to deleted shard 2023-06-20 12:04:07 +03:00
container.go Rename package name 2023-03-07 16:38:26 +03:00
control.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
control_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
count.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00
delete.go [#734] shard: Fix Delete method 2023-10-16 17:00:18 +03:00
delete_test.go [#734] shard: Fix Delete method 2023-10-16 17:00:18 +03:00
errors.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
exists.go [#453] engine: Set Disabled mode to deleted shard 2023-06-20 12:04:07 +03:00
gc.go [#734] shard: Fix Delete method 2023-10-16 17:00:18 +03:00
gc_internal_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
gc_test.go [#668] shard/test: Properly check event processing 2023-09-07 07:39:39 +00:00
get.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
get_test.go [#668] shard/test: Release shard in t.Cleanup() 2023-09-07 07:39:39 +00:00
head.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00
head_test.go [#668] shard/test: Release shard in t.Cleanup() 2023-09-07 07:39:39 +00:00
id.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
info.go Rename package name 2023-03-07 16:38:26 +03:00
inhume.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
inhume_test.go [#668] shard/test: Release shard in t.Cleanup() 2023-09-07 07:39:39 +00:00
list.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
list_test.go [#668] shard/test: Release shard in t.Cleanup() 2023-09-07 07:39:39 +00:00
lock.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00
lock_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
metrics_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
mode.go [#453] engine: Set Disabled mode to deleted shard 2023-06-20 12:04:07 +03:00
move.go [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
put.go [#496] node: Fix linter importas 2023-07-06 15:36:41 +03:00
range.go [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
range_test.go [#668] shard/test: Add dontRelease options 2023-09-07 07:39:39 +00:00
reload_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
select.go [#496] node: Fix linter importas 2023-07-06 15:36:41 +03:00
shard.go [#421] Try using badger for the write-cache 2023-08-07 08:16:57 +00:00
shard_test.go [#653] Add context parameter to Open functions 2023-09-07 18:03:29 +03:00
shutdown_test.go [#668] shard/test: Add dontRelease options 2023-09-07 07:39:39 +00:00
tree.go [#618] core: Replace fmt.Sprintf with strconv.FormatUint 2023-08-21 07:14:50 +00:00
weight.go [#189] shard: Extend Info with WeightValues 2020-12-11 17:19:37 +03:00
writecache.go [#412] node: Replace tracing package 2023-06-01 13:23:11 +00:00