frostfs-node/pkg/local_object_storage/writecache
Pavel Karpy da2975a2f9 [#1664] write-cache: Fix panic on Delete operation
If an object is found in the Write-cache and is placed at the end of
the in-memory cache, the memory counter update operation tries to
dereference the index that is out of the sliced array. Moreover, even if
panic does not appear, the counter is updated with the wrong value.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-09 20:18:26 +03:00
..
delete.go [#1664] write-cache: Fix panic on Delete operation 2022-08-09 20:18:26 +03:00
doc.go [#472] blobstor: implement write-cache 2021-04-29 17:36:36 +03:00
errors.go [#1247] object: Return NOT_FOUND and ALREADY_REMOVED statuses 2022-03-17 16:34:00 +03:00
flush.go [#1559] metabase: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
get.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
init.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
iterate.go [#1462] fstree: Allow to fetch file content lazily 2022-06-03 14:30:00 +03:00
mode.go [#1559] local_object_storage: Allow to set mode for all components 2022-07-21 17:56:06 +03:00
options.go [#1524] writecache: Add some bolt parameters to the configuration 2022-06-20 17:04:35 +03:00
persist.go [#1462] writecache: Persist objects in batches 2022-06-03 14:30:00 +03:00
put.go [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
state.go [#933] write-cache: Use real number of objects in counters 2021-10-25 18:49:10 +03:00
storage.go [#1559] local_object_storage: Fix tests and some data races 2022-07-21 17:56:06 +03:00
util.go writecache: provide timeout to bbolt.Open 2022-06-09 14:19:47 +03:00
writecache.go [#1559] local_object_storage: Allow to set mode for all components 2022-07-21 17:56:06 +03:00