storj/storage/cockroachkv
ccase 034f9845b1 storage: Plumb limit through storage backends.
* Plumbs the limit through all backends ensuring they don't do
  unnecessary work.
* Don't arbitrarily limit at the backend with hardcoded defaults. The
  limit will be set by the caller.

Prior to this change the code on recursive in some backends would do 10k
results from the database and then only return the first 1k (throwing
out 9k of them).

Prior to this change some backends had no limit at all (e.g. redis).

Change-Id: I1f327eefe095776d123dd11362cd00994c22efdf
2020-01-19 21:23:20 +00:00
..
schema storage/cockroachkv: add ctx argument 2020-01-13 15:57:47 +02:00
client_test.go storage/cockroachkv: add ctx argument 2020-01-13 15:57:47 +02:00
client.go storage: Plumb limit through storage backends. 2020-01-19 21:23:20 +00:00
common.go storage/cockroachkv: initial client implementation 2019-12-05 16:11:23 +00:00
ordered_iterator.go storage: Plumb limit through storage backends. 2020-01-19 21:23:20 +00:00