top
Package storage is a generated protocol buffer package.

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

It has these top-level messages:
	StoreRequestHeader
	PollFrozenRequest
	PollFrozenResponse
	ReservationRequest
	ReservationResponse
	RaftMessageRequest
	RaftMessageResponseUnion
	RaftMessageResponse
	ConfChangeContext

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.

Imports 40 package(s)

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

Test imports 20 package(s)

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