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 10 package(s)

  1. github.com/cockroachdb/cockroach/util/hlc
  2. github.com/cockroachdb/cockroach/storage/engine
  3. github.com/cockroachdb/cockroach/util/log
  4. github.com/cockroachdb/cockroach/util
  5. github.com/cockroachdb/cockroach/multiraft
  6. github.com/cockroachdb/cockroach/util/encoding
  7. code.google.com/p/gogoprotobuf/proto
  8. github.com/cockroachdb/cockroach/gossip
  9. github.com/cockroachdb/cockroach/proto
  10. github.com/cockroachdb/cockroach/client

Test imports 3 package(s)

  1. github.com/cockroachdb/cockroach/kv
  2. github.com/cockroachdb/cockroach/storage
  3. github.com/cockroachdb/cockroach/rpc