vsphere-influxdb-go/vendor/github.com/influxdata/influxdb/CHANGELOG.md

201 KiB
Raw Blame History

v1.3.6 [unreleased]

Bugfixes

  • #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.

v1.3.5 [2017-08-29]

Bugfixes

  • #8755: Fix race condition accessing seriesByID map.
  • #8766: Fix deadlock when calling SeriesIDsAllOrByExpr

v1.3.4 [2017-08-23]

Bugfixes

  • #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

Features

  • #8711: Batch up writes for monitor service

v1.3.3 [2017-08-10]

Bugfixes

  • #8681: Resolves a memory leak when NewReaderIterator creates a nilFloatIterator, the reader is not closed

v1.3.2 [2017-08-04]

Bugfixes

  • #8629: Interrupt in progress TSM compactions
  • #8630: Prevent excessive memory usage when dropping series
  • #8640: Significantly improve performance of SHOW TAG VALUES.

v1.3.1 [2017-07-20]

Bugfixes

  • #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.

v1.3.0 [2017-06-21]

Removals

The admin UI is removed and unusable in this release. The [admin] configuration section will be ignored.

Configuration Changes

  • The top-level config bind-address now defaults to localhost: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).

Features

  • #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.

Bugfixes

  • #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.
  • #8470: index file fd leak in tsi branch
  • #8468: Fix TSI non-contiguous compaction panic.

v1.2.4 [2017-05-08]

Bugfixes

  • #8338: Prefix partial write errors with partial write: to generalize identification in other subsystems

v1.2.3 [2017-04-17]

Bugfixes

  • #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

v1.2.2 [2017-03-14]

Release Notes

Configuration Changes

[http] Section

  • max-row-limit now defaults to 0. The previous default was 10000, but due to a bug, the value in use since 1.0 was 0.

Bugfixes

  • #8050: influxdb & grafana, absence of data on the graphs

v1.2.1 [2017-03-08]

Release Notes

Bugfixes

  • #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

v1.2.0 [2017-01-24]

Release Notes

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.

Configuration Changes

The following new configuration options are available, if upgrading to 1.2.0 from prior versions.

[[collectd]] Section

  • 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.

Deprecations

The stress tool influx_stress will be removed in a subsequent release. We recommend using influx-stress as a replacement.

Features

  • #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 the Query 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.

Bugfixes

  • #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 or 0 as a shard duration.
  • #7396: CLI should use spaces for alignment, not tabs.
  • #6527: 0.12.2 Influx CLI client PRECISION returns "Unknown precision....

v1.1.5 [2017-04-28]

Bugfixes

  • #8190: History file should redact passwords before saving to history.
  • #8187: Several statements were missing the DefaultDatabase method

v1.1.4 [2017-02-27]

Bugfixes

  • #8063: Backport #7631 to reduce GC allocations.

v1.1.3 [2017-02-17]

Bugfixes

  • #8027: Remove Tags.shouldCopy, replace with forceCopy on series creation.

v1.1.2 [2017-02-16]

Bugfixes

  • #7832: Fix memory leak when writing new series over HTTP
  • #7929: Fix series tag iteration segfault. (#7922)
  • #8011: Fix tag dereferencing panic.

v1.1.1 [2016-12-06]

Features

  • #7684: Update Go version to 1.7.4.

Bugfixes

  • #7679: Fix string fields w/ trailing slashes
  • #7661: Quote the empty string as an ident.
  • #7625: Fix incorrect tag value in error message.

Security

Go 1.7.4 was released to address two security issues. This release includes these security fixes.

v1.1.0 [2016-11-14]

Release Notes

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.

Deprecations

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.

Configuration Changes

The following configuration changes may need to changed before upgrading to 1.1.0 from prior versions.

[admin] Section

  • enabled now default to false. If you are currently using the admin interaface, you will need to change this value to true to re-enable it. The admin interface is currently deprecated and will be removed in a subsequent release.

[data] Section

  • max-values-per-tag was added with a default of 100,000, but can be disabled by setting it to 0. 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 a partial 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 from 524288000 to 1048576000. 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 to 0 disables the limit.
  • cache-snapshot-write-cold-duration has been decreased from 1h to 10m. 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 from 24h to 4h. The shorter duration allows cold shards to be compacted to an optimal state more quickly.

Features

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 for SHOW 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 and INFLUX_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.

Bugfixes

  • #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.

v1.0.2 [2016-10-05]

Bugfixes

  • #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.

v1.0.1 [2016-09-26]

Bugfixes

  • #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.

v1.0.0 [2016-09-08]

Release Notes

Breaking changes

  • max-series-per-database was added with a default of 1M but can be disabled by setting it to 0. 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 to trace-logging-enabled, and defaults to false.
  • The keywords IF, EXISTS, and NOT where removed for this release. This means you no longer need to specify IF NOT EXISTS for DROP DATABASE or IF EXISTS for CREATE DATABASE. If these are specified, a query parse error is returned.
  • The Shard writePointsFail stat has been renamed to writePointsErr 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.

Features

  • #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.

Bugfixes

  • #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

v0.13.0 [2016-05-12]

Release Notes

With this release InfluxDB is moving to Go v1.6.

Features

  • #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.

Bugfixes

  • #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.

v0.12.2 [2016-04-20]

Bugfixes

  • #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.

v0.12.1 [2016-04-08]

Bugfixes

  • #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.

v0.12.0 [2016-04-05]

Release Notes

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.

Features

  • #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 to 0.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.

Bugfixes

  • #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.

v0.11.1 [2016-03-31]

Bugfixes

  • #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.

v0.11.0 [2016-03-22]

Release Notes

There were some important breaking changes in this release. Here's a list of the important things to know before upgrading:

Features

  • #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

Bugfixes

  • #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 services 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

v0.10.3 [2016-03-09]

Bugfixes

  • #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

v0.10.2 [2016-03-03]

Bugfixes

  • #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

v0.10.1 [2016-02-18]

Bugfixes

  • #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

v0.10.0 [2016-02-04]

Release Notes

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.

Features

  • #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

Bugfixes

  • #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.

v0.9.6 [2015-12-09]

Release Notes

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

Features

  • #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

Bugfixes

  • #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.

v0.9.5 [2015-11-20]

Release Notes

  • 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)

Features

  • #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!

Bugfixes

  • #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

v0.9.4 [2015-09-14]

Release Notes

With this release InfluxDB is moving to Go 1.5.

Features

  • #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.

Bugfixes

  • #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] (regression) 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

v0.9.3 [2015-08-26]

Release Notes

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 every SELECT * 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.

Features

  • #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

Bugfixes

  • #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!

v0.9.2 [2015-07-24]

Features

  • #3177: Client supports making HTTPS requests. Thanks @jipperinbham
  • #3299: Refactor query engine for distributed query support.
  • #3334: Clean shutdown of influxd. Thanks @mcastilho

Bugfixes

  • #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.

v0.9.1 [2015-07-02]

Features

  • 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

Bugfixes

  • 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.

v0.9.0 [2015-06-11]

Bugfixes

  • #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

v0.9.0-rc33 [2015-06-09]

Bugfixes

  • #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.

Features

  • 2858: Support setting openTSDB write consistency.

v0.9.0-rc32 [2015-06-07]

Release Notes

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.

Features

  • #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!

Bugfixes

  • #2776: Re-implement retention policy enforcement.
  • #2635: Fix querying against boolean field in WHERE clause.
  • #2644: Make SHOW queries work with FROM //.
  • #2501: Name the FlagSet for the shell and add a version flag. Thanks @neonstalwart
  • #2647: Fixes typos in sample config file - thanks @claws!

v0.9.0-rc31 [2015-05-21]

Features

  • #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

Bugfixes

  • #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.

PRs

  • #2569: Add derivative functions
  • #2598: Implement tag support in SELECT statements
  • #2624: Remove references to SeriesID in DROP SERIES handlers.

v0.9.0-rc30 [2015-05-12]

Release Notes

This release has a breaking API change for writes -- the field previously called timestamp has been renamed to time.

Features

  • #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.

Bugfixes

  • #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 to time - 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.

v0.9.0-rc29 [2015-05-05]

Features

  • #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!

Bugfixes

  • #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

v0.9.0-rc28 [2015-04-27]

Features

  • #2410 Allow configuration of Raft timers
  • #2354 Wire up STDDEV. Thanks @neonstalwart!

Bugfixes

  • #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

v0.9.0-rc27 [04-23-2015]

Features

  • #2398 Track more stats and report errors for shards.

Bugfixes

  • #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

v0.9.0-rc26 [04-21-2015]

Features

  • #2301: Distributed query load balancing and failover
  • #2336: Handle distributed queries when shards != data nodes
  • #2353: Distributed Query/Clustering Fixes

Bugfixes

  • #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.

v0.9.0-rc25 [2015-04-15]

Bugfixes

  • #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).

Features

  • #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.

v0.9.0-rc24 [2015-04-13]

Bugfixes

  • #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.

v0.9.0-rc23 [2015-04-11]

Features

  • #2202: Initial implementation of Distributed Queries
  • #2202: 64-bit Series IDs. INCOMPATIBLE WITH PREVIOUS DATASTORES.

Bugfixes

  • #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.

v0.9.0-rc22 [2015-04-09]

Features

  • #2214: Added the option to influx CLI to execute single command and exit. Thanks @n1tr0g

Bugfixes

  • #2223: Always notify term change on RequestVote

v0.9.0-rc21 [2015-04-09]

Features

  • #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

Bugfixes

  • #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

v0.9.0-rc20 [2015-04-04]

Features

  • #2128: Data node discovery from brokers
  • #2142: Support chunked queries
  • #2154: Node redirection
  • #2168: Return raft term from vote, add term logging

Bugfixes

  • #2147: Set Go Max procs in a better location
  • #2137: Refactor results to response. 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.

v0.9.0-rc19 [2015-04-01]

Features

  • #2143: Add raft term logging.

Bugfixes

  • #2145: Encode toml durations correctly which fixes default configuration generation influxd config.

v0.9.0-rc18 [2015-03-31]

Bugfixes

  • #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.

v0.9.0-rc17 [2015-03-29]

Features

  • #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

Bugfixes

  • #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.

v0.9.0-rc16 [2015-03-24]

Features

  • #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.

Bugfixes

  • #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.

v0.9.0-rc15 [2015-03-19]

Features

  • #2000: Log broker path when broker fails to start. Thanks @gst.
  • #2007: Track shard-level stats.

Bugfixes

  • #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

v0.9.0-rc14 [2015-03-18]

Bugfixes

  • #1999: Return status code 200 for measurement not found errors on show series.

v0.9.0-rc13 [2015-03-17]

Features

  • #1974: Add time taken for request to the http server logs.

Bugfixes

  • #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.

v0.9.0-rc12 [2015-03-15]

Bugfixes

  • #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

Features

  • #1935: Implement stateless broker for Raft.
  • #1936: Implement "SHOW STATS" and self-monitoring

Features

  • #1909: Implement a dump command.

v0.9.0-rc11 [2015-03-13]

Bugfixes

  • #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.

Features

  • #1902: Enforce retention policies to have a minimum duration.
  • #1906: Add show servers to query language.
  • #1925: Add fill(none), fill(previous), and fill(<num>) to queries.

v0.9.0-rc10 [2015-03-09]

Bugfixes

  • #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 for client.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

Features

  • #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 to SLIMIT and implement LIMIT and OFFSET

v0.9.0-rc9 [2015-03-06]

Bugfixes

  • #1872: Fix "stale term" errors with raft

v0.9.0-rc8 [2015-03-05]

Bugfixes

  • #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

Features

  • #1755: Support JSON data ingest over UDP
  • #1857: Support retention policies with infinite duration
  • #1858: Enable detailed tracing of write path

v0.9.0-rc7 [2015-03-02]

Features

  • #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.

Bugfixes

  • #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

v0.9.0-rc6 [2015-02-27]

Bugfixes

  • #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.

v0.9.0-rc5 [2015-02-27]

Bugfixes

  • #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 support LIMIT and OFFSET

Features

  • #1698: Wire up DROP MEASUREMENT

v0.9.0-rc4 [2015-02-24]

Bugfixes

  • Fix authentication issue with continuous queries
  • Print version in the log on startup

v0.9.0-rc3 [2015-02-23]

Features

  • #1659: WHERE against regexes: `WHERE =~ '.*asdf'
  • #1580: Add support for fields with bool, int, or string data types
  • #1687: Change Rows to Series 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 and last 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 to Fields on writes. BREAKING API CHANGE
  • #1706: Add support for LIMIT and OFFSET, which work on the number of series returned in a query. To limit the number of data points use a WHERE time clause

Bugfixes

  • #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.

v0.9.0-rc1,2 [no public release]

Features

  • 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!

v0.8.6 [2014-11-15]

Features

  • Issue #973. Support joining using a regex or list of time series
  • Issue #1068. Print the processor chain when the query is started

Bugfixes

  • 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.

v0.8.5 [2014-10-27]

Features

  • Issue #1055. Allow graphite and collectd input plugins to have separate binding address

Bugfixes

  • 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.

v0.8.4 [2014-10-24]

Bugfixes

  • 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() and bottom()
  • 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.

Features

  • Issue #1047. Allow merge() to take a list of series (as opposed to a regex in #72)

v0.8.4-rc.1 [2014-10-21]

Bugfixes

  • 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

Features

  • 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

v0.8.3 [2014-09-24]

Bugfixes

  • 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.

v0.8.2 [2014-09-05]

Bugfixes

  • Issue #886. Update shard space to not set defaults

  • Issue #867. Add option to return shard space mappings in list series

Bugfixes

  • Issue #652. Return a meaningful error if an invalid column is used in where clause after joining multiple series

v0.8.2 [2014-09-08]

Features

  • Added API endpoint to update shard space definitions

Bugfixes

  • Issue #886. Shard space regexes reset after restart of InfluxDB

v0.8.1 [2014-09-03]

  • Issue #896. Allow logging to syslog. Thanks @malthe

Bugfixes

  • 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)

v0.8.0 [2014-08-22]

Features

  • Issue #850. Makes the server listing more informative

Bugfixes

  • 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.

v0.8.0-rc.5 [2014-08-15]

Features

  • 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

Bugfixes

  • 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

v0.8.0-rc.4 [2014-07-29]

Bugfixes

  • 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

v0.8.0-rc.3 [2014-07-21]

Bugfixes

  • 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.

v0.8.0-rc.2 [2014-07-15]

  • 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

v0.8.0-rc.1 [2014-07-15]

Features

  • 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

Bugfixes

  • 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

v0.7.3 [2014-06-13]

Bugfixes

  • 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.

v0.7.2 [2014-05-30]

Features

  • Issue #521. MODE works on all datatypes (Thanks, @richthegeek)

Bugfixes

  • 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

Features

v0.7.1 [2014-05-29]

Bugfixes

  • Issue #579. Reject writes to nonexistent databases
  • Issue #597. Force compaction after deleting data

Features

  • 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.

v0.7.0 [2014-05-23]

Bugfixes

  • 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)

Features

  • Issue #567. Allow selecting from multiple series names by separating them with commas (Thanks, @peekeri)

Deprecated

  • Issue #460. Don't start automatically after installing
  • Issue #529. Don't run influxdb as root
  • Issue #443. Use name instead of username when returning cluster admins

v0.6.5 [2014-05-19]

Features

  • Issue #551. Add TOP and BOTTOM aggregate functions (Thanks, @chobie)

Bugfixes

  • Issue #555. Fix a regression introduced in the raft snapshot format

v0.6.4 [2014-05-16]

Features

  • 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)

Bugfixes

  • 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

v0.6.3 [2014-05-13]

Features

  • Issue #505. Return a version header with http the response (Thanks, @majst01)
  • Issue #520. Print the version to the log file

Bugfixes

  • 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

v0.6.2 [2014-05-09]

Bugfixes

  • 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

v0.6.1 [2014-05-06]

Bugfixes

  • 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

v0.6.0 [2014-05-02]

Feature

  • Issue #477. Add a udp json interface (Thanks, Julien Ammous)
  • Issue #491. Make initial root password settable through env variable (Thanks, Edward Muller)

Bugfixes

  • 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

v0.5.12 [2014-04-29]

Bugfixes

  • Issue #419,Issue #478. Allow hostname, raft and protobuf ports to be changed, without requiring manual intervention from the user

v0.5.11 [2014-04-25]

Features

  • Issue #471. Read and write permissions should be settable through the http api

Bugfixes

  • Issue #323. Continuous queries should guard against data loops
  • Issue #473. Engine memory optimization

v0.5.10 [2014-04-22]

Features

  • 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)

Bugfixes

  • 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

v0.5.9 [2014-04-18]

Bugfixes

  • 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

v0.5.8 [2014-04-17]

  • Renamed config.toml.sample to config.sample.toml

Bugfixes

  • 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

v0.5.7 [2014-04-15]

Features

  • Queries are now logged as INFO in the log file before they run

Bugfixes

  • 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

v0.5.6 [2014-04-08]

Features

  • Issue #310. Request should support multiple timeseries
  • Issue #416. Improve the time it takes to drop database

Bugfixes

  • 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

Bugfixes

v0.5.5 [2014-04-04]

  • Upgrade leveldb 1.10 -> 1.15

    This should be a backward compatible change, but is here for documentation only

Feature

  • 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

Bugfixes

  • 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

v0.5.4 [2014-04-02]

Bugfixes

  • 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

v0.5.3 [2014-03-31]

Bugfixes

  • 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

v0.5.2 [2014-03-28]

Bugfixes

  • 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

v0.5.1 [2014-03-24]

Bugfixes

  • Revert the version of goraft due to a bug found in the latest version

v0.5.0 [2014-03-24]

Features

Bugfixes

  • Issue #340. Writing many requests while replaying seems to cause commits out of order

v0.5.0-rc.6 [2014-03-20]

Bugfixes

  • 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

v0.5.0-rc.5 [2014-03-11]

Bugfixes

  • 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

v0.5.0-rc.4 [2014-03-07]

Bugfixes

  • 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)

v0.5.0-rc.3 [2014-03-03]

Bugfixes

  • 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.

v0.5.0-rc.2 [2014-02-27]

Bugfixes

  • 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

v0.5.0-rc.1 [2014-02-25]

Bugfixes

  • 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

Features

Deprecated

  • Issue #189. /cluster_admins and /db/:db/users return usernames in a name key instead of username key.
  • Issue #216. Results with no points should exclude columns and points

v0.4.4 [2014-02-05]

Features

  • Make the leveldb max open files configurable in the toml file

v0.4.3 [2014-01-31]

Bugfixes

  • 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

v0.4.1 [2014-01-30]

Features

Bugfixes

  • 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 or sequence_number silently fail
  • Issue #215. Server fails to start up after Raft log compaction and restart.

v0.4.0 [2014-01-17]

Features

  • 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

Bugfixes

  • 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

Deprecated

  • 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 consistent name 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.

v0.3.2

Features

  • 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

Bugfixes

  • Issue #75. Don't allow time series names that start with underscore
  • Issue #85. Non-existing columns exist after they have been queried before

v0.3.0

Features

  • 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

Bugfixes

  • 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

v0.2.0

Features

  • Issue #37. Support the negation of the regex matcher !~
  • Issue #47. Spill out query and database detail at the time of bug report

Bugfixes

  • 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

Deprecated

  • Preparing to deprecate /dbs (for listing databases) in favor of a more consistent /db endpoint
  • Preparing to deprecate username field for a more consistent name 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.

v0.1.0

Features

  • Issue #29. Semicolon is now optional in queries
  • Issue #31. Support Basic Auth as well as query params for authentication.

Bugfixes

  • 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

v0.0.9

Features

  • Add stddev(...) support
  • Better docs, thanks @auxesis and @d-snp.

Bugfixes

  • 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

v0.0.8

Features

  • Add a way to reset the root password from the command line.
  • Add distinct(..) and derivative(...) support
  • Print test coverage if running go1.2

Bugfixes

  • Fix the default admin site path in the .deb and .rpm packages.
  • Fix the configuration filename in the .tar.gz package.

v0.0.7

Features

  • include the admin site in the repo to make it easier for newcomers.

v0.0.6

Features

  • Add count(distinct(..)) support

Bugfixes

  • Reuse levigo read/write options.

v0.0.5

Features

  • Cache passwords in memory to speed up password verification
  • Add MERGE and INNER JOIN support

Bugfixes

  • All columns should be returned if select * was used
  • Read/Write benchmarks

v0.0.2

Features

  • Add an admin UI
  • Deb and RPM packages

Bugfixes

  • Fix some nil pointer dereferences
  • Cleanup the aggregators implementation

v0.0.1 [2013-10-22]

  • Initial Release