frostfs-node/pkg/local_object_storage/metabase/v2
Alex Vanin 4e7d49791b [#199] Index parent first in metabase
With exist check we should index parent first, because
as soon as child will be added to metabase, exist on
parent will return true even if it was not indexed yet.

Also this commit makes one db.Update instead of two for
parent and child.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2020-12-11 17:19:37 +03:00
..
db.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
db_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
errors.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
exists.go [#199] Make exist check on all primary buckets in metabase 2020-12-11 17:19:37 +03:00
exists_test.go [#199] Make exist check on all primary buckets in metabase 2020-12-11 17:19:37 +03:00
get.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
get_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
info.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
inhume.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
inhume_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
movable.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
movable_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
put.go [#199] Index parent first in metabase 2020-12-11 17:19:37 +03:00
select.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
select_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
small.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
small_test.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00
util.go [#199] Refactor metabase internal structure 2020-12-11 17:19:37 +03:00