storj/storage
paul cannon 94651921c3 storage/testsuite: pass ctx in to bulk setup methods
to make them cancelable. Also,

* rename BulkDelete->BulkDeleteAll

this leaves room for a new method `BulkDelete(items storage.Items)` that
does a bulk deletion of a specified list of items, as opposed to
deleting _everything_. such a method would be used in the
`cleanupItems()` function found in utils.go, because when individual
deletes are fairly slow, that step takes way too long during tests.

* use BulkDelete method if available

nothing currently provides `BulkDelete(items storage.Items) error`,
but we made use of it with the Bigtable testing and code, and may make
use of it again when adding new kv backends.

* and eliminate the global context in test_iterate.go

Change-Id: I171c7a3818beffbad969b131e98b9bbe3f324bf2
2019-12-10 20:22:08 +00:00
..
boltdb storage/testsuite: pass ctx in to bulk setup methods 2019-12-10 20:22:08 +00:00
cockroachkv storj-sim: work with cockroach:// urls for satellite databases 2019-12-09 23:44:00 +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 storage/testsuite: pass ctx in to bulk setup methods 2019-12-10 20:22:08 +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