From ab52e34e6a48020f6af5ab62631f4e7f0bff5967 Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 2 Mar 2021 18:19:47 +0200 Subject: [PATCH] add comment Co-authored-by: raulk --- blockstore/blockstore.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blockstore/blockstore.go b/blockstore/blockstore.go index 4c3b8ad5a..2624a7a9d 100644 --- a/blockstore/blockstore.go +++ b/blockstore/blockstore.go @@ -47,6 +47,8 @@ func WrapIDStore(bstore blockstore.Blockstore) Blockstore { return NewIDStore(bs) } + // The underlying blockstore does not implement DeleteMany, so we need to shim it. + // This is less efficient as it'll iterate and perform single deletes. return NewIDStore(Adapt(bstore)) }