- The
ifql
section in the configuration has been changed toflux
and it is enabled by default on port:8082
.
- #10005: Missing hardwareAddr in uuid v1 generation.
- #10246: Fix the inherited interval for derivative and others.
- #10333: Fix subquery functionality when a function references a tag from the subquery.
- #10333: Strip tags from a subquery when the outer query does not group by that tag.
- If math is used with the same selector multiple times, it will now act as a selector rather than an aggregate. See #9563 for details.
- #9429: Support proxy environment variables in the influx client.
- #9499: Implement basic trigonometry functions.
- #9643: Add ability to delete many series with predicate.
- #9632: Implement floor, ceil, and round functions.
- #9399: Allow customizing the unix socket group and permissions created by the server.
- #9620: Add more math functions to influxql.
- #9757: Add suppress-write-log option to disable the write log when the log is enabled.
- #9260: Add additional technical analysis algorithms.
- #8034: Validate points on input.
- #9777: Log information about index version during startup.
- #9793: Add key sanitization to deletetsm.
- #9791: Optimize the spread function to process points iteratively instead of in batch.
- #9649: Allow math functions to be used in the condition.
- #9822: Implement SHOW STATS FOR 'indexes'.
- #9832: Add dumptsmwal command to influx_inspect.
- #9967: Use storage package for Prometheus remote read.
- #9856: Parallelize compression/decompression during backup and restore.
- #9959: Improve the number of regex patterns that are optimized to static OR conditions.
- #10044: Implement bitset iterator.
- #10102: Remove max concurrent compaction limit.
- #10122: Add roaring bitmaps to TSI index files.
- #10152: Add option to hint MADV_WILLNEED to kernel.
- #9939: Add configuration parameter to expose rate limit for TSM compaction.
- #10190: Reduce allocations in TSI TagSets implementation.
- #10215: Switch digests to use snappy compression.
- #10321: Changes /ping route to return status code 200 instead of 204 when verbose is set.
- #9553: Support setting the log level through the environment variable.
- #9551: Fix panic when checking fieldsets.
- #9573: Ensure correct number of tags parsed when commas used.
- #9580: Fix data race in WAL.
- #9586: Allow SHOW SERIES kill.
- #9612: Revert "Use MADV_WILLNEED when loading TSM files".
- #9633: Fix regression to allow now() to be used as the group by offset again.
- #9647: Delete deleted shards in retention service.
- #9659: Ignore index size in Engine.DiskSize().
- #9661: Fix buildtsi partition key.
- #9665: Enable casting values from a subquery.
- #9682: Avoid a panic when using show diagnostics with text/csv.
- #9696: Properly track the response bytes written for queries in all format types.
- #9615: Remove error for series file when no shards exist.
- #9751: Fix the validation for multiple nested distinct calls.
- #9792: TSM: TSMReader.Close blocks until reads complete
- #9858: Return the correct auxiliary values for top/bottom.
- #9866: Close TSMReaders from FileStore.Close after releasing FileStore mutex.
- #9918: TSM1 Open Limiter.
- #9928: TSM: Enforce OpenLimiter must not be nil.
- #9921: buildtsi: Do not escape measurement names.
- #9969: Add retention policy flag to CLI queries.
- #9972: TSM: Fix ShouldCompactCache without WAL.
- #10002: Improve series segment recovery.
- #9977: Allow value filtering on SHOW TAG VALUES.
- #10051: Update example config with UDP precision option.
- #10094: Fix a panic when matching on a specific type of regular expression.
- #10175: tsdb: Copy return value of IndexSet.MeasurementNamesByExpr.
- #10181: Fix line protocol parsing panic.
- #10212: Ensure orhpaned series cleaned up with shard drop.
- #10262: Fix the derivative and others time ranges for aggregate data.
- #9903: Add optional pprof http endpoint immediately on startup.
- #9765: Fix the validation for multiple nested distinct calls.
- #9869: Return the correct auxiliary values for top/bottom.
- #9638: backport: check for failure case where backup dir has no manifest files.
- #9651: Fix regression to allow now() to be used as the group by offset again.
- #9614: 1.5: Revert "Use MADV_WILLNEED when loading TSM files".
- #9660: Ignore index size in Engine.DiskSize().
- #9662: [1.5] Fix buildtsi partition key.
- #9676: Ensure that conditions are encoded correctly even if the AST is not properly formed.
- #9542: Allow time variable to be case insensitive again.
- #9564: Support setting the log level through the environment variable.
- #9575: Ensure correct number of tags parsed.
- #9566: Fix panic when checking fieldsets.
- #9587: Fix data race in WAL.
- #8495: Improve CLI connection warnings
- #3019: Backup utility prints a list of backup files.
- #9146: Backup/Restore can produce/consume data in the same format as the enterprise backup/restore tool.
- #8880: Restore runs in online mode, does not delete existing databases
- #8879: Export functionality using start/end to filter exported data by timestamp
- #9084: Handle high cardinality deletes in TSM engine
- #9162: Improve inmem index startup performance for high cardinality.
- #8491: Add further tsi support for streaming/copying shards.
- #9181: Schedule a full compaction after a successful import
- #9218: Add Prometheus
/metrics
endpoint. - #9213: Add ability to generate shard digests.
- #9184: Allow setting the node id in the influx cli program.
- #9056: Add logging configuration to the main configuration file.
- #9445: Suppress the InfluxDB banner if the log output is not a TTY.
- #9449: Added option to write HTTP request logs to separate file.
- #9454: Update logging calls to take advantage of structured logging.
- #9456: Generate trace logs for a number of important InfluxDB operations.
- #9488: Improve startup time of inmem index.
- #9095: Refuse extra arguments to influx CLI
- #9058: Fix space required after regex operator. Thanks @stop-start!
- #9109: Fix: panic: sync: WaitGroup is reused before previous Wait has returned
- #9163: Fix race condition in the merge iterator close method.
- #9144: Fix query compilation so multiple nested distinct calls is allowable
- #8789: Fix CLI to allow quoted database names in use statement
- #9208: Updated client 4xx error message when response body length is zero.
- #9230: Remove extraneous newlines from the log.
- #9226: Allow lone boolean literals in a condition expression.
- #9235: Improve performance when writes exceed
max-values-per-tag
ormax-series
. - #9216: Prevent a panic when a query simultaneously finishes and is killed at the same time.
- #9255: Fix missing sorting of blocks by time when compacting.
- #9327: wal: update lastWriteTime behavior
- #9290: Fix regression to allow binary operations on literals.
- #9342: Fix data races in tcp.Mux and tcp.listener
- #9353: Fix panic in msgpack httpd WriteResponse error handler.
- #9335: Prevent race condition caused by WaitGroup re-use
- #9386: Fix stddev() call to report itself as always returning a float.
- #9401: Fix windows history file location.
- #9403: Do not explicitly specify ports 80 or 443 when they are the default port.
- #8878: Do not report an error when dropping a CQ on a non-existent DB/RP.
- #9423: Fix imports of multiple databases in a single import file from
influx -import
. - #9443: Fix regression when math between literals is used in a field.
- #9464: Re-open last WAL segment.
- #9470: Make closing TSM cursors idempotent.
- #9489: Add dumptsi path error handling..
- #9493: Fix the implicit time range in a subquery.
- #9491: Evaluate a true boolean literal when calculating tag sets.
- #9496: Fix panic on tsi1 log replay of deleted series..
- #9510: Fix TSI log file recovery.
- #9513: Fix missing Store.Close() unlock.
The default value for cache-snapshot-memory-size
has been changed from 25m
to 256m
.
- #9201: Fix higher disk i/o utilization
Refer to the 1.4.0 breaking changes section if influxd
fails to start with an incompatible tsi1 index MANIFEST
error.
- #9117: Fix panic: runtime error: slice bounds out of range
- #9105: Fix descending cursors and range queries via IFQL RPC API.
You can no longer specify a different ORDER BY
clause in a subquery than the one in the top level query. This functionality never worked properly, but was not explicitly forbidden.
As part of the ongoing development of the tsi1
index, the implementation of a Bloom Filter, used to efficiently determine if series are not present in the index, was altered in #8857. While this significantly increases the performance of the index and reduces its memory consumption, the existing tsi1
indexes created while running previous versions of the database are not compatible with 1.4.0.
Users with databases using the tsi1
index must go through the following process to upgrade to 1.4.0:
- Stop
influxd
. - Remove all
index
directories on databases using thetsi1
index. With default configuration these can be found in/var/lib/influxdb/data/DB_NAME/RP_NAME/SHARD_ID/index
or~/.influxdb/data/DB_NAME/RP_NAME/SHARD_ID/index
. It's worth noting at this point how many differentshard_ids
you visit. - Run the
influx_inspect inmem2tsi
tool using the shard's data and WAL directories for -datadir and -waldir, respectively. Given the example in step (2) that would beinflux_inspect inmem2tsi -datadir /var/lib/influxdb/data/DB_NAME/RP_NAME/SHARD_ID -waldir /path/to/influxdb/wal/DB_NAME/RP_NAME/SHARD_ID
. - Repeat step (3) for each shard that needs to be converted.
- Start
influxd
.
Users with existing tsi1
shards, who attempt to start version 1.4.0 without following the above steps, will find the shards refuse to open, and will most likely see the following error message:
incompatible tsi1 index MANIFEST
parse-multivalue-plugin
was added with a default ofsplit
. When set tosplit
, multivalue plugin data (e.g. df free:5000,used:1000) will be split into separate measurements (e.g., (df_free, value=5000) (df_used, value=1000)). When set tojoin
, multivalue plugin will be stored as a single multi-value measurement (e.g., (df, free=5000,used=1000)).
- #8574: Add 'X-Influxdb-Build' to http response headers so users can identify if a response is from an OSS or Enterprise service.
- #8426: Add
parse-multivalue-plugin
to allow users to choose how multivalue plugins should be handled by the collectd service. - #8548: Allow panic recovery to be disabled when investigating server issues.
- #8525: Support http pipelining for /query endpoint.
- #8652: Reduce allocations when reading data
- #8592: Mutex profiles are now available.
- #8669: TSI Index Migration Tool
- #7195: Support SHOW CARDINALITY queries.
- #8711: Batch up writes for monitor service
- #8572: All errors from queries or writes are available via X-InfluxDB-Error header, and 5xx error messages will be written to server logs.
- #8662: Improve test coverage across both indexes.
- #8611: Respect X-Request-Id/Request-Id headers.
- #8572: InfluxDB now uses MIT licensed version of BurntSushi/toml.
- #8752: Use system cursors for measurement, series, and tag key meta queries.
- #6563: Support Ctrl+C to cancel a running query in the Influx CLI. Thanks @emluque!
- #8776: Initial implementation of explain plan.
- #8791: Include the number of scanned cached values in the iterator cost.
- #8784: Add support for the Prometheus remote read and write APIs.
- #8851: Improve performance of
Include
andExclude
functions - #8854: Report the task status for a query.
- #8853: Reduce allocations, improve
readEntries
performance by simplifying loop - #8830: Separate importer log statements to stdout and stderr.
- #8857: Improve performance of Bloom Filter in TSI index.
- #8897: Add message pack format for query responses.
- #8886: Improved compaction scheduling
- #8690: Implicitly decide on a lower limit for fill queries when none is present.
- #8947: Add
EXPLAIN ANALYZE
command, which produces a detailed execution plan of aSELECT
statement. - #8963: Streaming inmem2tsi conversion.
- #8995: Sort & validate TSI key value insertion.
- #8968: Make client errors more helpful on downstream errs. Thanks @darkliquid!
- #8984: EXACT and estimated CARDINALITY queries.
- #8893: Handle nil MeasurementIterator.
- #8986: Add long-line support to client importer. Thanks @lets00!
- #9021: Update to go 1.9.2
- #8891: Allow human-readable byte sizes in config
- #9073: Improve SHOW TAG KEYS performance.
- #7355: Create a command to truncate shard groups
- #8480: Change the default stats interval to 1 second instead of 10 seconds.
- #8466: illumos build broken on syscall.Mmap
- #8124: Prevent privileges on non-existent databases from being set.
- #8461 influxd backup tool will now separate out its logging to stdout and stderr. Thanks @xginn8!
- #8558: Dropping measurement used several GB disk space
- #8569: Fix the cq start and end times to use unix timestamps.
- #8590: influx cli case sensitivity.
- #8601: Fixed time boundaries for continuous queries with time zones.
- #8097: Return query parsing errors in CSV formats.
- #8607: Fix time zone shifts when the shift happens on a time zone boundary.
- #8639: Parse time literals using the time zone in the select statement.
- #8694: Reduce CPU usage when checking series cardinality
- #8677: Fix backups when snapshot is empty.
- #8706: Cursor leak, resulting in an accumulation of
.tsm.tmp
files after compactions. - #8712: Improve condition parsing.
- #8716: Ensure inputs are closed on error. Add runtime GC finalizer as additional guard to close iterators
- #8695: Fix merging bug on system iterators.
- #8699: Force subqueries to match the parent queries ordering.
- #8755: Fix race condition accessing
seriesByID
map. - #8766: Fix deadlock when calling
SeriesIDsAllOrByExpr
- #8638: Fix
influx_inspect export
so it skips missing files. - #8770: Reduce how long it takes to walk the varrefs in an expression.
- #8787: panic: runtime error: invalid memory address or nil pointer dereference.
- #8697: Drop Series Cause Write Fail/Write Timeouts/High Memory Usage
- #8741: Fix increased memory usage in cache and wal readers
- #8749: An OSS read-only user should be able to list measurements on a database
- #8678: Ensure time and tag-based condition can be used with tsi1 index when deleting.
- #8848: Prevent deadlock when doing math on the result of a subquery.
- #8895: Fix a minor memory leak in batching points in tsdb.
- #8900: Don't assume
which
is present in package post-install script. - #8908: Fix missing man pages in new packaging output
- #8909: Fix use of
INFLUXD_OPTS
in service file - #8952: Fix WAL panic: runtime error: makeslice: cap out of range
- #8975: Copy returned bytes from TSI meta functions.
- #7797: Fix data deleted outside of time range
- #8822: Fix data dropped incorrectly during compaction
- #8780: Prevent deadlock during collectd, graphite, opentsdb, and udp shutdown.
- #8983: Remove the pidfile after the server has exited.
- #9005: Return
query.ErrQueryInterrupted
for successful read onInterruptCh
. - #8989: Fix race inside Measurement index.
- #8819: Ensure retention service always removes local shards.
- #8965: Handle utf16 files when reading the configuration file.
- #8538: Fix panic: runtime error: slice bounds out of range
- #8900: Don't assume
which
is present in package post-install script. - #8909: Fix use of
INFLUXD_OPTS
in service file - #8908: Fix missing man pages in new packaging output
- #8951: Add RPM dependency on shadow-utils for
useradd
. - #7797: Fix data deleted outside of time range
- #8822: Fix data dropped incorrectly during compaction
- #9006: Return
query.ErrQueryInterrupted
for a successful read onInterruptCh
. - #8978: Copy returned bytes from TSI meta functions.
- #8770: Reduce how long it takes to walk the varrefs in an expression.
- #8787: panic: runtime error: invalid memory address or nil pointer dereference.
- #8741: Fix increased memory usage in cache and wal readers
- #8848: Prevent deadlock when doing math on the result of a subquery.
- #8842: Fix several races in the shard and engine.
- #8887: Fix race on cache entry.
- #8755: Fix race condition accessing
seriesByID
map. - #8766: Fix deadlock when calling
SeriesIDsAllOrByExpr
- #8601: Fixed time boundaries for continuous queries with time zones.
- #8607: Fix time zone shifts when the shift happens on a time zone boundary.
- #8639: Parse time literals using the time zone in the select statement.
- #8701: Fix drop measurement not dropping all data
- #8677: Fix backups when snapshot is empty.
- #8706: Cursor leak, resulting in an accumulation of
.tsm.tmp
files after compactions. - #8713: Deadlock when dropping measurement and writing
- #8716: Ensure inputs are closed on error. Add runtime GC finalizer as additional guard to close iterators
- #8726: Fix leaking tmp file when large compaction aborted
- #8711: Batch up writes for monitor service
- #8681: Resolves a memory leak when NewReaderIterator creates a nilFloatIterator, the reader is not closed
- #8629: Interrupt in progress TSM compactions
- #8630: Prevent excessive memory usage when dropping series
- #8640: Significantly improve performance of SHOW TAG VALUES.
- #8559: Ensure temporary TSM files get cleaned up when compaction aborted.
- #8500: InfluxDB goes unresponsive
- #8531: Duplicate points generated via INSERT after DELETE
- #8569: Fix the cq start and end times to use unix timestamps.
When enabled, each time a continuous query is completed, a number of details regarding the execution are written to the cq_query
measurement of the internal monitor database (_internal
by default). The tags and fields of interest are
tag / field | description |
---|---|
db |
name of database |
cq |
name of continuous query |
durationNS |
query execution time in nanoseconds |
startTime |
lower bound of time range |
endTime |
upper bound of time range |
pointsWrittenOK |
number of points written to the target measurement |
startTime
andendTime
are UNIX timestamps, in nanoseconds.- The number of points written is also included in CQ log messages.
The admin UI is removed and unusable in this release. The [admin]
configuration section will be ignored.
- The top-level config
bind-address
now defaults tolocalhost:8088
. The previous default was just:8088
, causing the backup and restore port to be bound on all available interfaces (i.e. including interfaces on the public internet).
The following new configuration options are available.
max-body-size
was added with a default of 25,000,000, but can be disabled by setting it to 0. Specifies the maximum size (in bytes) of a client request body. When a client sends data that exceeds the configured maximum size, a413 Request Entity Too Large
HTTP response is returned.
query-stats-enabled
was added with a default offalse
. When set totrue
, continuous query execution statistics are written to the default monitor store.
- #8512: Switch to LogLog-Beta Cardinality estimation
- #8143: Add WAL sync delay
- #7977: Add chunked request processing back into the Go client v2
- #7974: Allow non-admin users to execute SHOW DATABASES.
- #7948: Reduce memory allocations by reusing gzip.Writers across requests
- #7776: Add system information to /debug/vars.
- #7553: Add modulo operator to the query language.
- #7856: Failed points during an import now result in a non-zero exit code.
- #7821: Expose some configuration settings via SHOW DIAGNOSTICS
- #8025: Support single and multiline comments in InfluxQL.
- #6541: Support timezone offsets for queries.
- #8194: Add "integral" function to InfluxQL.
- #7393: Add "non_negative_difference" function to InfluxQL.
- #8042: Add bitwise AND, OR and XOR operators to the query language.
- #8302: Write throughput/concurrency improvements
- #8273: Remove the admin UI.
- #8327: Update to go1.8.1
- #8348: Add max concurrent compaction limits
- #8366: Add TSI support tooling.
- #8350: Track HTTP client requests for /write and /query with /debug/requests.
- #8384: Write and compaction stability
- #7862: Add new profile endpoint for gathering all debug profiles and querues in single archive.
- #8390: Add nanosecond duration literal support.
- #8394: Optimize top() and bottom() using an incremental aggregator.
- #7129: Maintain the tags of points selected by top() or bottom() when writing the results.
- #8188: Write CQ stats to _internal
- #8187: Several statements were missing the DefaultDatabase method
- #8231: Fix spelling mistake in HTTP section of config -- shared-sercret
- #8190: History file should redact passwords before saving to history.
- #8122: Suppress headers in output for influx cli when they are the same.
- #8119: Add chunked/chunk size as setting/options in cli.
- #8091: Do not increment the continuous query statistic if no query is run.
- #8064: Forbid wildcards in binary expressions.
- #8148: Fix fill(linear) when multiple series exist and there are null values.
- #7995: Update liner dependency to handle docker exec.
- #7835: Bind backup and restore port to localhost by default
- #7811: Kill query not killing query
- #7457: KILL QUERY should work during all phases of a query
- #8155: Simplify admin user check.
- #8118: Significantly improve DROP DATABASE speed.
- #8181: Return an error when an invalid duration literal is parsed.
- #8093: Fix the time range when an exact timestamp is selected.
- #8174: Fix query parser when using addition and subtraction without spaces.
- #8167: Fix a regression when math was used with selectors.
- #8175: Ensure the input for certain functions in the query engine are ordered.
- #8171: Significantly improve shutdown speed for high cardinality databases.
- #8177: Fix racy integration test.
- #8230: Prevent overflowing or underflowing during window computation.
- #8058: Enabled golint for admin, httpd, subscriber, udp. @karlding
- #8252: Implicitly cast null to false in binary expressions with a boolean.
- #8067: Restrict fill(none) and fill(linear) to be usable only with aggregate queries.
- #8065: Restrict top() and bottom() selectors to be used with no other functions.
- #8266: top() and bottom() now returns the time for every point.
- #8315: Remove default upper time bound on DELETE queries.
- #8066: Fix LIMIT and OFFSET for certain aggregate queries.
- #8045: Refactor the subquery code and fix outer condition queries.
- #7425: Fix compaction aborted log messages
- #8123: TSM compaction does not remove .tmp on error
- #8343: Set the CSV output to an empty string for null values.
- #8368: Compaction exhausting disk resources in InfluxDB
- #8358: Small edits to the etc/config.sample.toml file.
- #8392: Points beyond retention policy scope are dropped silently
- #8387: Fix TSM tmp file leaked on disk
- #8417: Fix large field keys preventing snapshot compactions
- #7957: URL query parameter credentials take priority over Authentication header.
- #8443: TSI branch has duplicate tag values.
- #8299: Out of memory when using HTTP API
- #8455: Check file count before attempting a TSI level compaction.
- #8470: index file fd leak in tsi branch
- #8468: Fix TSI non-contiguous compaction panic.
- #8500: InfluxDB goes unresponsive
- #8338: Prefix partial write errors with
partial write:
to generalize identification in other subsystems
- #8190: History file should redact passwords before saving to history.
- #8187: Several statements were missing the DefaultDatabase method
- #8022: Segment violation in models.Tags.Get
- #8155: Simplify admin user check.
- #8167: Fix a regression when math was used with selectors.
- #8175: Ensure the input for certain functions in the query engine are ordered.
- #8254: Fix delete time fields creating unparseable points
max-row-limit
now defaults to0
. The previous default was10000
, but due to a bug, the value in use since1.0
was0
.
- #8050: influxdb & grafana, absence of data on the graphs
- #8100: Include IsRawQuery in the rewritten statement for meta queries.
- #8095: Fix race in WALEntry.Encode and Values.Deduplicate
- #8085: panic: interface conversion: tsm1.Value is tsm1.IntegerValue, not tsm1.FloatValue.
- #8084: Points missing after compaction
- #8080: Point.UnmarshalBinary() bounds check
- #8078: Map types correctly when selecting a field with multiple measurements where one of the measurements is empty.
- #8044: Treat non-reserved measurement names with underscores as normal measurements.
- #8040: Reduce the expression in a subquery to avoid a panic.
- #8028: Fix panic in collectd when configured to read types DB from directory.
- #8001: Map types correctly when using a regex and one of the measurements is empty.
- #7968: Properly select a tag within a subquery.
- #7966: Prevent a panic when aggregates are used in an inner query with a raw query.
- #7946: Fix authentication when subqueries are present.
- #7910: Fix EvalType when a parenthesis expression is used.
- #7906: Anchors not working as expected with case-insensitive regex
- #7905: Fix ORDER BY time DESC with ordering series keys.
- #7895: Fix incorrect math when aggregates that emit different times are used.
- #7888: Expand query dimensions from the subquery.
- #7885: Fix LIMIT and OFFSET when they are used in a subquery.
- #7880: Dividing aggregate functions with different outputs doesn't panic.
- #7877: Fix mapping of types when the measurement uses a regex
This release introduces a major new querying capability in the form of sub-queries, and provides several performance improvements, including a 50% or better gain in write performance on larger numbers of cores. The release adds some stability and memory-related improvements, as well as several CLI-related bug fixes. If upgrading from a prior version, please read the configuration changes in the following section before upgrading.
The following new configuration options are available, if upgrading to 1.2.0
from prior versions.
security-level
which defaults to"none"
. This field also accepts"sign"
and"encrypt"
and enables different levels of transmission security for the collectd plugin.auth-file
which defaults to"/etc/collectd/auth_file"
. Specifies where to locate the authentication file used to authenticate clients when using signed or encrypted mode.
The stress tool influx_stress
will be removed in a subsequent release. We recommend using influx-stress
as a replacement.
- #7830: Cache snapshotting performance improvements
- #7723: Remove the override of GOMAXPROCS.
- #7709: Add clear command to cli.
- #7688: Adding ability to use parameters in queries in the v2 client using the
Parameters
map in theQuery
struct. - #7669: Uncomment section headers from the default configuration file.
- #7633: improve write performance significantly.
- #7601: Prune data in meta store for deleted shards.
- #7554: update latest dependencies with Godeps.
- #7368: Introduce syntax for marking a partial response with chunking.
- #7356: Use X-Forwarded-For IP address in HTTP logger if present.
- #7326: Verbose output for SSL connection errors.
- #7323: Allow add items to array config via ENV
- #7066: Add support for secure transmission via collectd.
- #7036: Switch logging to use structured logging everywhere.
- #4619: Support subquery execution in the query language.
- #3188: [CLI feature request] USE retention policy for queries.
- #7845: Fix race in storage engine.
- #7838: Ensure Subscriber service can be disabled.
- #7822: Drop database will delete /influxdb/data directory
- #7814: InfluxDB should do a partial write on mismatched type errors.
- #7812: Fix slice out of bounds panic when pruning shard groups. Thanks @vladlopes
- #7786: Fix potential race condition in correctness of tsm1_cache memBytes statistic.
- #7784: Fix broken error return on meta client's UpdateUser and DropContinuousQuery methods.
- #7741: Fix string quoting and significantly improve performance of
influx_inspect export
. - #7740: Fix parse key panic when missing tag value @oiooj
- #7698: CLI was caching db/rp for insert into statements.
- #7659: Fix CLI import bug when using self-signed SSL certificates.
- #7656: Fix cross-platform backup/restore @allenpetersen
- #7650: Ensures that all user privileges associated with a database are removed when the database is dropped.
- #7634: Return the time from a percentile call on an integer.
- #7621: Expand string and boolean fields when using a wildcard with
sample()
. - #7616: Fix chuid argument order in init script @ccasey
- #7615: Reject invalid subscription urls @allenpetersen
- #7585: Return Error instead of panic when decoding point values.
- #7563: RP should not allow
INF
or0
as a shard duration. - #7396: CLI should use spaces for alignment, not tabs.
- #6527: 0.12.2 Influx CLI client PRECISION returns "Unknown precision....
- #8190: History file should redact passwords before saving to history.
- #8187: Several statements were missing the DefaultDatabase method
- #8063: Backport #7631 to reduce GC allocations.
- #8027: Remove Tags.shouldCopy, replace with forceCopy on series creation.
- #7832: Fix memory leak when writing new series over HTTP
- #7929: Fix series tag iteration segfault. (#7922)
- #8011: Fix tag dereferencing panic.
- #7684: Update Go version to 1.7.4.
- #7679: Fix string fields w/ trailing slashes
- #7661: Quote the empty string as an ident.
- #7625: Fix incorrect tag value in error message.
Go 1.7.4 was released to address two security issues. This release includes these security fixes.
This release is built with go 1.7.3 and provides many performance optimizations, stability changes and a few new query capabilities. If upgrading from a prior version, please read the configuration changes below section before upgrading.
The admin interface is deprecated and will be removed in a subsequent release. The configuration setting to enable the admin UI is now disabled by default, but can be enabled if necessary. We recommend using Chronograf or Grafana as a replacement.
The following configuration changes may need to changed before upgrading to 1.1.0
from prior versions.
enabled
now default to false. If you are currently using the admin interaface, you will need to change this value totrue
to re-enable it. The admin interface is currently deprecated and will be removed in a subsequent release.
max-values-per-tag
was added with a default of 100,000, but can be disabled by setting it to0
. Existing measurements with tags that exceed this limit will continue to load, but writes that would cause the tags cardinality to increase will be dropped and apartial write
error will be returned to the caller. This limit can be used to prevent high cardinality tag values from being written to a measurement.cache-max-memory-size
has been increased to from524288000
to1048576000
. This setting is the maximum amount of RAM, in bytes, a shard cache can use before it rejects writes with an error. Setting this value to0
disables the limit.cache-snapshot-write-cold-duration
has been decreased from1h
to10m
. This setting determines how long values will stay in the shard cache while the shard is cold for writes.compact-full-write-cold-duration
has been decreased from24h
to4h
. The shorter duration allows cold shards to be compacted to an optimal state more quickly.
The query language has been extended with a few new features:
- #7442: Support regex on fields keys in select clause
- #7403: New
linear
fill option - #7388: New
cumulative_sum
function - #7295: Support
ON
forSHOW
commands
All Changes:
- #7496: Filter out series within shards that do not have data for that series.
- #7495: Rewrite regexes of the form host = /^server-a$/ to host = 'server-a', to take advantage of the tsdb index.
- #7480: Improve compaction planning performance by caching tsm file stats.
- #7473: Align binary math expression streams by time.
- #7470: Reduce map allocations when computing the TagSet of a measurement.
- #7463: Make input plugin services open/close idempotent.
- #7441: Speed up shutdown by closing shards concurrently.
- #7415: Add sample function to query language.
- #7403: Add
fill(linear)
to query language. - #7388: Implement cumulative_sum() function.
- #7320: Update defaults in config for latest best practices
- #7305: UDP Client: Split large points. Thanks @vlasad
- #7281: Add stats for active compactions, compaction errors.
- #7268: More man pages for the other tools we package and compress man pages fully.
- #7146: Add max-values-per-tag to limit high tag cardinality data
- #7136: Update jwt-go dependency to version 3.
- #7135: Support enable HTTP service over unix domain socket. Thanks @oiooj
- #7120: Add additional statistics to query executor.
- #7115: Feature request:
influx inspect -export
should dump WAL files. - #7099: Implement text/csv content encoding for the response writer.
- #6992: Support tools for running async queries.
- #6962: Support ON and use default database for SHOW commands.
- #6896: Correctly read in input from a non-interactive stream for the CLI.
- #6894: Support
INFLUX_USERNAME
andINFLUX_PASSWORD
for setting username/password in the CLI. - #6704: Optimize first/last when no group by interval is present.
- #5955: Make regex work on field and dimension keys in SELECT clause.
- #4461: Change default time boundaries for raw queries.
- #3634: Support mixed duration units.
- #7606: Avoid deadlock when
max-row-limit
is hit. - #7564: Fix incorrect grouping when multiple aggregates are used with sparse data.
- #7548: Fix output duration units for SHOW QUERIES.
- #7526: Truncate the version string when linking to the documentation.
- #7494: influx_inspect: export does not escape field keys.
- #7482: Fix issue where point would be written to wrong shard.
- #7448: Fix Retention Policy Inconsistencies
- #7436: Remove accidentally added string support for the stddev call.
- #7431: Remove /data/process_continuous_queries endpoint.
- #7392: Enable https subscriptions to work with custom CA certificates.
- #7385: Reduce query planning allocations
- #7382: Shard stats include wal path tag so disk bytes make more sense.
- #7334: Panic with unread show series iterators during drop database
- #7297: Use consistent column output from the CLI for column formatted responses.
- #7285: Correctly use password-type field in Admin UI. Thanks @dandv!
- #7231: Duplicate parsing bug in ALTER RETENTION POLICY.
- #7226: Fix database locked up when deleting shards
- #7196: Fix mmap dereferencing, fixes #7183, #7180
- #7177: Fix base64 encoding issue with /debug/vars stats.
- #7161: Drop measurement causes cache max memory exceeded error.
- #7152: Decrement number of measurements only once when deleting the last series from a measurement.
- #7053: Delete statement returns an error when retention policy or database is specified
- #7013: Fix the dollar sign so it properly handles reserved keywords.
- #2792: Exceeding max retention policy duration gives incorrect error message
- #1834: Drop time when used as a tag or field key.
- #7391: Fix RLE integer decoding producing negative numbers
- #7335: Avoid stat syscall when planning compactions
- #7330: Subscription data loss under high write load
- #7150: Do not automatically reset the shard duration when using ALTER RETENTION POLICY
- #5878: Ensure correct shard groups created when retention policy has been altered.
- #7315: Prevent users from manually using system queries since incorrect use would result in a panic.
- #7299: Ensure fieldsCreated stat available in shard measurement.
- #7272: Report cmdline and memstats in /debug/vars.
- #7271: Fixing typo within example configuration file. Thanks @andyfeller!
- #7270: Implement time math for lazy time literals.
- #7226: Fix database locked up when deleting shards
- #7110: Skip past points at the same time in derivative call within a merged series.
- #6846: Read an invalid JSON response as an error in the influx client.
max-series-per-database
was added with a default of 1M but can be disabled by setting it to0
. Existing databases with series that exceed this limit will continue to load but writes that would create new series will fail.- Config option
[cluster]
has been replaced with[coordinator]
- Support for config options
[collectd]
and[opentsdb]
has been removed; use[[collectd]]
and[[opentsdb]]
instead. - Config option
data-logging-enabled
within the[data]
section, has been renamed totrace-logging-enabled
, and defaults tofalse
. - The keywords
IF
,EXISTS
, andNOT
where removed for this release. This means you no longer need to specifyIF NOT EXISTS
forDROP DATABASE
orIF EXISTS
forCREATE DATABASE
. If these are specified, a query parse error is returned. - The Shard
writePointsFail
stat has been renamed towritePointsErr
for consistency with other stats.
With this release the systemd configuration files for InfluxDB will use the system configured default for logging and will no longer write files to /var/log/influxdb
by default. On most systems, the logs will be directed to the systemd journal and can be accessed by journalctl -u influxdb.service
. Consult the systemd journald documentation for configuring journald.
- #7199: Add mode function. Thanks @agaurav.
- #7194: Support negative timestamps for the query engine.
- #7172: Write path stats
- #7095: Add MaxSeriesPerDatabase config setting.
- #7065: Remove IF EXISTS/IF NOT EXISTS from influxql language.
- #7050: Update go package library dependencies.
- #7046: Add tsm file export to influx_inspect tool.
- #7011: Create man pages for commands.
- #6959: Return 403 Forbidden when authentication succeeds but authorization fails.
- #6938: Added favicon
- #6928: Run continuous query for multiple buckets rather than one per bucket.
- #6909: Log the CQ execution time when continuous query logging is enabled.
- #6900: Trim BOM from Windows Notepad-saved config files.
- #6889: Update help and remove unused config options from the configuration file.
- #6820: Add NodeID to execution options
- #6812: Make httpd logger closer to Common (& combined) Log Format.
- #6805: Allow any variant of the help option to trigger the help.
- #6713: Reduce allocations during query parsing.
- #6686: Optimize timestamp run-length decoding
- #6664: Adds monitoring statistic for on-disk shard size.
- #6655: Add HTTP(s) based subscriptions.
- #6654: Add new HTTP statistics to monitoring
- #6623: Speed up drop database
- #6621: Add Holt-Winter forecasting function.
- #6609: Add support for JWT token authentication.
- #6593: Add ability to create snapshots of shards.
- #6585: Parallelize iterators
- #6559: Teach the http service how to enforce connection limits.
- #6519: Support cast syntax for selecting a specific type.
- #6507: Refactor monitor service to avoid expvar and write monitor statistics on a truncated time interval.
- #5906: Dynamically update the documentation link in the admin UI.
- #5750: Support wildcards in aggregate functions.
- #5655: Support specifying a retention policy for the graphite service.
- #5500: Add extra trace logging to tsm engine.
- #5499: Add stats and diagnostics to the TSM engine.
- #4532: Support regex selection in SHOW TAG VALUES for the key.
- #3733: Modify the default retention policy name and make it configurable.
- #3541: Update SHOW FIELD KEYS to return the field type with the field key.
- #2926: Support bound parameters in the parser.
- #1310: Add https-private-key option to httpd config.
- #1110: Support loading a folder for collectd typesdb files.
- #7243: Optimize queries that compare a tag value to an empty string.
- #7240: Allow blank lines in the line protocol input.
- #7225: runtime: goroutine stack exceeds 1000000000-byte limit
- #7218: Fix alter retention policy when all options are used.
- #7127: Concurrent series limit
- #7125: Ensure gzip writer is closed in influx_inspect export
- #7119: Fix CREATE DATABASE when dealing with default values.
- #7088: Fix UDP pointsRx being incremented twice.
- #7084: Tombstone memory improvements
- #7081: Hardcode auto generated RP names to autogen
- #7080: Ensure IDs can't clash when managing Continuous Queries.
- #7074: Continuous full compactions
- #7043: Remove limiter from walkShards
- #7032: Copy tags in influx_stress to avoid a concurrent write panic on a map.
- #7028: Do not run continuous queries that have no time span.
- #7025: Move the CQ interval by the group by offset.
- #6990: Fix panic parsing empty key
- #6986: update connection settings when changing hosts in cli.
- #6968: Always use the demo config when outputting a new config.
- #6965: Minor improvements to init script. Removes sysvinit-utils as package dependency.
- #6952: Fix compaction planning with large TSM files
- #6946: Duplicate data for the same timestamp
- #6942: Fix panic: truncate the slice when merging the caches.
- #6934: Fix regex binary encoding for a measurement.
- #6911: Fix fill(previous) when used with math operators.
- #6883: Rename dumptsmdev to dumptsm in influx_inspect.
- #6882: Remove a double lock in the tsm1 index writer.
- #6869: Remove FieldCodec from tsdb package.
- #6864: Allow a non-admin to call "use" for the influx cli.
- #6859: Set the condition cursor instead of aux iterator when creating a nil condition cursor.
- #6855: Update
stress/v2
to work with clusters, ssl, and username/password auth. Code cleanup - #6850: Modify the max nanosecond time to be one nanosecond less.
- #6835: Include sysvinit-tools as an rpm dependency.
- #6834: Add port to all graphite log output to help with debugging multiple endpoints
- #6829: Fix panic: runtime error: index out of range
- #6824: Remove systemd output redirection.
- #6819: Database unresponsive after DROP MEASUREMENT
- #6796: Out of Memory Error when Dropping Measurement
- #6771: Fix the point validation parser to identify and sort tags correctly.
- #6760: Prevent panic in concurrent auth cache write
- #6756: Set X-Influxdb-Version header on every request (even 404 requests).
- #6753: Prevent panic if there are no values.
- #6738: Time sorting broken with overwritten points
- #6727: queries with strings that look like dates end up with date types, not string types
- #6720: Concurrent map read write panic. Thanks @arussellsaw
- #6708: Drop writes from before the retention policy time window.
- #6702: Fix SELECT statement required privileges.
- #6701: Filter out sources that do not match the shard database/retention policy.
- #6693: Truncate the shard group end time if it exceeds MaxNanoTime.
- #6685: Batch SELECT INTO / CQ writes
- #6683: Fix compaction planning re-compacting large TSM files
- #6676: Ensures client sends correct precision when inserting points.
- #6672: Accept points with trailing whitespace.
- #6663: Fixing panic in SHOW FIELD KEYS.
- #6661: Disable limit optimization when using an aggregate.
- #6652: Fix panic: interface conversion: tsm1.Value is *tsm1.StringValue, not *tsm1.FloatValue
- #6650: Data race when dropping a database immediately after writing to it
- #6648: Make sure admin exists before authenticating query.
- #6644: Print the query executor's stack trace on a panic to the log.
- #6641: Fix read tombstones: EOF
- #6629: query-log-enabled in config not ignored anymore.
- #6624: Ensure clients requesting gzip encoded bodies don't receive empty body
- #6618: Optimize shard loading
- #6611: Queries slow down hundreds times after overwriting points
- #6607: SHOW TAG VALUES accepts != and !~ in WHERE clause.
- #6604: Remove old cluster code
- #6599: Ensure that future points considered in SHOW queries.
- #6595: Fix full compactions conflicting with level compactions
- #6557: Overwriting points on large series can cause memory spikes during compactions
- #6543: Fix parseFill to check for fill ident before attempting to parse an expression.
- #6406: Max index entries exceeded
- #6250: Slow startup time
- #6235: Fix measurement field panic in tsm1 engine.
- #5501: Queries against files that have just been compacted need to point to new files
- #2048: Check that retention policies exist before creating CQ
With this release InfluxDB is moving to Go v1.6.
- #6534: Move to Go v1.6.2 (over Go v1.4.3)
- #6533: Optimize SHOW SERIES
- #6522: Dump TSM files to line protocol
- #6502: Add ability to copy shard via rpc calls. Remove deprecated copier service.
- #6494: Support booleans for min() and max().
- #6484: Query language support for DELETE
- #6483: Delete series support for TSM
- #6444: Allow setting the config path through an environment variable and default config path.
- #6429: Log slow queries if they pass a configurable threshold.
- #6394: Allow time math with integer timestamps.
- #6334: Allow environment variables to be set per input type.
- #6292: Allow percentile to be used as a selector.
- #6290: Add POST /query endpoint and warning messages for using GET with write operations.
- #6263: Reduce UDP Service allocation size.
- #6237: Enable continuous integration testing on Windows platform via AppVeyor. Thanks @mvadu
- #6228: Support for multiple listeners for collectd and OpenTSDB inputs.
- #6213: Make logging output location more programmatically configurable.
- #5707: Return a deprecated message when IF NOT EXISTS is used.
- #5502: Add checksum verification to TSM inspect tool
- #4675: Allow derivative() function to be used with ORDER BY desc.
- #3558: Support field math inside a WHERE clause.
- #3247: Implement derivatives across intervals for aggregate queries.
- #3166: Sort the series keys inside of a tag set so output is deterministic.
- #2074: Support offset argument in the GROUP BY time(...) call.
- #1856: Add
elapsed
function that returns the time delta between subsequent points.
- #6505: Add regex literal to InfluxQL spec for FROM clause.
- #6496: Fix parsing escaped series key when loading database index
- #6495: Fix aggregate returns when data is missing from some shards.
- #6491: Fix the CLI not to enter an infinite loop when the liner has an error.
- #6480: Fix SHOW statements' rewriting bug
- #6477: Don't catch SIGQUIT or SIGHUP signals.
- #6470: Remove SHOW SERVERS & DROP SERVER support
- #6468: Panic with truncated wal segments
- #6462: Add safer locking to CreateFieldIfNotExists
- #6458: Make it clear when the CLI version is unknown.
- #6457: Retention policy cleanup does not remove series
- #6439: Overwriting points returning old values
- #6427: Fix setting uint config options via env vars
- #6425: Close idle tcp connections in HTTP client to prevent tcp conn leak.
- #6419: Fix panic in transform iterator on division. @thbourlove
- #6398: Fix CREATE RETENTION POLICY parsing so it doesn't consume tokens it shouldn't.
- #6382: Removed dead code from the old query engine.
- #6361: Fix cluster/pool release of connection
- #6296: Allow the implicit time field to be renamed again.
- #6294: Fix panic running influx_inspect info.
- #6287: Fix data race in Influx Client.
- #6283: Fix GROUP BY tag to produce consistent results when a series has no tags.
- #6277: Fix deadlock in tsm1/file_store
- #6270: tsm1 query engine alloc reduction
- #6261: High CPU usage and slow query with DISTINCT
- #6252: Remove TSDB listener accept message @simnv
- #6202: Check default SHARD DURATION when recreating the same database.
- #6109: Cache maximum memory size exceeded on startup
- #5890: Return the time with a selector when there is no group by interval.
- #3883: Improve query sanitization to prevent a password leak in the logs.
- #3773: Support empty tags for all WHERE equality operations.
- #3369: Detect when a timer literal will overflow or underflow the query engine.
- #6431: Fix panic in transform iterator on division. @thbourlove
- #6414: Send "Connection: close" header for queries.
- #6413: Prevent goroutine leak from persistent http connections. Thanks @aaronknister.
- #6383: Recover from a panic during query execution.
- #6379: Validate the first argument to percentile() is a variable.
- #6271: Fixed deadlock in tsm1 file store.
- #6257: CreateShardGroup was incrementing meta data index even when it was idempotent.
- #6248: Panic using incorrectly quoted "queries" field key.
- #6229: Fixed aggregate queries with no GROUP BY to include the end time.
- #6225: Refresh admin assets.
- #6223: Failure to start/run on Windows. Thanks @mvadu
- #6206: Handle nil values from the tsm1 cursor correctly.
- #6190: Fix race on measurementFields.
Upgrading to this release requires a little more than just installing the new binary and starting it up. The upgrade process is very quick and should only require a minute of downtime or less. Details on upgrading to 0.12 are here.
This release removes all of the old clustering code. It operates as a standalone server. For a free open source HA setup see the InfluxDB Relay.
- #6193: Fix TypeError when processing empty results in admin UI. Thanks @jonseymour!
- #6166: Teach influxdb client how to use chunked queries and use in the CLI.
- #6158: Update influxd to detect an upgrade from
0.11
to0.12
. Minor restore bug fixes. - #6149: Kill running queries when server is shutdown.
- #6148: Build script is now compatible with Python 3. Added ability to create detached signatures for packages. Build script now uses Python logging facility for messages.
- #6116: Allow
httpd
service to be extensible for routes - #6115: Support chunking query results mid-series. Limit non-chunked output.
- #6112: Implement simple moving average function.
- #6111: Add ability to build static assest. Improved handling of TAR and ZIP package outputs.
- #6102: Limit series count in selection
- #6079: Limit the maximum number of concurrent queries.
- #6078: Limit bucket count in selection.
- #6077: Limit point count in selection.
- #6075: Limit the maximum running time of a query.
- #6073: Iterator stats
- #6060: Add configurable shard duration to retention policies
- #6025: Remove deprecated JSON write path.
- #6012: Add DROP SHARD support.
- #5939: Support viewing and killing running queries.
- #5744: Add integer literal support to the query language.
- #5372: Faster shard loading
- #1825: Implement difference function.
- #6178: Ensure SHARD DURATION is checked when recreating a retention policy
- #6153: Check SHARD DURATION when recreating the same database
- #6152: Allow SHARD DURATION to be specified in isolation when creating a database
- #6140: Ensure Shard engine not accessed when closed.
- #6131: Fix write throughput regression with large number of measurments
- #6110: Fix for 0.9 upgrade path when using RPM
- #6094: Ensure CREATE RETENTION POLICY and CREATE CONTINUOUS QUERY are idempotent in the correct way.
- #6065: Wait for a process termination on influxdb restart @simnv
- #6061: [0.12 / master] POST to /write does not write points if request has header 'Content-Type: application/x-www-form-urlencoded'
- #5728: Properly handle semi-colons as part of the main query loop.
- #5554: Can't run in alpine linux
- #5252: Release tarballs contain specific attributes on '.'
- #5152: Fix where filters when a tag and a filter are combined with OR.
- #6168: Remove per measurement statsitics
- #6129: Fix default continuous query lease host
- #6121: Fix panic: slice index out of bounds in TSM index
- #6092: Upgrading directly from 0.9.6.1 to 0.11.0 fails
- #3932: Invalid timestamp format should throw an error.
There were some important breaking changes in this release. Here's a list of the important things to know before upgrading:
- SHOW SERIES output has changed. See new output in this test diff.
- SHOW TAG VALUES output has changed
- JSON write endpoint is disabled by default and will be removed in the next release. You can turn it back on in this release.
- b1/bz1 shards are no longer supported. You must migrate all old shards to TSM using the migration tool.
- On queries to create databases, retention policies, and users, the default behavior has changed to create
IF NOT EXISTS
. If they already exist, no error will be returned. - On queries with a selector like
min
,max
,first
, andlast
the time returned will be the time for the bucket of the group by window. Selectors for the time for the specific point will be added later.
- #5994: Single server
- #5862: Make Admin UI dynamically fetch both client and server versions
- #5844: Tag TSM engine stats with database and retention policy
- #5758: TSM engine stats for cache, WAL, and filestore. Thanks @jonseymour
- #5737: Admin UI: Display results of multiple queries, not just the first query. Thanks @Vidhuran!
- #5720: Admin UI: New button to generate permalink to queries
- #5706: Cluster setup cleanup
- #5691: Remove associated shard data when retention policies are dropped.
- #5681: Stats: Add durations, number currently active to httpd and query executor
- #5666: Manage dependencies with gdm
- #5602: Simplify cluster startup for scripting and deployment
- #5598: Client: Add Ping to v2 client @PSUdaemon
- #5596: Build improvements for ARM architectures. Also removed
--goarm
and--pkgarch
build flags. - #5593: Modify
SHOW TAG VALUES
output for the new query engine to normalize the output. - #5562: Graphite: Support matching fields multiple times (@chrusty)
- #5550: Enabled golint for tsdb/engine/wal. @gabelev
- #5541: Client: Support for adding custom TLS Config for HTTP client.
- #5512: HTTP: Add config option to enable HTTP JSON write path which is now disabled by default.
- #5419: Graphite: Support matching tags multiple times Thanks @m4ce
- #5336: Enabled golint for influxql. @gabelev
- #4299: Client: Reject uint64 Client.Point.Field values. Thanks @arussellsaw
- #4125: Admin UI: Fetch and display server version on connect. Thanks @alexiri!
- #2715: Support using field regex comparisons in the WHERE clause
- #6042: CreateDatabase failure on Windows, regression from v0.11.0 RC @mvadu
- #6006: Fix deadlock while running backups
- #5965: InfluxDB panic crashes while parsing "-" as Float
- #5963: Fix possible deadlock
- #5949: Return error message when improper types are used in SELECT
- #5937: Rewrite SHOW SERIES to use query engine
- #5924: Missing data after using influx_tsm
- #5889: Fix writing partial TSM index when flush file fails
- #5880: TCP connection closed after write (regression/change from 0.9.6)
- #5865: Conversion to tsm fails with exceeds max index value
- #5854: failures of tests in tsdb/engine/tsm1 when compiled with go master
- #5842: Add SeriesList binary marshaling
- #5841: Reduce tsm allocations by converting time.Time to int64
- #5835: Make CREATE USER default to IF NOT EXISTS
- #5832: tsm: cache: need to check that snapshot has been sorted @jonseymour
- #5814: Run CQs with the same name from different databases
- #5787: HTTP: Add QueryAuthorizer instance to httpd service’s handler. @chris-ramon
- #5754: Adding a node as meta only results in a data node also being registered
- #5753: Ensures that drop-type commands work correctly in a cluster
- #5724: influx_tsm doesn't close file handles properly
- #5719: Fix cache not deduplicating points
- #5716: models: improve handling of points with empty field names or with no fields.
- #5699: Fix potential thread safety issue in cache @jonseymour
- #5696: Do not drop the database when creating with a retention policy
- #5695: Remove meta servers from node.json
- #5664: panic in model.Points.scanTo #5664
- #5656: influx_tsm: panic during conversion
- #5628: Crashed the server with a bad derivative query
- #5624: Fix golint issues in client v2 package @PSUDaemon
- #5610: Write into fully-replicated cluster is not replicated across all shards
- #5606: TSM conversion reproducibly drops data silently
- #5594: Fix missing url params on lease redirect - @oldmantaiter
- #5590: Fix panic when dropping subscription for unknown retention policy.
- #5557: Fixes panic when surrounding the select statement arguments in brackets
- #5535: Update README for referring to Collectd
- #5532: user passwords not changeable in cluster
- #5510: Optimize ReducePercentile @bsideup
- #5489: Fixes multiple issues causing tests to fail on windows. Thanks @runner-mei
- #5376: Fix golint issues in models package. @nuss-justin
- #5375: Lint tsdb and tsdb/engine package @nuss-justin
- #5182: Graphite: Fix an issue where the default template would be used instead of a more specific one. Thanks @flisky
- #4688: admin UI doesn't display results for some SHOW queries
- #5924: Missing data after using influx_tsm
- #5716: models: improve handling of points with empty field names or with no fields.
- #5594: Fix missing url params on lease redirect - @oldmantaiter
- #5880: TCP connection closed after write (regression/change from 0.9.6)
- #5865: Conversion to tsm fails with exceeds max index value
- #5861: Fix panic when dropping subscription for unknown retention policy.
- #5857: panic in tsm1.Values.Deduplicate
- #5832: tsm: cache: need to check that snapshot has been sorted @jonseymour
- #5719: Fix cache not deduplicating points
- #5699: Fix potential thread safety issue in cache @jonseymour
- #5724: influx_tsm doesn't close file handles properly
- #5696: Do not drop the database when creating with a retention policy
- #5656: influx_tsm: panic during conversion
- #5606: TSM conversion reproducibly drops data silently
- #5303: Protect against stateful mappers returning nothing in the raw executor
This release now uses the TSM storage engine. Old bz1 and b1 shards can still be read, but in a future release you will be required to migrate old shards to TSM. For new shards getting created, or new installations, the TSM storage engine will be used.
This release also changes how clusters are setup. The config file has changed so have a look at the new example. Also, upgrading a single node works, but for upgrading clusters, you'll need help from us. Sent us a note at contact@influxdb.com if you need assistance upgrading a cluster.
- #5565: Add configuration for time precision with UDP services. - @tpitale
- #5522: Optimize tsm1 cache to reduce memory consumption and GC scan time.
- #5460: Prevent exponential growth in CLI history. Thanks @sczk!
- #5459: Create
/status
endpoint for health checks. - #5226: b*1 to tsm1 shard conversion tool.
- #5226: b*1 to tsm1 shard conversion tool.
- #5224: Online backup/incremental backup. Restore (for TSM).
- #5201: Allow max UDP buffer size to be configurable. Thanks @sebito91
- #5194: Custom continuous query options per query rather than per node.
- #5183: CLI confirms database exists when USE executed. Thanks @pires
- #5505: Clear authCache in meta.Client when password changes.
- #5504: create retention policy on unexistant DB crash InfluxDB
- #5479: Bringing up a node as a meta only node causes panic
- #5478: panic: interface conversion: interface is float64, not int64
- #5475: Ensure appropriate exit code returned for non-interactive use of CLI.
- #5469: Conversion from bz1 to tsm doesn't work as described
- #5455: panic: runtime error: slice bounds out of range when loading corrupted wal segment
- #5449: panic when dropping collectd points
- #5382: Fixes some escaping bugs with tag keys and values.
- #5350: 'influxd backup' should create backup directory
- #5349: Validate metadata blob for 'influxd backup'
- #5264: Fix panic: runtime error: slice bounds out of range
- #5262: Fix a panic when a tag value was empty.
- #5244: panic: ensure it's safe to close engine multiple times.
- #5193: Missing data a minute before current time. Comes back later.
- #5186: Fix database creation with retention statement parsing. Fixes #5077. Thanks @pires
- #5178: SHOW FIELD shouldn't consider VALUES to be valid. Thanks @pires
- #5158: Fix panic when writing invalid input to the line protocol.
- #5129: Ensure precision flag is respected by CLI. Thanks @e-dard
- #5079: Ensure tsm WAL encoding buffer can handle large batches.
- #5078: influx non-interactive mode - INSERT must be handled. Thanks @grange74
- #5064: Full support for parenthesis in SELECT clause, fixes #5054. Thanks @mengjinglei
- #5059: Fix unmarshal of database error by client code. Thanks @farshidtz
- #5042: Count with fill(none) will drop 0 valued intervals.
- #5016: Don't panic if Meta data directory not writable. Thanks @oiooj
- #4940: Fix distributed aggregate query query error. Thanks @li-ang
- #4735: Fix panic when merging empty results.
- #4622: Fix panic when passing too large of timestamps to OpenTSDB input.
- #4303: Don't drop measurements or series from multiple databases.
This release has an updated design and implementation of the TSM storage engine. If you had been using tsm1 as your storage engine prior to this release (either 0.9.5.x or 0.9.6 nightly builds) you will have to start with a fresh database.
If you had TSM configuration options set, those have been updated. See the the updated sample configuration for more details: https://github.com/influxdata/influxdb/blob/master/etc/config.sample.toml#L98-L125
- #4790: Allow openTSDB point-level error logging to be disabled
- #4728: SHOW SHARD GROUPS. By @mateuszdyminski
- #4841: Improve point parsing speed. Lint models pacakge. Thanks @e-dard!
- #4889: Implement close notifier and timeout on executors
- #2676, #4866: Add support for specifying default retention policy in database create. Thanks @pires!
- #4848: Added framework for cluster integration testing.
- #4872: Add option to disable logging for meta service.
- #4787: Now builds on Solaris
- #4849: Derivative works with count, mean, median, sum, first, last, max, min, and percentile.
- #4984: Allow math on fields, fixes regression. Thanks @mengjinglei
- #4666: Fix panic in derivative with invalid values.
- #4404: Return better error for currently unsupported DELETE queries.
- #4858: Validate nested aggregations in queries. Thanks @viru
- #4921: Error responses should be JSON-formatted. Thanks @pires
- #4974 Fix Data Race in TSDB when setting measurement field name
- #4876: Complete lint for monitor and services packages. Thanks @e-dard!
- #4833, #4927: Fix SHOW MEASURMENTS for clusters. Thanks @li-ang!
- #4918: Restore can hang, Fix issue #4806. Thanks @oiooj
- #4855: Fix race in TCP proxy shutdown. Thanks @runner-mei!
- #4411: Add Access-Control-Expose-Headers to HTTP responses
- #4768: CLI history skips blank lines. Thanks @pires
- #4766: Update CLI usage output. Thanks @aneshas
- #4804: Complete lint for services/admin. Thanks @nii236
- #4796: Check point without fields. Thanks @CrazyJvm
- #4815: Added
Time
field into aggregate output across the cluster. Thanks @li-ang - #4817: Fix Min,Max,Top,Bottom function when query distributed node. Thanks @mengjinglei
- #4878: Fix String() function for several InfluxQL statement types
- #4913: Fix b1 flush deadlock
- #3170, #4921: Database does not exist error is now JSON. Thanks @pires!
- #5029: Drop UDP point on bad parse.
- Field names for the internal stats have been changed to be more inline with Go style.
- 0.9.5 is reverting to Go 1.4.2 due to unresolved issues with Go 1.5.1.
There are breaking changes in this release:
- The filesystem hierarchy for packages has been changed, namely:
- Binaries are now located in
/usr/bin
(previously/opt/influxdb
) - Configuration files are now located in
/etc/influxdb
(previously/etc/opt/influxdb
) - Data directories are now located in
/var/lib/influxdb
(previously/var/opt/influxdb
) - Scripts are now located in
/usr/lib/influxdb/scripts
(previously/opt/influxdb
)
- Binaries are now located in
- #4702: Support 'history' command at CLI
- #4098: Enable
golint
on the code base - uuid subpackage - #4141: Control whether each query should be logged
- #4065: Added precision support in cmd client. Thanks @sbouchex
- #4140: Make storage engine configurable
- #4161: Implement bottom selector function
- #4204: Allow module-level selection for SHOW STATS
- #4208: Allow module-level selection for SHOW DIAGNOSTICS
- #4196: Export tsdb.Iterator
- #4198: Add basic cluster-service stats
- #4262: Allow configuration of UDP retention policy
- #4265: Add statistics for Hinted-Handoff
- #4284: Add exponential backoff for hinted-handoff failures
- #4310: Support dropping non-Raft nodes. Work mostly by @corylanou
- #4348: Public ApplyTemplate function for graphite parser.
- #4178: Support fields in graphite parser. Thanks @roobert!
- #4409: wire up INTO queries.
- #4379: Auto-create database for UDP input.
- #4375: Add Subscriptions so data can be 'forked' out of InfluxDB to another third party.
- #4506: Register with Enterprise service and upload stats, if token is available.
- #4516: Hinted-handoff refactor, with new statistics and diagnostics
- #4501: Allow filtering SHOW MEASUREMENTS by regex.
- #4547: Allow any node to be dropped, even a raft node (even the leader).
- #4600: ping endpoint can wait for leader
- #4648: UDP Client (v2 client)
- #4690: SHOW SHARDS now includes database and policy. Thanks @pires
- #4676: UDP service listener performance enhancements
- #4659: Support IF EXISTS for DROP DATABASE. Thanks @ch33hau
- #4721: Export tsdb.InterfaceValues
- #4681: Increase default buffer size for collectd and graphite listeners
- #4685: Automatically promote node to raft peer if drop server results in removing a raft peer.
- #4846: Allow NaN as a valid value on the graphite service; discard these points silently (graphite compatibility). Thanks @jsternberg!
- #4193: Less than or equal to inequality is not inclusive for time in where clause
- #4235: "ORDER BY DESC" doesn't properly order
- #4789: Decode WHERE fields during aggregates. Fix issue #4701.
- #4778: If there are no points to count, count is 0.
- #4715: Fix panic during Raft-close. Fix issue #4707. Thanks @oiooj
- #4643: Fix panic during backup restoration. Thanks @oiooj
- #4632: Fix parsing of IPv6 hosts in client package. Thanks @miguelxpn
- #4389: Don't add a new segment file on each hinted-handoff purge cycle.
- #4166: Fix parser error on invalid SHOW
- #3457: [0.9.3] cannot select field names with prefix + "." that match the measurement name
- #4704. Tighten up command parsing within CLI. Thanks @pires
- #4225: Always display diags in name-sorted order
- #4111: Update pre-commit hook for go vet composites
- #4136: Return an error-on-write if target retention policy does not exist. Thanks for the report @ymettier
- #4228: Add build timestamp to version information.
- #4124: Missing defer/recover/panic idiom in HTTPD service
- #4238: Fully disable hinted-handoff service if so requested.
- #4165: Tag all Go runtime stats when writing to internal database.
- #4586: Exit when invalid engine is selected
- #4118: Return consistent, correct result for SHOW MEASUREMENTS with multiple AND conditions
- #4191: Correctly marshal remote mapper responses. Fixes #4170
- #4222: Graphite TCP connections should not block shutdown
- #4180: Cursor & SelectMapper Refactor
- #1577: selectors (e.g. min, max, first, last) should have equivalents to return the actual point
- #4264: Refactor map functions to use list of values
- #4278: Fix error marshalling across the cluster
- #4149: Fix derivative unnecessarily requires aggregate function. Thanks @peekeri!
- #4674: Fix panic during restore. Thanks @simcap.
- #4725: Don't list deleted shards during SHOW SHARDS.
- #4237: DERIVATIVE() edge conditions
- #4263: derivative does not work when data is missing
- #4293: Ensure shell is invoked when touching PID file. Thanks @christopherjdickson
- #4296: Reject line protocol ending with '-'. Fixes #4272
- #4333: Retry monitor storage creation and storage only on Leader.
- #4276: Walk DropSeriesStatement & check for empty sources
- #4465: Actually display a message if the CLI can't connect to the database.
- #4342: Fix mixing aggregates and math with non-aggregates. Thanks @kostya-sh.
- #4349: If HH can't unmarshal a block, skip that block.
- #4502: Don't crash on Graphite close, if Graphite not fully open. Thanks for the report @ranjib
- #4354: Fully lock node queues during hinted handoff. Fixes one cause of missing data on clusters.
- #4357: Fix similar float values encoding overflow Thanks @dgryski!
- #4344: Make client.Write default to client.precision if none is given.
- #3429: Incorrect parsing of regex containing '/'
- #4374: Add tsm1 quickcheck tests
- #4644: Check for response errors during token check, fixes issue #4641
- #4377: Hinted handoff should not process dropped nodes
- #4365: Prevent panic in DecodeSameTypeBlock
- #4280: Only drop points matching WHERE clause
- #4443: Fix race condition while listing store's shards. Fixes #4442
- #4410: Fix infinite recursion in statement string(). Thanks @kostya-sh
- #4360: Aggregate Selectors overwrite values during post-processing
- #4421: Fix line protocol accepting tags with no values
- #4434: Allow 'E' for scientific values. Fixes #4433
- #4431: Add tsm1 WAL QuickCheck
- #4438: openTSDB service shutdown fixes
- #4447: Fixes to logrotate file. Thanks @linsomniac.
- #3820: Fix js error in admin UI.
- #4460: tsm1 meta lint
- #4415: Selector (like max, min, first, etc) return a string instead of timestamp
- #4472: Fix 'too many points in GROUP BY interval' error
- #4475: Fix SHOW TAG VALUES error message.
- #4486: Fix missing comments for runner package
- #4497: Fix sequence in meta proto
- #3367: Negative timestamps are parsed correctly by the line protocol.
- #4563: Fix broken subscriptions updates.
- #4538: Dropping database under a write load causes panics
- #4582: Correct logging tags in cluster and TCP package. Thanks @oiooj
- #4513: TSM1: panic: runtime error: index out of range
- #4521: TSM1: panic: decode of short block: got 1, exp 9
- #4587: Prevent NaN float values from being stored
- #4596: Skip empty string for start position when parsing line protocol @Thanks @ch33hau
- #4610: Make internal stats names consistent with Go style.
- #4625: Correctly handle bad write requests. Thanks @oiooj.
- #4650: Importer should skip empty lines
- #4651: Importer doesn't flush out last batch
- #4602: Fixes data race between PointsWriter and Subscriber services.
- #4691: Enable toml test
TestConfig_Encode
. - #4283: Disable HintedHandoff if configuration is not set.
- #4703: Complete lint for cmd/influx. Thanks @pablolmiranda
With this release InfluxDB is moving to Go 1.5.
- #4050: Add stats to collectd
- #3771: Close idle Graphite TCP connections
- #3755: Add option to build script. Thanks @fg2it
- #3863: Move to Go 1.5
- #3892: Support IF NOT EXISTS for CREATE DATABASE
- #3916: New statistics and diagnostics support. Graphite first to be instrumented.
- #3901: Add consistency level option to influx cli Thanks @takayuki
- #4048: Add statistics to Continuous Query service
- #4049: Add stats to the UDP input
- #3876: Allow the following syntax in CQs: INTO "1hPolicy".:MEASUREMENT
- #3975: Add shard copy service
- #3986: Support sorting by time desc
- #3930: Wire up TOP aggregate function - fixes #1821
- #4045: Instrument cluster-level points writer
- #3996: Add statistics to httpd package
- #4003: Add logrotate configuration.
- #4043: Add stats and batching to openTSDB input
- #4042: Add pending batches control to batcher
- #4006: Add basic statistics for shards
- #4072: Add statistics for the WAL.
- #4042: Set UDP input batching defaults as needed.
- #3785: Invalid time stamp in graphite metric causes panic
- #3804: init.d script fixes, fixes issue 3803.
- #3823: Deterministic ordering for first() and last()
- #3869: Seemingly deadlocked when ingesting metrics via graphite plugin
- #3856: Minor changes to retention enforcement.
- #3884: Fix two panics in WAL that can happen at server startup
- #3868: Add shell option to start the daemon on CentOS. Thanks @SwannCroiset.
- #3886: Prevent write timeouts due to lock contention in WAL
- #3574: Querying data node causes panic
- #3913: Convert meta shard owners to objects
- #4026: Support multiple Graphite inputs. Fixes issue #3636
- #3927: Add WAL lock to prevent timing lock contention
- #3928: Write fails for multiple points when tag starts with quote
- #3901: Unblock relaxed write consistency level Thanks @takayuki!
- #3950: Limit bz1 quickcheck tests to 10 iterations on CI
- #3977: Silence wal logging during testing
- #3931: Don't precreate shard groups entirely in the past
- #3960: possible "catch up" bug with nodes down in a cluster
- #3980: 'service stop' waits until service actually stops. Fixes issue #3548.
- #4016: Shutdown Graphite UDP on SIGTERM.
- #4034: Rollback bolt tx on mapper open error
- #3848: restart influxdb causing panic
- #3881: panic: runtime error: invalid memory address or nil pointer dereference
- #3926: First or last value of
GROUP BY time(x)
is often null. Fixed by #4038 - #4053: Prohibit dropping default retention policy.
- #4060: Don't log EOF error in openTSDB input.
- #3978: 0.9.3 cannot use GROUP BY * with more than a single field in SELECT clause
- #4058: Disable bz1 recompression
- #3902: [0.9.3] DB should not crash when using invalid expression "GROUP BY time"
- #3718: Derivative query with group by time but no aggregate function should fail parse
There are breaking changes in this release.
- To store data points as integers you must now append
i
to the number if using the line protocol. - If you have a UDP input configured, you should check the UDP section of the new sample configuration file to learn how to modify existing configuration files, as 0.9.3 now expects multiple UDP inputs.
- Configuration files must now have an entry for
wal-dir
in the[data]
section. Check new sample configuration file for more details. - The implicit
GROUP BY *
that was added to everySELECT *
has been removed. Instead any tags in the data are now part of the columns in the returned query.
Please see the Features section below for full details.
- #3376: Support for remote shard query mapping
- #3372: Support joining nodes to existing cluster
- #3426: Additional logging for continuous queries. Thanks @jhorwit2
- #3478: Support incremental cluster joins
- #3519: --BREAKING CHANGE-- Update line protocol to require trailing i for field values that are integers
- #3529: Add TLS support for OpenTSDB plugin. Thanks @nathanielc
- #3421: Should update metastore and cluster if IP or hostname changes
- #3502: Importer for 0.8.9 data via the CLI
- #3564: Fix alias, maintain column sort order
- #3585: Additional test coverage for non-existent fields
- #3246: Allow overriding of configuration parameters using environment variables
- #3599: --BREAKING CHANGE-- Support multiple UDP inputs. Thanks @tpitale
- #3636: Cap auto-created retention policy replica count at 3
- #3641: Logging enhancements and single-node rename
- #3635: Add build branch to version output.
- #3115: Various init.d script improvements. Thanks @KoeSystems.
- #3628: Wildcard expansion of tags and fields for raw queries
- #3721: interpret number literals compared against time as nanoseconds from epoch
- #3514: Implement WAL outside BoltDB with compaction
- #3544: Implement compression on top of BoltDB
- #3795: Throttle import
- #3584: Import/export documenation
- #3405: Prevent database panic when fields are missing. Thanks @jhorwit2
- #3411: 500 timeout on write
- #3420: Catch opentsdb malformed tags. Thanks @nathanielc.
- #3404: Added support for escaped single quotes in query string. Thanks @jhorwit2
- #3414: Shard mappers perform query re-writing
- #3525: check if fields are valid during parse time.
- #3511: Sending a large number of tag causes panic
- #3288: Run go fuzz on the line-protocol input
- #3545: Fix parsing string fields with newlines
- #3579: Revert breaking change to
client.NewClient
function - #3580: Do not allow wildcards with fields in select statements
- #3530: Aliasing a column no longer works
- #3436: Fix panic in hinted handoff queue processor
- #3401: Derivative on non-numeric fields panics db
- #3583: Inserting value in scientific notation with a trailing i causes panic
- #3611: Fix query arithmetic with integers
- #3326: simple regex query fails with cryptic error
- #3618: Fix collectd stats panic on i386. Thanks @richterger
- #3625: Don't panic when aggregate and raw queries are in a single statement
- #3629: Use sensible batching defaults for Graphite.
- #3638: Cluster config fixes and removal of meta.peers config field
- #3640: Shutdown Graphite service when signal received.
- #3632: Make single-node host renames more seamless
- #3656: Silence snapshotter logger for testing
- #3651: Fully remove series when dropped.
- #3517: Batch CQ writes to avoid timeouts. Thanks @dim.
- #3522: Consume CQ results on request timeouts. Thanks @dim.
- #3646: Fix nil FieldCodec panic.
- #3672: Reduce in-memory index by 20%-30%
- #3673: Improve query performance by removing unnecessary tagset sorting.
- #3676: Improve query performance by memomizing mapper output keys.
- #3686: Ensure 'p' parameter is not logged, even on OPTIONS requests.
- #3687: Fix panic: runtime error: makeslice: len out of range in hinted handoff
- #3697: Correctly merge non-chunked results for same series. Fix issue #3242.
- #3708: Fix double escaping measurement name during cluster replication
- #3704: cluster replication issue for measurement name containing backslash
- #3681: Quoted measurement names fail
- #3681: Fix inserting string value with backslashes
- #3735: Append to small bz1 blocks
- #3736: Update shard group duration with retention policy changes. Thanks for the report @papylhomme
- #3539: parser incorrectly accepts NaN as numerical value, but not always
- #3790: Fix line protocol parsing equals in measurements and NaN values
- #3778: Don't panic if SELECT on time.
- #3824: tsdb.Point.MarshalBinary needs to support all number types
- #3828: Support all number types when decoding a point
- #3853: Use 4KB default block size for bz1
- #3607: Fix unable to query influxdb due to deadlock in metastore. Thanks @ccutrer!
- #3177: Client supports making HTTPS requests. Thanks @jipperinbham
- #3299: Refactor query engine for distributed query support.
- #3334: Clean shutdown of influxd. Thanks @mcastilho
- #3180: Log GOMAXPROCS, version, and commit on startup.
- #3218: Allow write timeouts to be configurable.
- #3184: Support basic auth in admin interface. Thanks @jipperinbham!
- #3236: Fix display issues in admin interface.
- #3232: Set logging prefix for metastore.
- #3230: panic: unable to parse bool value
- #3245: Error using graphite plugin with multiple filters
- #3223: default graphite template cannot have extra tags
- #3255: Flush WAL on start-up as soon as possible.
- #3289: InfluxDB crashes on floats without decimal
- #3298: Corrected WAL & flush parameters in default config. Thanks @jhorwit2
- #3152: High CPU Usage with unsorted writes
- #3307: Fix regression parsing boolean values True/False
- #3304: Fixed httpd logger to log user from query params. Thanks @jhorwit2
- #3332: Add SLIMIT and SOFFSET to string version of AST.
- #3335: Don't drop all data on DROP DATABASE. Thanks to @PierreF for the report
- #2761: Make SHOW RETENTION POLICIES consistent with other queries.
- #3356: Disregard semicolons after database name in use command. Thanks @timraymond.
- #3351: Handle malformed regex comparisons during parsing. Thanks @rnubel
- #3244: Wire up admin privilege grant and revoke.
- #3259: Respect privileges for queries.
- #3256: Remove unnecessary timeout in WaitForLeader(). Thanks @cannium.
- #3380: Parser fix, only allow ORDER BY ASC and ORDER BY time ASC.
- #3319: restarting process irrevocably BREAKS measurements with spaces
- #3453: Remove outdated
dump
command from CLI. - #3463: Fix aggregate queries and time precision on where clauses.
- 2650: Add SHOW GRANTS FOR USER statement. Thanks @n1tr0g.
- 3125: Graphite Input Protocol Parsing
- 2746: New Admin UI/interface
- 3036: Write Ahead Log (WAL)
- 3014: Implement Raft snapshots
- 3013: Panic error with inserting values with commas
- #2956: Type mismatch in derivative
- #2908: Field mismatch error messages need to be updated
- #2931: Services and reporting should wait until cluster has leader.
- #2943: Ensure default retention policies are fully replicated
- #2948: Field mismatch error message to include measurement name
- #2919: Unable to insert negative floats
- #2935: Hook CPU and memory profiling back up.
- #2960: Cluster Write Errors.
- #2928: Start work to set InfluxDB version in HTTP response headers. Thanks @neonstalwart.
- #2969: Actually set HTTP version in responses.
- #2993: Don't log each UDP batch.
- #2994: Don't panic during wilcard expansion if no default database specified.
- #3002: Remove measurement from shard's index on DROP MEASUREMENT.
- #3021: Correct set HTTP write trace logging. Thanks @vladlopes.
- #3027: Enforce minimum retention policy duration of 1 hour.
- #3030: Fix excessive logging of shard creation.
- #3038: Don't check deleted shards for precreation. Thanks @vladlopes.
- #3033: Add support for marshaling
uint64
in client. - #3090: Remove database from TSDB index on DROP DATABASE.
- #2944: Don't require "WHERE time" when creating continuous queries.
- #3075: GROUP BY correctly when different tags have same value.
- #3078: Fix CLI panic on malformed INSERT.
- #2102: Re-work Graphite input and metric processing
- #2996: Graphite Input Parsing
- #3136: Fix various issues with init.d script. Thanks @ miguelcnf.
- #2996: Graphite Input Parsing
- #3127: Trying to insert a number larger than the largest signed 64-bit number kills influxd
- #3131: Copy batch tags to each point before marshalling
- #3155: Instantiate UDP batcher before listening for UDP traffic, otherwise a panic may result.
- #2678: Server allows tags with an empty string for the key and/or value
- #3061: syntactically incorrect line protocol insert panics the database
- #2608: drop measurement while writing points to that measurement has race condition that can panic
- #3183: using line protocol measurement names cannot contain commas
- #3193: Fix panic for SHOW STATS and in collectd
- #3102: Add authentication cache
- #3209: Dump Run() errors to stderr
- #3217: Allow WAL partition flush delay to be configurable.
- #2869: Adding field to existing measurement causes panic
- #2849: RC32: Frequent write errors
- #2700: Incorrect error message in database EncodeFields
- #2897: Ensure target Graphite database exists
- #2898: Ensure target openTSDB database exists
- #2895: Use Graphite input defaults where necessary
- #2900: Use openTSDB input defaults where necessary
- #2886: Refactor backup & restore
- #2804: BREAKING: change time literals to be single quoted in InfluxQL. Thanks @nvcook42!
- #2906: Restrict replication factor to the cluster size
- #2905: Restrict clusters to 3 peers
- #2904: Re-enable server reporting.
- #2917: Fix int64 field values.
- #2920: Ensure collectd database exists
- #2816: Enable UDP service. Thanks @renan-
- #2824: Add missing call to WaitGroup.Done in execConn. Thanks @liyichao
- #2823: Convert OpenTSDB to a service.
- #2838: Set auto-created retention policy period to infinite.
- #2829: Re-enable Graphite support as a new Service-style component.
- #2814: Convert collectd to a service.
- #2852: Don't panic when altering retention policies. Thanks for the report @huhongbo
- #2857: Fix parsing commas in string field values.
- #2833: Make the default config valid.
- #2859: Fix panic on aggregate functions.
- #2878: Re-enable shard precreation.
- 2865 -- Return an empty set of results if database does not exist in shard metadata.
- 2858: Support setting openTSDB write consistency.
This released introduced an updated write path and clustering design. The data format has also changed, so you'll need to wipe out your data to upgrade from RC31. There should be no other data changes before v0.9.0 is released.
- #1997: Update SELECT * to return tag values.
- #2599: Add "epoch" URL param and return JSON time values as epoch instead of date strings.
- #2682: Adding pr checklist to CONTRIBUTING.md
- #2683: Add batching support to Graphite inputs.
- #2687: Add batching support to Collectd inputs.
- #2696: Add line protocol. This is now the preferred way to write data.
- #2751: Add UDP input. UDP only supports the line protocol now.
- #2684: Include client timeout configuration. Thanks @vladlopes!
- #2776: Re-implement retention policy enforcement.
- #2635: Fix querying against boolean field in WHERE clause.
- #2644: Make SHOW queries work with FROM /<regex>/.
- #2501: Name the FlagSet for the shell and add a version flag. Thanks @neonstalwart
- #2647: Fixes typos in sample config file - thanks @claws!
- #1822: Wire up DERIVATIVE aggregate
- #1477: Wire up non_negative_derivative function
- #2557: Fix false positive error with
GROUP BY time
- #1891: Wire up COUNT DISTINCT aggregate
- #1989: Implement
SELECT tagName FROM m
- #2545: Use "value" as the field name for graphite input. Thanks @cannium.
- #2558: Fix client response check - thanks @vladlopes!
- #2566: Wait until each data write has been commited by the Raft cluster.
- #2602: CLI execute command exits without cleaning up liner package.
- #2610: Fix shard group creation
- #2596: RC30:
panic: runtime error: index out of range
when insert data points. - #2592: Should return an error if user attempts to group by a field.
- #2499: Issuing a select query with tag as a values causes panic.
- #2612: Query planner should validate distinct is passed a field.
- #2531: Fix select with 3 or more terms in where clause.
- #2564: Change "name" to "measurement" in JSON for writes.
- #2569: Add derivative functions
- #2598: Implement tag support in SELECT statements
- #2624: Remove references to SeriesID in
DROP SERIES
handlers.
This release has a breaking API change for writes -- the field previously called timestamp
has been renamed to time
.
- #2254: Add Support for OpenTSDB HTTP interface. Thanks @tcolgate
- #2525: Serve broker diagnostics over HTTP
- #2186: The default status code for queries is now
200 OK
- #2298: Successful writes now return a status code of
204 No Content
- thanks @neonstalwart! - #2549: Raft election timeout to 5 seconds, so system is more forgiving of CPU loads.
- #2568: Wire up SELECT DISTINCT.
- #2535: Return exit status 0 if influxd already running. Thanks @haim0n.
- #2521: Don't truncate topic data until fully replicated.
- #2509: Parse config file correctly during restore. Thanks @neonstalwart
- #2536: Set leader ID on restart of single-node cluster.
- #2448: Fix inconsistent data type - thanks @cannium!
- #2108: Change
timestamp
totime
- thanks @neonstalwart! - #2539: Add additional vote request logging.
- #2541: Update messaging client connection index with every message.
- #2542: Throw parser error for invalid aggregate without where time.
- #2548: Return an error when numeric aggregate applied to non-numeric data.
- #2487: Aggregate query with exact timestamp causes panic. Thanks @neonstalwart!
- #2552: Run CQ that is actually passed into go-routine.
- #2553: Fix race condition during CQ execution.
- #2557: RC30 WHERE time filter Regression.
- #2410: If needed, brokers respond with data nodes for peer shard replication.
- #2469: Reduce default max topic size from 1GB to 50MB.
- #1824: Wire up MEDIAN aggregate. Thanks @neonstalwart!
- #2446: Correctly count number of queries executed. Thanks @neonstalwart
- #2452: Fix panic with shard stats on multiple clusters
- #2453: Do not require snapshot on Log.WriteEntriesTo().
- #2460: Collectd input should use "value" for fields values. Fixes 2412. Thanks @josh-padnick
- #2465: HTTP response logging paniced with chunked requests. Thanks @Jackkoz
- #2475: RLock server when checking if shards groups are required during write.
- #2471: Function calls normalized to be lower case. Fixes percentile not working when called uppercase. Thanks @neonstalwart
- #2281: Fix Bad Escape error when parsing regex
- #2374: Two different panics during SELECT percentile
- #2404: Mean and percentile function fixes
- #2408: Fix snapshot 500 error
- #1896: Excessive heartbeater logging of "connection refused" on cluster node stop
- #2418: Fix raft node getting stuck in candidate state
- #2415: Raft leader ID now set on election after failover. Thanks @xiaost
- #2426: Fix race condition around listener address in openTSDB server.
- #2426: Fix race condition around listener address in Graphite server.
- #2429: Ensure no field value is null.
- #2431: Always append shard path in diags. Thanks @marcosnils
- #2441: Correctly release server RLock during "drop series".
- #2445: Read locks and data race fixes
- #2398 Track more stats and report errors for shards.
- #2370: Fix data race in openTSDB endpoint.
- #2371: Don't set client to nil when closing broker Fixes #2352
- #2372: Fix data race in graphite endpoint.
- #2373: Actually allow HTTP logging to be controlled.
- #2376: Encode all types of integers. Thanks @jtakkala.
- #2376: Add shard path to existing diags value. Fix issue #2369.
- #2386: Fix shard datanodes stats getting appended too many times
- #2393: Fix default hostname for connecting to cluster.
- #2390: Handle large sums when calculating means - thanks @neonstalwart!
- #2391: Unable to write points through Go client when authentication enabled
- #2400: Always send auth headers for client requests if present
- #2301: Distributed query load balancing and failover
- #2336: Handle distributed queries when shards != data nodes
- #2353: Distributed Query/Clustering Fixes
- #2297: create /var/run during startup. Thanks @neonstalwart.
- #2312: Re-use httpclient for continuous queries
- #2318: Remove pointless use of 'done' channel for collectd.
- #2242: Distributed Query should balance requests
- #2243: Use Limit Reader instead of fixed 1MB/1GB slice for DQ
- #2190: Implement failover to other data nodes for distributed queries
- #2324: Race in Broker.Close()/Broker.RunContinousQueryProcessing()
- #2325: Cluster open fixes
- #2326: Fix parse error in CREATE CONTINUOUS QUERY
- #2300: Refactor integration tests. Properly close Graphite/OpenTSDB listeners.
- #2338: Fix panic if tag key isn't double quoted when it should have been
- #2340: Fix SHOW DIAGNOSTICS panic if any shard was non-local.
- #2351: Fix data race by rlocking shard during diagnostics.
- #2348: Data node fail to join cluster in 0.9.0rc25
- #2343: Node falls behind Metastore updates
- #2334: Test Partial replication is very problematic
- #2272: clustering: influxdb 0.9.0-rc23 panics when doing a GET with merge_metrics in a
- #2350: Issue fix for :influxd -hostname localhost.
- #2367: PR for issue #2350 - Always use localhost, not host name.
- #2282: Use "value" as field name for OpenTSDB input.
- #2283: Fix bug when restarting an entire existing cluster.
- #2293: Open cluster listener before starting broker.
- #2287: Fix data race during SHOW RETENTION POLICIES.
- #2288: Fix expression parsing bug.
- #2294: Fix async response flushing (invalid chunked response error).
- #2276: Broker topic truncation.
- #2292: Wire up drop CQ statement - thanks @neonstalwart!
- #2290: Allow hostname argument to override default config - thanks @neonstalwart!
- #2295: Use nil as default return value for MapCount - thanks @neonstalwart!
- #2246: Allow HTTP logging to be controlled.
- #2255: Fix panic when changing default retention policy.
- #2257: Add "snapshotting" pseudo state & log entry cache.
- #2261: Support int64 value types.
- #2191: Case-insensitive check for "fill"
- #2274: Snapshot and HTTP API endpoints
- #2265: Fix auth for CLI.
- #2202: Initial implementation of Distributed Queries
- #2202: 64-bit Series IDs. INCOMPATIBLE WITH PREVIOUS DATASTORES.
- #2225: Make keywords completely case insensitive
- #2228: Accept keyword default unquoted in ALTER RETENTION POLICY statement
- #2236: Immediate term changes, fix stale write issue, net/http/pprof
- #2213: Seed random number generator for election timeout. Thanks @cannium.
- #2214: Added the option to influx CLI to execute single command and exit. Thanks @n1tr0g
- #2223: Always notify term change on RequestVote
- #870: Add support for OpenTSDB telnet input protocol. Thanks @tcolgate
- #2180: Allow http write handler to decode gzipped body
- #2175: Separate broker and data nodes
- #2158: Allow user password to be changed. Thanks @n1tr0g
- #2201: Bring back config join URLs
- #2121: Parser refactor
- #2181: Fix panic on "SHOW DIAGNOSTICS".
- #2170: Make sure queries on missing tags return 200 status.
- #2197: Lock server during Open().
- #2200: Re-enable Continuous Queries.
- #2203: Fix race condition on continuous queries.
- #2217: Only revert to follower if new term is greater.
- #2219: Persist term change to disk when candidate. Thanks @cannium
- #2128: Data node discovery from brokers
- #2142: Support chunked queries
- #2154: Node redirection
- #2168: Return raft term from vote, add term logging
- #2147: Set Go Max procs in a better location
- #2137: Refactor
results
toresponse
. Breaking Go Client change. - #2151: Ignore replay commands on the metastore.
- #2152: Influxd process with stats enabled crashing with 'Unsuported protocol scheme for ""'
- #2156: Propagate error when resolving UDP address in Graphite UDP server.
- #2163: Fix up paths for default data and run storage.
- #2164: Append STDOUT/STDERR in initscript.
- #2165: Better name for config section for stats and diags.
- #2165: Monitoring database and retention policy are not configurable.
- #2167: Add broker log recovery.
- #2166: Don't panic if presented with a field of unknown type.
- #2149: Fix unit tests for win32 when directory doesn't exist.
- #2150: Fix unit tests for win32 when a connection is refused.
- #2143: Add raft term logging.
- #2145: Encode toml durations correctly which fixes default configuration generation
influxd config
.
- #2100: Use channel to synchronize collectd shutdown.
- #2100: Synchronize access to shard index.
- #2131: Optimize marshalTags().
- #2130: Make fewer calls to marshalTags().
- #2105: Support != for tag values. Fix issue #2097, thanks to @smonkewitz for bug report.
- #2105: Support !~ tags values.
- #2138: Use map for marshaledTags cache.
- #2076: Separate stdout and stderr output in init.d script
- #2091: Support disabling snapshot endpoint.
- #2081: Support writing diagnostic data into the internal database.
- #2095: Improved InfluxDB client docs. Thanks @derailed
- #2093: Point precision not marshalled correctly. Thanks @derailed
- #2084: Allowing leading underscores in identifiers.
- #2080: Graphite logs in seconds, not milliseconds.
- #2101: SHOW DATABASES should name returned series "databases".
- #2104: Include NEQ when calculating field filters.
- #2112: Set GOMAXPROCS on startup. This may have been causing extra leader elections, which would cause a number of other bugs or instability.
- #2111 and #2025: Raft stability fixes. Non-contiguous log error and others.
- #2114: Correctly start influxd on platforms without start-stop-daemon.
- #2058: Track number of queries executed in stats.
- #2059: Retention policies sorted by name on return to client.
- #2061: Implement SHOW DIAGNOSTICS.
- #2064: Allow init.d script to return influxd version.
- #2053: Implment backup and restore.
- #1631: Wire up DROP CONTINUOUS QUERY.
- #2037: Don't check 'configExists' at Run() level.
- #2039: Don't panic if getting current user fails.
- #2034: GROUP BY should require an aggregate.
- #2040: Add missing top-level help for config command.
- #2057: Move racy "in order" test to integration test suite.
- #2060: Reload server shard map on restart.
- #2068: Fix misspelled JSON field.
- #2067: Fixed issue where some queries didn't properly pull back data (introduced in RC15). Fixing intervals for GROUP BY.
- #2001: Ensure measurement not found returns status code 200.
- #1985: Set content-type JSON header before actually writing header. Thanks @dstrek.
- #2003: Set timestamp when writing monitoring stats.
- #2004: Limit group by to MaxGroupByPoints (currently 100,000).
- #2016: Fixing bucket alignment for group by. Thanks @jnutzmann
- #2021: Remove unnecessary formatting from log message. Thanks @simonkern
- #1999: Return status code 200 for measurement not found errors on show series.
- #1974: Add time taken for request to the http server logs.
- #1971: Fix leader id initialization.
- #1975: Require
q
parameter for query endpoint. - #1969: Print loaded config.
- #1987: Fix config print startup statement for when no config is provided.
- #1990: Drop measurement was taking too long due to transactions.
- #1942: Sort wildcard names.
- #1957: Graphite numbers are always float64.
- #1955: Prohibit creation of databases with no name. Thanks @dullgiulio
- #1952: Handle delete statement with an error. Thanks again to @dullgiulio
- #1909: Implement a dump command.
- #1917: Creating Infinite Retention Policy Failed.
- #1758: Add Graphite Integration Test.
- #1929: Default Retention Policy incorrectly auto created.
- #1930: Auto create database for graphite if not specified.
- #1908: Cosmetic CLI output fixes.
- #1931: Add default column to SHOW RETENTION POLICIES.
- #1937: OFFSET should be allowed to be 0.
- #1902: Enforce retention policies to have a minimum duration.
- #1906: Add show servers to query language.
- #1925: Add
fill(none)
,fill(previous)
, andfill(<num>)
to queries.
- #1867: Fix race accessing topic replicas map
- #1864: fix race in startStateLoop
- #1753: Do Not Panic on Missing Dirs
- #1877: Broker clients track broker leader
- #1862: Fix memory leak in
httpd.serveWait
. Thanks @mountkin - #1883: RLock server during retention policy enforcement. Thanks @grisha
- #1868: Use
BatchPoints
forclient.Write
method. Thanks @vladlopes, @georgmu, @d2g, @evanphx, @akolosov. - #1881: Update documentation for
client
package. Misc library tweaks. - Fix queries with multiple where clauses on tags, times and fields. Fix queries that have where clauses on fields not in the select
- #1875: Support trace logging of Raft.
- #1895: Auto-create a retention policy when a database is created.
- #1897: Pre-create shard groups.
- #1900: Change
LIMIT
toSLIMIT
and implementLIMIT
andOFFSET
- #1872: Fix "stale term" errors with raft
- #1836: Store each parsed shell command in history file.
- #1789: add --config-files option to fpm command. Thanks @kylezh
- #1859: Queries with a
GROUP BY *
clause were returning a 500 if done against a measurement that didn't exist
- #1755: Support JSON data ingest over UDP
- #1857: Support retention policies with infinite duration
- #1858: Enable detailed tracing of write path
- #1813: Queries for missing measurements or fields now return a 200 with an error message in the series JSON.
- #1826, #1827: Fixed queries with
WHERE
clauses against fields.
- #1744: Allow retention policies to be modified without specifying replication factor. Thanks @kylezh
- #1809: Packaging post-install script unconditionally removes init.d symlink. Thanks @sineos
- #1780: Malformed identifiers get through the parser
- #1775: Panic "index out of range" on some queries
- #1744: Select shard groups which completely encompass time range. Thanks @kylezh.
- #1752: remove debug log output from collectd.
- #1720: Parse Series IDs as unsigned 32-bits.
- #1767: Drop Series was failing across shards. Issue #1761.
- #1773: Fix bug when merging series together that have unequal number of points in a group by interval
- #1771: Make
SHOW SERIES
return IDs and supportLIMIT
andOFFSET
- #1698: Wire up DROP MEASUREMENT
- Fix authentication issue with continuous queries
- Print version in the log on startup
- #1659: WHERE against regexes: `WHERE =~ '.*asdf'
- #1580: Add support for fields with bool, int, or string data types
- #1687: Change
Rows
toSeries
in results output. BREAKING API CHANGE - #1629: Add support for
DROP SERIES
queries - #1632: Add support for
GROUP BY *
to return all series within a measurement - #1689: Change
SHOW TAG VALUES WITH KEY="foo"
to use the key name in the result. BREAKING API CHANGE - #1699: Add CPU and memory profiling options to daemon
- #1672: Add index tracking to metastore. Makes downed node recovery actually work
- #1591: Add
spread
aggregate function - #1576: Add
first
andlast
aggregate functions - #1573: Add
stddev
aggregate function - #1565: Add the admin interface back into the server and update for new API
- #1562: Enforce retention policies
- #1700: Change
Values
toFields
on writes. BREAKING API CHANGE - #1706: Add support for
LIMIT
andOFFSET
, which work on the number of series returned in a query. To limit the number of data points use aWHERE time
clause
- #1636: Don't store number of fields in raw data. THIS IS A BREAKING DATA CHANGE. YOU MUST START WITH A FRESH DATABASE
- #1701, #1667, #1663, #1615: Raft fixes
- #1644: Add batching support for significantly improved write performance
- #1704: Fix queries that pull back raw data (i.e. ones without aggregate functions)
- #1718: Return an error on write if any of the points are don't have at least one field
- #1806: Fix regex parsing. Change regex syntax to use / delimiters.
- Support for tags added
- New queries for showing measurement names, tag keys, and tag values
- Renamed shard spaces to retention policies
- Deprecated matching against regex in favor of explicit writing and querying on retention policies
- Pure Go InfluxQL parser
- Switch to BoltDB as underlying datastore
- BoltDB backed metastore to store schema information
- Updated HTTP API to only have two endpoints
/query
and/write
- Added all administrative functions to the query language
- Change cluster architecture to have brokers and data nodes
- Switch to streaming Raft implementation
- In memory inverted index of the tag data
- Pure Go implementation!
- Issue #973. Support joining using a regex or list of time series
- Issue #1068. Print the processor chain when the query is started
- Issue #584. Don't panic if the process died while initializing
- Issue #663. Make sure all sub servies are closed when are stopping InfluxDB
- Issue #671. Fix the Makefile package target for Mac OSX
- Issue #800. Use su instead of sudo in the init script. This fixes the startup problem on RHEL 6.
- Issue #925. Don't generate invalid query strings for single point queries
- Issue #943. Don't take two snapshots at the same time
- Issue #947. Exit nicely if the daemon doesn't have permission to write to the log.
- Issue #959. Stop using closed connections in the protobuf client.
- Issue #978. Check for valgrind and mercurial in the configure script
- Issue #996. Fill should fill the time range even if no points exists in the given time range
- Issue #1008. Return an appropriate exit status code depending on whether the process exits due to an error or exits gracefully.
- Issue #1024. Hitting open files limit causes influxdb to create shards in loop.
- Issue #1069. Fix deprecated interface endpoint in Admin UI.
- Issue #1076. Fix the timestamps of data points written by the collectd plugin. (Thanks, @renchap for reporting this bug)
- Issue #1078. Make sure we don't resurrect shard directories for shards that have already expired
- Issue #1085. Set the connection string of the local raft node
- Issue #1092. Set the connection string of the local node in the raft snapshot.
- Issue #1100. Removing a non-existent shard space causes the cluster to panic.
- Issue #1113. A nil engine.ProcessorChain causes a panic.
- Issue #1055. Allow graphite and collectd input plugins to have separate binding address
- Issue #1058. Use the query language instead of the continuous query endpoints that were removed in 0.8.4
- Issue #1022. Return an +Inf or NaN instead of panicing when we encounter a divide by zero
- Issue #821. Don't scan through points when we hit the limit
- Issue #1051. Fix timestamps when the collectd is used and low resolution timestamps is set.
- Remove the continuous query api endpoints since the query language has all the features needed to list and delete continuous queries.
- Issue #778. Selecting from a non-existent series should give a better error message indicating that the series doesn't exist
- Issue #988. Check the arguments of
top()
andbottom()
- Issue #1021. Make redirecting to standard output and standard error optional instead of going to
/dev/null
. This can now be configured by setting$STDOUT
in/etc/default/influxdb
- Issue #985. Make sure we drop a shard only when there's no one using it. Otherwise, the shard can be closed when another goroutine is writing to it which will cause random errors and possibly corruption of the database.
- Issue #1047. Allow merge() to take a list of series (as opposed to a regex in #72)
- Issue #1040. Revert to older raft snapshot if the latest one is corrupted
- Issue #1004. Querying for data outside of existing shards returns an empty response instead of throwing a
Couldn't lookup columns
error - Issue #1020. Change init script exit codes to conform to the lsb standards. (Thanks, @spuder)
- Issue #1011. Fix the tarball for homebrew so that rocksdb is included and the directory structure is clean
- Issue #1007. Fix the content type when an error occurs and the client requests compression.
- Issue #916. Set the ulimit in the init script with a way to override the limit
- Issue #742. Fix rocksdb for Mac OSX
- Issue #387. Aggregations with group by time(1w), time(1m) and time(1y) (for week, month and year respectively) will cause the start time and end time of the bucket to fall on the logical boundaries of the week, month or year.
- Issue #334. Derivative for queries with group by time() and fill(), will take the difference between the first value in the bucket and the first value of the next bucket.
- Issue #972. Don't assign duplicate server ids
- Issue #722. Add an install target to the Makefile
- Issue #1032. Include the admin ui static assets in the binary
- Issue #1019. Upgrade to rocksdb 3.5.1
- Issue #992. Add an input plugin for collectd. (Thanks, @kimor79)
- Issue #72. Support merge for multiple series using regex syntax
- Issue #885. Multiple queries separated by semicolons work as expected. Queries are process sequentially
- Issue #652. Return an error if an invalid column is used in the where clause
- Issue #794. Fix case insensitive regex matching
- Issue #853. Move cluster config from raft to API.
- Issue #714. Don't panic on invalid boolean operators.
- Issue #843. Prevent blank database names
- Issue #780. Fix fill() for all aggregators
- Issue #923. Enclose table names in double quotes in the result of GetQueryString()
- Issue #923. Enclose table names in double quotes in the result of GetQueryString()
- Issue #967. Return an error if the storage engine can't be created
- Issue #954. Don't automatically create shards which was causing too many shards to be created when used with grafana
- Issue #939. Aggregation should ignore null values and invalid values, e.g. strings with mean().
- Issue #964. Parse big int in queries properly.
-
Issue #886. Update shard space to not set defaults
-
Issue #867. Add option to return shard space mappings in list series
- Issue #652. Return a meaningful error if an invalid column is used in where clause after joining multiple series
- Added API endpoint to update shard space definitions
- Issue #886. Shard space regexes reset after restart of InfluxDB
- Issue #896. Allow logging to syslog. Thanks @malthe
- Issue #868. Don't panic when upgrading a snapshot from 0.7.x
- Issue #887. The first continuous query shouldn't trigger backfill if it had backfill disabled
- Issue #674. Graceful exit when config file is invalid. (Thanks, @DavidBord)
- Issue #857. More informative list servers api. (Thanks, @oliveagle)
- Issue #850. Makes the server listing more informative
- Issue #779. Deleting expired shards isn't thread safe.
- Issue #860. Load database config should validate shard spaces.
- Issue #862. Data migrator should have option to set delay time.
- Issue #376. List series should support regex filtering
- Issue #745. Add continuous queries to the database config
- Issue #746. Add data migration tool for 0.8.0
- Issue #426. Fill should fill the entire time range that is requested
- Issue #740. Don't emit non existent fields when joining series with different fields
- Issue #744. Admin site should have all assets locally
- Issue #767. Remove shards whenever they expire
- Issue #781. Don't emit non existent fields when joining series with different fields
- Issue #791. Move database config loader to be an API endpoint
- Issue #809. Migration path from 0.7 -> 0.8
- Issue #811. Gogoprotobuf removed
ErrWrongType
, which is depended on by Raft - Issue #820. Query non-local shard with time range to avoid getting back points not in time range
- Issue #827. Don't leak file descriptors in the WAL
- Issue #830. List series should return series in lexicographic sorted order
- Issue #831. Move create shard space to be db specific
- Issue #774. Don't try to parse "inf" shard retention policy
- Issue #769. Use retention duration when determining expired shards. (Thanks, @shugo)
- Issue #736. Only db admins should be able to drop a series
- Issue #713. Null should be a valid fill value
- Issue #644. Graphite api should write data in batches to the coordinator
- Issue #740. Panic when distinct fields are selected from an inner join
- Issue #781. Panic when distinct fields are added after an inner join
- Issue #752.
./configure
should use goroot to find gofmt - Issue #758. Clarify the reason behind graphite input plugin not starting. (Thanks, @otoolep)
- Issue #759. Don't revert the regex in the shard space. (Thanks, @shugo)
- Issue #760. Removing a server should remove it from the shard server ids. (Thanks, @shugo)
- Issue #772. Add sentinel values to all db. This caused the last key in the db to not be fetched properly.
- This release is to fix a build error in rc1 which caused rocksdb to not be available
- Bump up the
max-open-files
option to 1000 on all storage engines - Lower the
write-buffer-size
to 1000
- Issue #643. Support pretty print json. (Thanks, @otoolep)
- Issue #641. Support multiple storage engines
- Issue #665. Make build tmp directory configurable in the make file. (Thanks, @dgnorton)
- Issue #667. Enable compression on all GET requests and when writing data
- Issue #648. Return permissions when listing db users. (Thanks, @nicolai86)
- Issue #682. Allow continuous queries to run without backfill (Thanks, @dhammika)
- Issue #689. REQUIRES DATA MIGRATION Move metadata into raft
- Issue #255. Support millisecond precision using
ms
suffix - Issue #95. Drop database should not be synchronous
- Issue #571. Add support for arbitrary number of shard spaces and retention policies
- Default storage engine changed to RocksDB
- Issue #651. Change permissions of symlink which fix some installation issues. (Thanks, @Dieterbe)
- Issue #670. Don't warn on missing influxdb user on fresh installs
- Issue #676. Allow storing high precision integer values without losing any information
- Issue #695. Prevent having duplicate field names in the write payload. (Thanks, @seunglee150)
- Issue #731. Don't enable the udp plugin if the
enabled
option is set to false - Issue #733. Print an
INFO
message when the input plugin is disabled - Issue #707. Graphite input plugin should work payload delimited by any whitespace character
- Issue #734. Don't buffer non replicated writes
- Issue #465. Recreating a currently deleting db or series doesn't bring back the old data anymore
- Issue #358. BREAKING List series should return as a single series
- Issue #499. BREAKING Querying non-existent database or series will return an error
- Issue #570. InfluxDB crashes during delete/drop of database
- Issue #592. Drop series is inefficient
- Issue #637. Truncate log files if the last request wasn't written properly
- Issue #646. CRITICAL: Duplicate shard ids for new shards if old shards are deleted.
- Issue #521. MODE works on all datatypes (Thanks, @richthegeek)
- Issue #418. Requests or responses larger than MAX_REQUEST_SIZE break things.
- Issue #606. InfluxDB will fail to start with invalid permission if log.txt didn't exist
- Issue #602. Merge will fail to work across shards
- Issue #579. Reject writes to nonexistent databases
- Issue #597. Force compaction after deleting data
- Issue #476. Support ARM architecture
- Issue #578. Support aliasing for expressions in parenthesis
- Issue #544. Support forcing node removal from a cluster
- Issue #591. Support multiple udp input plugins (Thanks, @tpitale)
- Issue #600. Report version, os, arch, and raftName once per day.
- Issue #557. Group by time(1y) doesn't work while time(365d) works
- Issue #547. Add difference function (Thanks, @mboelstra)
- Issue #550. Fix tests on 32-bit ARM
- Issue #524. Arithmetic operators and where conditions don't play nice together
- Issue #561. Fix missing query in parsing errors
- Issue #563. Add sample config for graphite over udp
- Issue #537. Incorrect query syntax causes internal error
- Issue #565. Empty series names shouldn't cause a panic
- Issue #575. Single point select doesn't interpret timestamps correctly
- Issue #576. We shouldn't set timestamps and sequence numbers when listing cq
- Issue #560. Use /dev/urandom instead of /dev/random
- Issue #502. Fix a race condition in assigning id to db+series+field (Thanks @ohurvitz for reporting this bug and providing a script to repro)
- Issue #567. Allow selecting from multiple series names by separating them with commas (Thanks, @peekeri)
- Issue #460. Don't start automatically after installing
- Issue #529. Don't run influxdb as root
- Issue #443. Use
name
instead ofusername
when returning cluster admins
- Issue #551. Add TOP and BOTTOM aggregate functions (Thanks, @chobie)
- Issue #555. Fix a regression introduced in the raft snapshot format
- Make the write batch size configurable (also applies to deletes)
- Optimize writing to multiple series
- Issue #546. Add UDP support for Graphite API (Thanks, @peekeri)
- Fix a bug in shard logic that caused short term shards to be clobbered with long term shards
- Issue #489. Remove replication factor from CreateDatabase command
- Issue #505. Return a version header with http the response (Thanks, @majst01)
- Issue #520. Print the version to the log file
- Issue #516. Close WAL log/index files when they aren't being used
- Issue #532. Don't log graphite connection EOF as an error
- Issue #535. WAL Replay hangs if response isn't received
- Issue #538. Don't panic if the same series existed twice in the request with different columns
- Issue #536. Joining the cluster after shards are creating shouldn't cause new nodes to panic
- Issue #539. count(distinct()) with fill shouldn't panic on empty groups
- Issue #534. Create a new series when interpolating
- Issue #511. Don't automatically create the database when a db user is created
- Issue #512. Group by should respect null values
- Issue #518. Filter Infinities and NaNs from the returned json
- Issue #522. Committing requests while replaying caused the WAL to skip some log files
- Issue #369. Fix some edge cases with WAL recovery
- Issue #500. Support
y
suffix in time durations - Issue #501. Writes with invalid payload should be rejected
- Issue #507. New cluster admin passwords don't propagate properly to other nodes in a cluster
- Issue #508. Don't replay WAL entries for servers with no shards
- Issue #464. Admin UI shouldn't draw graphs for string columns
- Issue #480. Large values on the y-axis get cut off
- Issue #477. Add a udp json interface (Thanks, Julien Ammous)
- Issue #491. Make initial root password settable through env variable (Thanks, Edward Muller)
- Issue #469. Drop continuous queries when a database is dropped
- Issue #431. Don't log to standard output if a log file is specified in the config file
- Issue #483. Return 409 if a database already exist (Thanks, Edward Muller)
- Issue #486. Columns used in the target of continuous query shouldn't be inserted in the time series
- Issue #490. Database user password's cannot be changed (Thanks, Edward Muller)
- Issue #495. Enforce write permissions properly
- Issue #419,Issue #478. Allow hostname, raft and protobuf ports to be changed, without requiring manual intervention from the user
- Issue #471. Read and write permissions should be settable through the http api
- Issue #323. Continuous queries should guard against data loops
- Issue #473. Engine memory optimization
- Issue #463. Allow series names to use any character (escape by wrapping in double quotes)
- Issue #447. Allow @ in usernames
- Issue #466. Allow column names to use any character (escape by wrapping in double quotes)
- Issue #458. Continuous queries with group by time() and a column should insert sequence numbers of 1
- Issue #457. Deleting series that start with capital letters should work
- Issue #446. Check for (de)serialization errors
- Issue #456. Continuous queries failed if one of the group by columns had null value
- Issue #455. Comparison operators should ignore null values
- Renamed config.toml.sample to config.sample.toml
- Issue #244. Reconstruct the query from the ast
- Issue #449. Heartbeat timeouts can cause reading from connection to lock up
- Issue #451. Reduce the aggregation state that is kept in memory so that aggregation queries over large periods of time don't take insance amount of memory
- Queries are now logged as INFO in the log file before they run
- Issue #328. Join queries with math expressions don't work
- Issue #440. Heartbeat timeouts in logs
- Issue #442. shouldQuerySequentially didn't work as expected causing count(*) queries on large time series to use lots of memory
- Issue #437. Queries with negative constants don't parse properly
- Issue #432. Deleted data using a delete query is resurrected after a server restart
- Issue #439. Report the right location of the error in the query
- Fix some bugs with the WAL recovery on startup
- Issue #310. Request should support multiple timeseries
- Issue #416. Improve the time it takes to drop database
- Issue #413. Don't assume that group by interval is greater than a second
- Issue #415. Include the database when sending an auth error back to the user
- Issue #421. Make read timeout a config option
- Issue #392. Different columns in different shards returns invalid results when a query spans those shards
- Upgrade leveldb 1.10 -> 1.15
This should be a backward compatible change, but is here for documentation only
- Add a command line option to repair corrupted leveldb databases on startup
- Issue #401. No limit on the number of columns in the group by clause
- Issue #398. Support now() and NOW() in the query lang
- Issue #403. Filtering should work with join queries
- Issue #404. Filtering with invalid condition shouldn't crash the server
- Issue #405. Percentile shouldn't crash for small number of values
- Issue #408. Make InfluxDB recover from internal bugs and panics
- Issue #390. Multiple response.WriteHeader when querying as admin
- Issue #407. Start processing continuous queries only after the WAL is initialized
- Close leveldb databases properly if we couldn't create a new Shard. See leveldb_shard_datastore_test:131
- Issue #386. Drop series should work with series containing dots
- Issue #389. Filtering shouldn't stop prematurely
- Issue #341. Make the number of shards that are queried in parallel configurable
- Issue #394. Support count(distinct) and count(DISTINCT)
- Issue #362. Limit should be enforced after aggregation
- Issue #378. Indexing should return if there are no requests added since the last index
- Issue #370. Filtering and limit should be enforced on the shards
- Issue #379. Boolean columns should be usable in where clauses
- Issue #381. Should be able to do deletes as a cluster admin
- Issue #342. Data resurrected after a server restart
- Issue #367. Influxdb won't start if the api port is commented out
- Issue #355. Return an error on wrong time strings
- Issue #331. Allow negative time values in the where clause
- Issue #371. Seris index isn't deleted when the series is dropped
- Issue #360. Store and recover continuous queries
- Revert the version of goraft due to a bug found in the latest version
- Issue #293. Implement a Graphite listener
- Issue #340. Writing many requests while replaying seems to cause commits out of order
- Increase raft election timeout to avoid unecessary relections
- Sort points before writing them to avoid an explosion in the request number when the points are written randomly
- Issue #335. Fixes regexp for interpolating more than one column value in continuous queries
- Issue #318. Support EXPLAIN queries
- Issue #333. Fail when the password is too short or too long instead of passing it to the crypto library
- Issue #312. WAL should wait for server id to be set before recovering
- Issue #301. Use ref counting to guard against race conditions in the shard cache
- Issue #319. Propagate engine creation error correctly to the user
- Issue #316. Make sure we don't starve goroutines if we get an access denied error from one of the shards
- Issue #306. Deleting/Dropping database takes a lot of memory
- Issue #302. Should be able to set negative timestamps on points
- Issue #327. Make delete queries not use WAL. This addresses #315, #317 and #314
- Issue #321. Make sure we split points on shards properly
- Issue #298. Fix limit when querying multiple shards
- Issue #305. Shard ids not unique after restart
- Issue #309. Don't relog the requests on the remote server
- Fix few bugs in the WAL and refactor the way it works (this requires purging the WAL from previous rc)
- Issue #69. Support column aliases
- Issue #287. Make the lru cache size configurable
- Issue #38. Fix a memory leak discussed in this story
- Issue #286. Make the number of open shards configurable
- Make LevelDB use the max open files configuration option.
- Issue #274. Crash after restart
- Issue #277. Ensure duplicate shards won't be created
- Issue #279. Limits not working on regex queries
- Issue #281.
./influxdb -v
should print the sha when building from source - Issue #283. Dropping shard and restart in cluster causes panic.
- Issue #288. Sequence numbers should be unique per server id
- Ensure large deletes don't take too much memory
- Issue #240. Unable to query against columns with
.
in the name. - Issue #250. different result between normal and continuous query with "group by" clause
- Issue #216. Results with no points should exclude columns and points
- Issue #243. Should have endpoint to GET a user's attributes.
- Issue #269, Issue #65 New clustering architecture (see docs), with the side effect that queries can be distributed between multiple shards
- Issue #164,Issue #103,Issue #166,Issue #165,Issue #132 Make request log a log file instead of leveldb with recovery on startup
- Issue #189.
/cluster_admins
and/db/:db/users
return usernames in aname
key instead ofusername
key. - Issue #216. Results with no points should exclude columns and points
- Make the leveldb max open files configurable in the toml file
- Issue #225. Remove a hard limit on the points returned by the datastore
- Issue #223. Null values caused count(distinct()) to panic
- Issue #224. Null values broke replication due to protobuf limitation
- Issue #193. Allow logging to stdout. Thanks @schmurfy
- Issue #190. Add support for SSL.
- Issue #194. Should be able to disable Admin interface.
- Issue #33. Don't call WriteHeader more than once per request
- Issue #195. Allow the bind address to be configurable, Thanks @schmurfy.
- Issue #199. Make the test timeout configurable
- Issue #200. Selecting
time
orsequence_number
silently fail - Issue #215. Server fails to start up after Raft log compaction and restart.
- Issue #86. Support arithmetic expressions in select clause
- Issue #92. Change '==' to '=' and '!=' to '<>'
- Issue #88. Support datetime strings
- Issue #64. Shard writes and queries across cluster with replay for briefly downed nodes (< 24 hrs)
- Issue #78. Sequence numbers persist across restarts so they're not reused
- Issue #102. Support expressions in where condition
- Issue #101. Support expressions in aggregates
- Issue #62. Support updating and deleting column values
- Issue #96. Replicate deletes in a cluster
- Issue #94. delete queries
- Issue #116. Use proper logging
- Issue #40. Use TOML instead of JSON in the config file
- Issue #99. Support list series in the query language
- Issue #149. Cluster admins should be able to perform reads and writes.
- Issue #108. Querying one point using
time =
- Issue #114. Servers should periodically check that they're consistent.
- Issue #93. Should be able to drop a time series
- Issue #177. Support drop series in the query language.
- Issue #184. Implement Raft log compaction.
- Issue #153. Implement continuous queries
- Issue #90. Group by multiple columns panic
- Issue #89. 'Group by' combined with 'where' not working
- Issue #106. Don't panic if we only see one point and can't calculate derivative
- Issue #105. Panic when using a where clause that reference columns with null values
- Issue #61. Remove default limits from queries
- Issue #118. Make column names starting with '_' legal
- Issue #121. Don't fall back to the cluster admin auth if the db user auth fails
- Issue #127. Return error on delete queries with where condition that don't have time
- Issue #117. Fill empty groups with default values
- Issue #150. Fix parser for when multiple divisions look like a regex.
- Issue #158. Logged deletes should be stored with the time range if missing.
- Issue #136. Make sure writes are replicated in order to avoid triggering replays
- Issue #145. Server fails to join cluster if all starting at same time.
- Issue #176. Drop database should take effect on all nodes
- Issue #180. Column names not returned when running multi-node cluster and writing more than one point.
- Issue #182. Queries with invalid limit clause crash the server
- deprecate '==' and '!=' in favor of '=' and '<>', respectively
- deprecate
/dbs
(for listing databases) in favor of a more consistent/db
endpoint - deprecate
username
field for a more consistentname
field in/db/:db/users
and/cluster_admins
- deprecate endpoints
/db/:db/admins/:user
in favor of using/db/:db/users/:user
which should be used to update user flags, password, etc. - Querying for column names that don't exist no longer throws an error.
- Issue #82. Add endpoint for listing available admin interfaces.
- Issue #80. Support durations when specifying start and end time
- Issue #81. Add support for IN
- Issue #75. Don't allow time series names that start with underscore
- Issue #85. Non-existing columns exist after they have been queried before
- Issue #51. Implement first and last aggregates
- Issue #35. Support table aliases in Join Queries
- Issue #71. Add WillReturnSingleSeries to the Query
- Issue #61. Limit should default to 10k
- Issue #59. Add histogram aggregate function
- Fix join and merges when the query is a descending order query
- Issue #57. Don't panic when type of time != float
- Issue #63. Aggregate queries should not have a sequence_number column
- Issue #37. Support the negation of the regex matcher !~
- Issue #47. Spill out query and database detail at the time of bug report
- Issue #36. The regex operator should be =~ not ~=
- Issue #39. Return proper content types from the http api
- Issue #42. Make the api consistent with the docs
- Issue #41. Table/Points not deleted when database is dropped
- Issue #45. Aggregation shouldn't mess up the order of the points
- Issue #44. Fix crashes on RHEL 5.9
- Issue #34. Ascending order always return null for columns that have a null value
- Issue #55. Limit should limit the points that match the Where clause
- Issue #53. Writing null values via HTTP API fails
- Preparing to deprecate
/dbs
(for listing databases) in favor of a more consistent/db
endpoint - Preparing to deprecate
username
field for a more consistentname
field in the/db/:db/users
- Preparing to deprecate endpoints
/db/:db/admins/:user
in favor of using/db/:db/users/:user
which should be used to update user flags, password, etc.
- Issue #29. Semicolon is now optional in queries
- Issue #31. Support Basic Auth as well as query params for authentication.
- Don't allow creating users with empty username
- Issue #22. Don't set goroot if it was set
- Issue #25. Fix queries that use the median aggregator
- Issue #26. Default log and db directories should be in /opt/influxdb/shared/data
- Issue #27. Group by should not blow up if the one of the columns in group by has null values
- Issue #30. Column indexes/names getting off somehow
- Issue #32. Fix many typos in the codebase. Thanks @pborreli
- Add stddev(...) support
- Better docs, thanks @auxesis and @d-snp.
- Set PYTHONPATH and CC appropriately on mac os x.
- Issue #18. Fix 386 debian and redhat packages
- Issue #23. Fix the init scripts on redhat
- Add a way to reset the root password from the command line.
- Add distinct(..) and derivative(...) support
- Print test coverage if running go1.2
- Fix the default admin site path in the .deb and .rpm packages.
- Fix the configuration filename in the .tar.gz package.
- include the admin site in the repo to make it easier for newcomers.
- Add count(distinct(..)) support
- Reuse levigo read/write options.
- Cache passwords in memory to speed up password verification
- Add MERGE and INNER JOIN support
- All columns should be returned if
select *
was used - Read/Write benchmarks
- Add an admin UI
- Deb and RPM packages
- Fix some nil pointer dereferences
- Cleanup the aggregators implementation
- Initial Release