Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Katie Tezapsidis committed Oct 20, 2017
1 parent 6fe6df1 commit f8dd4dd
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions storage/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,19 @@ var commitLogWriteNoOp = commitLogWriter(commitLogWriterFn(func(
return nil
}))

type deleteInactiveFilesetFilesFn func(filesetFilePrefix string, namespace ts.ID, activeShards []uint32) error

type dbNamespace struct {
sync.RWMutex

id ts.ID
shardSet sharding.ShardSet
blockRetriever block.DatabaseBlockRetriever
opts Options
metadata namespace.Metadata
nopts namespace.Options
seriesOpts series.Options
nowFn clock.NowFn
log xlog.Logger
bs bootstrapState
deleteInactiveFilesetFiles deleteInactiveFilesetFilesFn
id ts.ID
shardSet sharding.ShardSet
blockRetriever block.DatabaseBlockRetriever
opts Options
metadata namespace.Metadata
nopts namespace.Options
seriesOpts series.Options
nowFn clock.NowFn
log xlog.Logger
bs bootstrapState

// Contains an entry to all shards for fast shard lookup, an
// entry will be nil when this shard does not belong to current database
Expand Down

0 comments on commit f8dd4dd

Please sign in to comment.