frostfs-node/pkg/local_object_storage
Evgenii Stratonikov 1462824ab8 [#947] writecache: refactor object persisting
a1696a8 introduced some logic which in some situations prevented big objects
to be persisted in FSTree. In this commit a refactoring is done with the
goal of simplifying the code and also checking #866 issue.

1. Split a monstrous function into multiple simple ones: memory objects
   can only be small and for writing through the cache we can do a dispatch
   in `Put` itself.
2. Determine objects to be put in database before the actual update
   as setting up a transaction has non-zero overhead.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
2021-11-01 15:52:56 +03:00
..
blobovnicza [#791] blobovnicza: Support read-only mode 2021-10-05 10:51:10 +03:00
blobstor [#933] FSTree: Add NumberOfObjects method 2021-10-25 18:49:10 +03:00
engine [#901] engine: release shard pools in Close 2021-10-25 18:53:36 +03:00
internal/log [#790] storage engine: Add common template of log messages 2021-09-13 15:02:13 +03:00
metabase [#945] metabase: Use cleanup instead of defer in tests 2021-10-27 16:10:01 +03:00
shard [#901] *: release worker pools where possible 2021-10-25 18:53:36 +03:00
util [#477] metabase: Move MergeSplitInfo to storage/util pkg 2021-04-15 11:18:39 +03:00
writecache [#947] writecache: refactor object persisting 2021-11-01 15:52:56 +03:00