a2c2241356
In previous implementation StorageEngine.Inhume operation forced Shard .Inhume call on all internal shards. There is a need to inhume object in a single shard. To achieve this, Inhume operation is performed in next steps: 1. iterate over sorted shards, check object presence through Exists call; 2. if object exists at any shard in step 1 => inhume it and return on success; 3. if no shards contain the object => iterate over sorted shards again and try to inhume the object at first possible shard; 4. if all Inhume calls are failed => return an error. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru> |
||
---|---|---|
.. | ||
container.go | ||
control.go | ||
delete.go | ||
engine.go | ||
exists.go | ||
get.go | ||
head.go | ||
info.go | ||
inhume.go | ||
put.go | ||
range.go | ||
select.go | ||
shards.go |