pull/4756/head
Jason Wilder 2015-11-12 09:52:57 -07:00
parent 8e14877e98
commit e4312d854c
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ The last section is the footer that stores the offset of the start of the index.
The file system is organized a directory per shard where each shard is integer number. Within the shard dir exists a set of other directories and files:
* wal Dir - Contains a set numerically increasing files WAL segment files name ######.wal. The wal dir will be a separate location from the TSM data files so that different different types can be used if necessary.
* wal Dir - Contains a set numerically increasing files WAL segment files name ######.wal. The wal dir will be a separate location from the TSM data files so that different types can be used if necessary.
* TSM files - A set of numerically increasing TSM files containing compressed series data.
* Tombstone files - Files named after the corresponding TSM file as #####.tombstone. These contain measurement and series keys that have been deleted. These are removed during compactions.

View File

@ -108,7 +108,7 @@ type TSMIndex interface {
Entries(key string) []*IndexEntry
// Entry returns the index entry for the specified key and timestamp. If no entry
// matches the key an timestamp, nil is returned.
// matches the key and timestamp, nil is returned.
Entry(key string, timestamp time.Time) *IndexEntry
// MarshalBinary returns a byte slice encoded version of the index.