package
0.9.4
Repository: https://github.com/skia-dev/influxdb.git
Documentation: pkg.go.dev

# Functions

marshalCacheEntry encodes the timestamp and data to a single byte slice.
No description provided by the author
No description provided by the author
unmarshalCacheEntry returns the timestamp and data from an encoded byte slice.

# Constants

CompactionExtension is the file extension we expect for compaction files.
DefaultSegmentSize of 2MB is the size at which segment files will be rolled over.
FailWriteMemoryThreshold will start returning errors on writes if the memory gets more than this multiple above the maximum threshold.
FileExtension is the file extension we expect for wal segments.
MetaFileExtension is the file extension for the log files of new fields and measurements that get created.
MetaFlushInterval is the period after which any compressed meta data in the .meta file will get flushed to the index.

# Variables

CompactSequence is the byte sequence within a segment file that has been compacted that indicates the start of a compaction marker.
ErrCompactionRunning to return if we attempt to run a compaction on a partition that is currently running one.
ErrMemoryCompactionDone gets returned if we called to flushAndCompact to free up memory but a compaction has already been done to do so.

# Structs

No description provided by the author
Partition is a set of files for a partition of the WAL.

# Interfaces

IndexWriter is an interface for the indexed database the WAL flushes data to.