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.

Imports 13 package(s)

  1. github.com/cockroachdb/cockroach/client
  2. github.com/cockroachdb/cockroach/util/log
  3. github.com/cockroachdb/cockroach/multiraft
  4. github.com/gogo/protobuf/proto
  5. golang.org/x/net/context
  6. github.com/coreos/etcd/raft/raftpb
  7. github.com/cockroachdb/cockroach/proto
  8. github.com/cockroachdb/cockroach/util/hlc
  9. github.com/cockroachdb/cockroach/storage/engine
  10. github.com/coreos/etcd/raft
  11. github.com/cockroachdb/cockroach/util
  12. github.com/cockroachdb/cockroach/util/encoding
  13. github.com/cockroachdb/cockroach/gossip

Test imports 8 package(s)

  1. github.com/cockroachdb/cockroach/security/securitytest
  2. github.com/cockroachdb/cockroach/security
  3. github.com/cockroachdb/cockroach/util/leaktest
  4. github.com/cockroachdb/cockroach/storage
  5. github.com/cockroachdb/cockroach/rpc
  6. github.com/cockroachdb/cockroach/multiraft/storagetest
  7. github.com/cockroachdb/cockroach/kv
  8. github.com/biogo/store/llrb