top

Package kv provides a key-value API to an underlying cockroach datastore. Cockroach itself provides a single, monolithic, sorted key value map, distributed over multiple nodes. Each node holds a set of key ranges. Package kv translates between the monolithic, logical map which Cockroach clients experience to the physically distributed key ranges which comprise the whole.

Package kv implements the logic necessary to locate appropriate nodes based on keys being read or written. In some cases, requests may span a range of keys, in which case multiple RPCs may be sent out.

Imports 22 package(s)

  1. github.com/cockroachdb/cockroach/util/metric
  2. github.com/cockroachdb/cockroach/rpc
  3. github.com/cockroachdb/cockroach/client
  4. github.com/cockroachdb/cockroach/util
  5. github.com/biogo/store/llrb
  6. github.com/cockroachdb/cockroach/util/stop
  7. github.com/cockroachdb/cockroach/base
  8. github.com/cockroachdb/cockroach/util/uuid
  9. github.com/cockroachdb/cockroach/util/tracing
  10. github.com/cockroachdb/cockroach/testutils
  11. github.com/cockroachdb/cockroach/storage
  12. github.com/cockroachdb/cockroach/keys
  13. github.com/opentracing/opentracing-go
  14. golang.org/x/net/context
  15. github.com/cockroachdb/cockroach/util/log
  16. github.com/gogo/protobuf/proto
  17. github.com/cockroachdb/cockroach/gossip
  18. github.com/cockroachdb/cockroach/util/cache
  19. github.com/cockroachdb/cockroach/util/retry
  20. github.com/cockroachdb/cockroach/storage/engine
  21. github.com/cockroachdb/cockroach/util/hlc
  22. github.com/cockroachdb/cockroach/roachpb

Test imports 8 package(s)

  1. github.com/cockroachdb/cockroach/server
  2. github.com/cockroachdb/cockroach/kv
  3. github.com/cockroachdb/cockroach/util/leaktest
  4. github.com/cockroachdb/cockroach/security
  5. github.com/cockroachdb/cockroach/security/securitytest
  6. github.com/cockroachdb/cockroach/gossip/simulation
  7. github.com/cockroachdb/cockroach/config
  8. github.com/cockroachdb/cockroach/util/randutil