top

Package storage provides access to the Store and Range abstractions. Each Cockroach node handles one or more stores, each of which multiplexes to one or more ranges, identified by [start, end) keys. Ranges are contiguous regions of the keyspace. Each range implements an instance of the Raft consensus algorithm to synchronize participating range replicas.

Each store is represented by a single engine.Engine instance. The ranges hosted by a store all have access to the same engine, but write to only a range-limited keyspace within it. Ranges access the underlying engine via the MVCC interface, which provides historical versioned values.

Package storage is a generated protocol buffer package.

It is generated from these files:
	cockroach/storage/raft.proto

It has these top-level messages:
	RaftMessageRequest
	RaftMessageResponse
	ConfChangeContext

Imports 38 package(s)

  1. github.com/cockroachdb/cockroach/util/envutil
  2. github.com/cockroachdb/cockroach/util/cache
  3. github.com/cockroachdb/cockroach/util/hlc
  4. google.golang.org/grpc
  5. github.com/gogo/protobuf/proto
  6. github.com/cockroachdb/cockroach/security
  7. github.com/cockroachdb/cockroach/config
  8. github.com/cockroachdb/cockroach/util/retry
  9. github.com/cockroachdb/cockroach/util/bufalloc
  10. github.com/cockroachdb/cockroach/gossip
  11. github.com/cockroachdb/cockroach/util/encoding
  12. github.com/cockroachdb/cockroach/build
  13. github.com/google/btree
  14. github.com/cockroachdb/cockroach/keys
  15. github.com/cockroachdb/cockroach/internal/client
  16. github.com/cockroachdb/cockroach/storage/storagebase
  17. github.com/cockroachdb/cockroach/util/metric
  18. github.com/kr/pretty
  19. github.com/cockroachdb/cockroach/util/tracing
  20. github.com/coreos/etcd/raft/raftpb
  21. github.com/cockroachdb/cockroach/sql/sqlutil
  22. github.com/pkg/errors
  23. github.com/cockroachdb/cockroach/util/stop
  24. github.com/cockroachdb/cockroach/util/timeutil
  25. golang.org/x/net/trace
  26. github.com/cockroachdb/cockroach/rpc
  27. github.com/opentracing/opentracing-go
  28. github.com/cockroachdb/cockroach/storage/engine
  29. github.com/coreos/etcd/raft
  30. github.com/cockroachdb/cockroach/util/protoutil
  31. github.com/cockroachdb/cockroach/util/log
  32. github.com/cockroachdb/cockroach/util/uuid
  33. github.com/cockroachdb/cockroach/util
  34. github.com/cockroachdb/cockroach/roachpb
  35. github.com/cockroachdb/cockroach/util/interval
  36. github.com/cockroachdb/cockroach/base
  37. github.com/cockroachdb/cockroach/storage/engine/enginepb
  38. golang.org/x/net/context

Test imports 18 package(s)

  1. github.com/cockroachdb/cockroach/ts/tspb
  2. github.com/cockroachdb/cockroach/testutils/sqlutils
  3. github.com/cockroachdb/cockroach/storage
  4. github.com/cockroachdb/cockroach/testutils/serverutils
  5. github.com/cockroachdb/cockroach/gossip/resolver
  6. github.com/cockroachdb/cockroach/util/randutil
  7. github.com/cockroachdb/cockroach/util/caller
  8. github.com/cockroachdb/cockroach/security/securitytest
  9. github.com/cockroachdb/cockroach/testutils
  10. github.com/cockroachdb/cockroach/ts
  11. github.com/cockroachdb/cockroach/testutils/gossiputil
  12. github.com/cockroachdb/cockroach/util/netutil
  13. github.com/cockroachdb/cockroach/sql/sqlbase
  14. github.com/cockroachdb/cockroach/util/leaktest
  15. github.com/cockroachdb/cockroach/server
  16. github.com/cockroachdb/pq
  17. github.com/cockroachdb/cockroach/util/grpcutil
  18. github.com/cockroachdb/cockroach/kv