storj/storage
Jeff Wendling efa08d4081 storage/cockroachkv: use different batch size for recursive iteration
the relatively small batch size of 128 was chosen so that if we have
a set of keys like

    a/1
    a/2
    ...
    a/100000
    b
    c

list operations would not have to walk 100k keys inside of a/ before
skipping to b. unfortunately, iteration is also used by the metainfo
loop. in that case, it's doing a recursive listing, and so there's
no need to skip large prefixes. thus, we can use a bigger batch
size when recursive listing is requested.

Change-Id: I87cf1ba385b6eb2928c5b7cc5e0f7a8c7bd126d9
2019-12-17 18:24:26 +00:00
..
boltdb private/testcontext: ensure we call cleanup everywhere 2019-12-17 14:16:09 +00:00
cockroachkv storage/cockroachkv: use different batch size for recursive iteration 2019-12-17 18:24:26 +00:00
filestore storage: Improve doc comments delete methods (#3591) 2019-12-02 12:18:20 +01:00
postgreskv storage/testsuite: pass ctx in to bulk setup methods 2019-12-10 20:22:08 +00:00
redis private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
storelogger storage/: remove reverse-key-listing feature 2019-11-12 18:47:51 +00:00
teststore lint: add staticcheck as a separate step (#3569) 2019-11-14 10:31:30 +02:00
testsuite private/testcontext: ensure we call cleanup everywhere 2019-12-17 14:16:09 +00:00
blob.go storagenode/pieces: Add EmptyTrash functionality (#3640) 2019-11-26 09:25:21 -07:00
common.go storage/: remove reverse-key-listing feature 2019-11-12 18:47:51 +00:00
iterator.go storage/: remove reverse-key-listing feature 2019-11-12 18:47:51 +00:00
listkeys.go Stylistic Go Cleanup (#2524) 2019-07-22 15:10:04 -04:00
listv2.go storage/: remove reverse-key-listing feature 2019-11-12 18:47:51 +00:00
util.go storage: add monkit task to missing places (#2122) 2019-06-05 16:23:10 +02:00