[#1412] engine: Add IsIndexedContainer flag

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-10-01 15:27:06 +03:00
parent 899cd55c27
commit 1b520f7973
Signed by: dstepanov-yadro
GPG key ID: 237AF1A763293BC0
19 changed files with 182 additions and 50 deletions

View file

@ -37,7 +37,7 @@ func benchmarkTreeVsSearch(b *testing.B, objCount int) {
for i := range objCount {
obj := testutil.GenerateObjectWithCID(cid)
testutil.AddAttribute(obj, pilorama.AttributeFilename, strconv.Itoa(i))
err := Put(context.Background(), te.ng, obj)
err := Put(context.Background(), te.ng, obj, false)
if err != nil {
b.Fatal(err)
}