diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c2010ad71..604d98d8c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## 2.19.0 / 2020-06-09 + +* [FEATURE] TSDB: Memory-map full chunks of Head (in-memory) block from disk. This reduces memory footprint and makes restarts faster. #6679 +* [ENHANCEMENT] Discovery: Added discovery support for Triton global zones. #7250 +* [ENHANCEMENT] Increased alert resend delay to be more tolerant towards failures. #7228 +* [ENHANCEMENT] Remote Read: Added `prometheus_remote_storage_remote_read_queries_total` counter to count total number of remote read queries. #7328 +* [ENHANCEMEMT] Added time range parameters for label names and label values API. #7288 +* [ENHANCEMENT] TSDB: Reduced contention in isolation for high load. #7332 +* [BUGFIX] PromQL: Eliminated collision while checking for duplicate labels. #7058 +* [BUGFIX] React UI: Don't null out data when clicking on the current tab. #7243 +* [BUGFIX] PromQL: Correctly track number of samples for a query. #7307 +* [BUGFIX] PromQL: Return NaN when histogram buckets have 0 observations. #7318 + ## 2.18.2 / 2020-06-09 * [BUGFIX] TSDB: Fix incorrect query results when using Prometheus with remote reads configured #7361 diff --git a/VERSION b/VERSION index 61dc3342f0..ef0f38abe1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.18.2 +2.19.0 diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 94801aa216..a972b24925 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -1184,7 +1184,7 @@ Metric relabeling is applied to samples as the last step before ingestion. It has the same configuration format and actions as target relabeling. Metric relabeling does not apply to automatically generated timeseries such as `up`. -One use for this is to blacklist time series that are too expensive to ingest. +One use for this is to exclude time series that are too expensive to ingest. ### `` diff --git a/tsdb/chunks/head_chunks.go b/tsdb/chunks/head_chunks.go index 486d498d83..a7edbe982c 100644 --- a/tsdb/chunks/head_chunks.go +++ b/tsdb/chunks/head_chunks.go @@ -78,13 +78,16 @@ func (e *CorruptionErr) Error() string { // ChunkDiskMapper is for writing the Head block chunks to the disk // and access chunks via mmapped file. type ChunkDiskMapper struct { + // Keep all 64bit atomically accessed variables at the top of this struct. + // See https://golang.org/pkg/sync/atomic/#pkg-note-BUG for more info. + curFileNumBytes int64 // Bytes written in current open file. + /// Writer. dir *os.File curFile *os.File // File being written to. curFileSequence int // Index of current open file being appended to. curFileMaxt int64 // Used for the size retention. - curFileNumBytes int64 // Bytes written in current open file. byteBuf [MaxHeadChunkMetaSize]byte // Buffer used to write the header of the chunk. chkWriter *bufio.Writer // Writer for the current open file.