Browse files

Updated godoc to remove some incorrect claims on proprietary version

  • Loading branch information...
lni committed Jan 11, 2019
1 parent 1d536af commit db5603416909a4476b263c7d5a22862107dc99e1
Showing with 3 additions and 5 deletions.
  1. +0 −2 internal/logdb/sharded_rdb.go
  2. +3 −3 internal/raft/logentry.go
@@ -35,8 +35,6 @@ var (

// ShardedRDB is a LogDB implementation using sharded rocksdb instances.
// This is the community version of the ShardedRDB known to be less optimal in
// terms of both IO latency and throughput.
type ShardedRDB struct {
completedCompactions uint64
shards []*RDB
@@ -73,9 +73,9 @@ type ILogDB interface {
Append(entries []pb.Entry) error

// the community version of dragonboat uses a two stage entryLog implementation
// similar to the one used by etcd raft, it is known to be not optimal.
// the proprietary version uses a more throughput friendly approach.
// entryLog is the entry log used by Raft. It splits entries into two parts -
// those will be immediately used and those unlikely to be used in normal fast
// path.
type entryLog struct {
logdb ILogDB
inmem inMemory

0 comments on commit db56034

Please sign in to comment.