Commit Graph

10631 Commits (27650da7b9562de722ed6cd2c873a6c04a243283)

Author SHA1 Message Date
Ross McDonald 27650da7b9 Merge pull request #7012 from influxdata/ross-circle-update
Update circle.yml to automate release upload on version tag
2016-07-15 16:21:06 -05:00
Jason Wilder 6710c69aa5 Merge pull request #7015 from influxdata/jw-drop
Speed up delete/drop statements
2016-07-15 12:41:08 -06:00
Jason Wilder 21dbe7e854 Simplify throttle type 2016-07-15 12:14:25 -06:00
Jason Wilder d1556e3964 Fix missing read locks before filtering 2016-07-15 10:08:26 -06:00
Jason Wilder 5686e9e36a Update changelog 2016-07-14 17:31:34 -06:00
Jason Wilder ff5d61d024 Speed up delete series
Reduce lock contention and process shards in concurrently.
2016-07-14 17:31:34 -06:00
Jason Wilder 8f3ec3be43 Inline deleteShard
Only used by one caller now
2016-07-14 17:31:34 -06:00
Jason Wilder 78201e19d0 Refactor DeleteDatabase to use filter/walk funcs 2016-07-14 17:31:34 -06:00
Jason Wilder e0122efcf8 Speed up drop retention policy
Reduce the lock contention on tsdb.Store by taking a short lived
read-lock instead of a long write lock.  Also close shards in parallel
and drop the whole RP dir in bulk instead of each shard dir.
2016-07-14 17:31:34 -06:00
Jason Wilder 6d3d2f6fe9 Speed up drop measurement
Reduces the lock contention on the tsdb.Store by taking a short
read lock instead of a long write lock.  Also processes shards
in parallel instead of serially.
2016-07-14 17:31:29 -06:00
Jason Wilder 4254ad304c Merge pull request #6851 from influxdata/md-add-benchmarks
Add additional benchmarks for various schemas
2016-07-14 15:04:29 -06:00
Ross McDonald 9b5ba6b8c3 Update circle.yml to automate release upload on version tag. 2016-07-14 14:32:53 -05:00
Jason Wilder 1bc5b6036c Merge pull request #6952 from influxdata/jw-planner
Compaction planning fixes
2016-07-14 13:07:59 -06:00
Jason Wilder 3c67d12d42 Update changelog 2016-07-14 11:51:41 -06:00
Jason Wilder 0f5e994383 Fix panic in full compactions due to duplciate data in blocks
Due to a bug in compactions, it's possible some blocks may have duplicate
points stored.  If those blocks are decoded and re-compacted, an assertion
panic could trigger.

We now dedup those blocks if necessary to remove the duplicate points
and avoid the panic.
2016-07-14 11:32:36 -06:00
Jason Wilder 0264966f5c Add index optimize planning step
For larger datasets, it's possible for shards to get into a state where
many large, dense TSM files exist.  While the shard is still hot for
writes, full compactions will skip these files since they are already
fairly optimized and full compactions are expensive.  If the write volume
is large enough, the shard can accumulate lots of these files.  When
a file is in this state, it's index can contain every series which
causes startup times to increase since each file must parse the full
set of series keys for every file.  If the number of series is high,
the index can be quite large causing large amount of disk IO at startup.

To fix this, a optmize compaction is run when a full compaction planning
step decides there is nothing to do.  The optimize compaction combines
and spreads the data and series keys across all files resulting in each
file containing the full series data for that shard and a subset of the
total set of keys in the shard.

This allows a shard to only store a series key once in the shard reducing
storage size as well allows a shard to only load each key once at startup.
2016-07-14 11:32:36 -06:00
Jason Wilder 5ee20e04a8 Fix compaction level planner
Large files created early in the leveled compactions could cause
a shard to get into a bad state.  This reworks the level planner
to handle those cases as well as splits large compactions up into
multiple groups to leverage more CPUs when possible.
2016-07-14 11:14:09 -06:00
Jonathan A. Sternberg bf400a71b9 Merge pull request #7007 from influxdata/js-6928-cq-one-query-for-all-intervals
Run continuous query for multiple buckets rather than one per bucket
2016-07-14 11:49:16 -05:00
Jonathan A. Sternberg f6ff8a572d Run continuous query for multiple buckets rather than one per bucket 2016-07-14 11:23:05 -05:00
Ross McDonald 30fb51d07a Merge pull request #6965 from influxdata/ross-package-fix
Remove sysvinit-tools as an RPM package dependency
2016-07-12 10:13:06 -05:00
Ross McDonald c769639e88 Packaging fixes:
* Removes sysvinit-tools as an RPM package dependency.

* Update init script to not rely on sysvinit utils for backwards
  compatibility.

* Minor overall improvements to init script (improved error messages,
  comments, check for root privileges).

* Adds SLES support to post-installation script.
2016-07-12 09:22:57 -05:00
Cory LaNou 921e4f5d20 Merge pull request #6986 from influxdata/cjl-update-connection-settings-cli
update connection settings when changing hosts in cli
2016-07-09 19:32:21 -05:00
Cory LaNou 8871f5bf8c update connection settings when changing hosts in cli 2016-07-08 11:35:42 -05:00
Jonathan A. Sternberg 11d141ae1f Merge pull request #6908 from influxdata/js-1110-support-for-multiple-typesdb
Support loading a folder for collectd typesdb files
2016-07-07 21:29:48 -05:00
Jonathan A. Sternberg 83caeec3a4 Support loading a folder for collectd typesdb files 2016-07-07 20:57:57 -05:00
Jonathan A. Sternberg 0e95f55a25 Merge pull request #6978 from influxdata/js-6959-403-forbidden-on-auth-failure
Properly use the 401 and 403 HTTP status codes
2016-07-07 20:57:30 -05:00
Jonathan A. Sternberg 7a3bd19926 Properly use the 401 and 403 HTTP status codes
According to the HTTP standard, a lack of authentication credentials or
incorrect authentication credentials should send back a 401
(Unauthorized) with a `WWW-Authenticate` header with a challenge that
can be used to authenticate. This is because a 401 status should be sent
when an authentication attempt can be retried by the browser.

The 403 (Forbidden) status code should be sent when authentication
succeeded, but the user does not have the necessary authorization.
Previously, the server would always send a 401 status code.
2016-07-07 20:30:04 -05:00
Jonathan A. Sternberg 8610099ed7 Merge pull request #6977 from influxdata/js-5499-stats-and-diagnostics-to-tsm-engine
Add stats and diagnostics to the TSM engine
2016-07-07 20:29:24 -05:00
Jonathan A. Sternberg 12a33fe0d3 Add stats and diagnostics to the TSM engine
Track the number of TSM files in the file store and keep engine
statistics related to the number of TSM compactions.
2016-07-07 19:35:55 -05:00
Jonathan A. Sternberg f4c663a8cd Merge pull request #6811 from influxdata/js-6805-help-message
Allow any variant of the help option to trigger the help
2016-07-07 19:34:26 -05:00
Jonathan A. Sternberg 036bf7d2d1 Allow any variant of the help option to trigger the help 2016-07-07 16:54:26 -05:00
Jonathan A. Sternberg bd24dc7135 Merge pull request #6970 from influxdata/js-6968-load-default-configuration-file
Always use the demo config when outputting a new config
2016-07-07 16:51:08 -05:00
Jonathan A. Sternberg ad97903a20 Always use the demo config when outputting a new config
Updating the help formatting for all of the commands for consistency.
Removed tabs from the output in favor of using spaces so it is more
clear how the output is intended to look.
2016-07-07 16:29:24 -05:00
Jonathan A. Sternberg 6e9102be19 Merge pull request #6964 from influxdata/js-6507-refactor-expvar
Refactoring the monitor service to avoid expvar
2016-07-07 12:36:55 -05:00
Jonathan A. Sternberg 837a9804cf Refactoring the monitor service to avoid expvar
Truncate the time interval output of the monitor service to be on even
time intervals rather than on every minute based on the start time. This
normalizes the output from the monitor service.
2016-07-07 11:13:58 -05:00
Michael Desa df289a687d Merge pull request #6973 from influxdata/jz-stress-foo
Add @ symbol to -v2 stress
2016-07-07 07:03:32 -07:00
Jack Zampolin f9e082663c Add @ symbol to -v2 stress 2016-07-06 17:10:28 -07:00
Jonathan A. Sternberg 9391d40b4e Merge pull request #6960 from influxdata/js-remove-dataonly-node
The data only build tag is no longer used
2016-07-06 12:15:56 -05:00
Edd Robinson 89d76d0476 Merge pull request #6966 from influxdata/er-errors
Remove unused errors
2016-07-06 15:45:15 +01:00
Edd Robinson 2c85d498ef Remove unused errors 2016-07-06 15:04:39 +01:00
Edd Robinson b3a58a7188 Merge pull request #6656 from keras/patch-1
Don't force root path on admin.js getClientVersion()
2016-07-06 11:19:32 +01:00
Mikael Taina b9d3ae085c Don't force root path on getClientVersion
Similar to #1339 .

Fix getClientVersion() on setups where the admin interface resides on some
other path than root path due to some reverse proxy setup.
2016-07-05 22:47:48 +03:00
Jonathan A. Sternberg 960517fd02 Merge pull request #6919 from influxdata/js-6708-drop-writes-from-before-rp-window
Drop writes from before the retention policy time window
2016-07-05 13:37:50 -05:00
Jonathan A. Sternberg 93dda3a65d Drop writes from before the retention policy time window 2016-07-05 12:29:14 -05:00
Jonathan A. Sternberg 51954a08a9 Merge pull request #6942 from influxdata/js-cache-panic-fix
Truncate the slice when merging the caches
2016-07-05 12:28:44 -05:00
Jason Wilder 2f82d9a525 Truncate the slice when merging the caches 2016-07-05 12:12:21 -05:00
Jonathan A. Sternberg e19cc044ac Merge pull request #6934 from influxdata/js-fix-regex-binary-encoding
Fix regex binary encoding for a measurement
2016-07-05 12:06:17 -05:00
Jonathan A. Sternberg bb060a60c6 Fix regex binary encoding for a measurement
Previously, it encoded the text representation of the regex literal
which included the surrounding slashes used in the query language. The
binary encoding should only include the exact string used to create the
regular expression.
2016-07-05 11:39:41 -05:00
Jonathan A. Sternberg b12f2c829b The data only build tag is no longer used
Removing the data only build tag because it is no longer used. It was
previously used for building a data only node from the open source build
that could be used in clustering, but all of the RPC code was removed
since the separation was too much of a hindrance on development whenever
we found a bug.

Since the original purpose of this is now useless, there's no point in
having a confusing build tag around.
2016-07-02 17:44:34 -05:00
Todd Persen 0fc2593868 Merge pull request #6939 from ThatCoalGuy/favicon-6938
Added favicon to admin UI
2016-07-01 11:48:55 -07:00