frostfs-node/pkg/local_object_storage/writecache
Evgenii Stratonikov 20abdaeed4 [#1745] writecache: Set flush mark only on success
Set flush mark in the inside the flush worker because writing to the blobstor
can fail. Because each evicted object must be deleted, it is reasonable
to do this in the evict callback.

The evict callback is protected by LRU mutex and thus potentially interferes
with `Get` and `Iterate` methods. This problem will be addressed in the
future.

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-09-02 11:59:53 +03:00
..
delete.go [#1523] blobstor: Unify fstree and blobovnicza interfaces 2022-08-22 13:14:19 +03:00
doc.go [#1687] *: Perform go fmt using go v1.19 2022-08-22 18:59:57 +03:00
errors.go [#1247] object: Return NOT_FOUND and ALREADY_REMOVED statuses 2022-03-17 16:34:00 +03:00
flush.go [#1745] writecache: Set flush mark only on success 2022-09-02 11:59:53 +03:00
generic_test.go [#1686] local_object_storage: Add generic tests 2022-08-30 10:02:43 +03:00
get.go [#1523] blobstor: Unify fstree and blobovnicza interfaces 2022-08-22 13:14:19 +03:00
init.go [#1523] local_object_storage: Unify parameters for the Iterate operation 2022-08-22 13:14:19 +03:00
iterate.go [#1523] local_object_storage: Unify parameters for the Iterate operation 2022-08-22 13:14:19 +03:00
mode.go [#1523] neofs-node: Refactor configuration 2022-08-22 13:14:19 +03:00
options.go [#1524] writecache: Add some bolt parameters to the configuration 2022-06-20 17:04:35 +03:00
put.go [#1523] writecache: Simplify logic 2022-08-22 13:14:19 +03:00
state.go [#933] write-cache: Use real number of objects in counters 2021-10-25 18:49:10 +03:00
storage.go [#1745] writecache: Set flush mark only on success 2022-09-02 11:59:53 +03:00
util.go [#1647] writecache: Open DB in sync mode 2022-08-16 15:27:18 +04:00
writecache.go [#1686] local_object_storage: Add generic tests 2022-08-30 10:02:43 +03:00