Commit Graph

10950 Commits (fcd425c8c62ccce9e549be7705d5a29c668e10f2)

Author SHA1 Message Date
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
Cole Mackenzie 6d926722b5 added favicon.ico and regenerated statik.go 2016-07-01 08:53:56 +00:00
Jonathan A. Sternberg b2ca3b2470 Merge pull request #6918 from influxdata/js-6911-fill-previous-with-multiplication
Fix fill(previous) when used with math operators
2016-06-30 10:32:17 -05:00
Jonathan A. Sternberg 3bd51d3537 Fix fill(previous) when used with math operators 2016-06-29 09:54:12 -05:00
Jason Wilder 5aae28e14f Merge pull request #6922 from influxdata/jw-6829
Fix panic: runtime error: index out of range
2016-06-28 09:38:19 -06:00
Jason Wilder fdf0bac717 Fix panic: runtime error: index out of range
Fixes #6829
2016-06-27 18:50:48 -06:00
Edd Robinson 9fb1c514e4 Merge pull request #6906 from oiooj/pr-influxdb
delete redundant code in NewStore function
2016-06-24 11:40:04 +01:00
kun 77ed719bc1 delete redundant code in NewStore function 2016-06-24 17:14:00 +08:00
Cameron Sparr 98360c50d5 Trim BOM from config file for windows support
Default windows text editor (Notepad) adds a BOM to the beginning of the
file. This needs to be trimmed otherwise we will get an "invalid toml"
error.

see https://github.com/influxdata/telegraf/issues/1378
and http://utf8everywhere.org/#faq.boms
2016-06-24 07:50:13 +01:00
Michael Desa 517d8d5881 Move benchmarks beneath other NewSeries 2016-06-23 10:15:37 -07:00
Jonathan A. Sternberg b8e52ce39a Merge pull request #6889 from influxdata/js-update-config-options
Update help and remove unused config options from the configuration file
2016-06-23 11:49:10 -05:00
Jason Wilder 25162e824a Merge pull request #6897 from influxdata/jw-dups
Fix out of order blocks returned during query
2016-06-23 10:33:55 -06:00
Edd Robinson 0568f776d1 Merge pull request #6899 from oiooj/pr-influxdb
fix ClusterID generation bug
2016-06-23 11:10:13 +01:00
kun 8aa2fe8ede fix ClusterID generation bug 2016-06-23 14:52:58 +08:00
Jason Wilder ca6bfac01a Fix out of order blocks returned during query
If there were blocks in later TSM files that were for overwritten
points or writes into the past, they could be returned more than
once or out of order causing the cursor values to be unsorted.

One effect of this is that graphs in graphana would render with
the line going all over the place in spots.

This might also cause duplicate data to be returned.

Fixes #6738
2016-06-22 17:34:44 -06:00
Jack Zampolin bdbabcbb42 Merge pull request #6855 from influxdata/jz-stress-update
Update V2 stress test
2016-06-22 13:54:01 -07:00
Jack Zampolin e39dcaf8f0 Clean up code, fix struct and file names to fit with golang convention 2016-06-22 13:13:36 -07:00
Jonathan A. Sternberg e6cd4c7313 Merge pull request #6864 from influxdata/js-6397-allow-use-database-with-non-admin
Allow a non-admin to call "use" for the influx cli
2016-06-22 11:04:30 -05:00
Jonathan A. Sternberg 1d20498273 Allow a non-admin to call "use" for the influx cli
Previously, a non-admin could not call "use" in the influx cli since the
`SHOW DATABASES` command requires admin permissions to run. The correct
solution to this is likely to allow non-admins to call `SHOW DATABASES`,
but only see the databases they should be capable of seeing.

Since we don't have this kind of fine-grained authorization yet and
plans for it are still in the works, we do need someway to not
arbitrarily cripple non-admins attempting to use the cli program. This
is a temporary solution that will ignore any authorization errors from
`SHOW DATABASES` if authorization has been set. A warning message will
be printed and the database will be switched. This should be enough to
ensure that there is some warning that you may not have switched to a
valid database while not crippling non-admin users.

A temporary solution for #6397.
2016-06-22 08:15:18 -05:00
Jonathan A. Sternberg 7bdcd669a8 Merge pull request #6879 from influxdata/js-prune-deadcode
Removing dead code from every package except influxql
2016-06-22 08:12:19 -05:00
Jonathan A. Sternberg 22173acb70 Update help and remove unused config options from the configuration file
Normalize the output for the various help options so they all follow the
same format and display all relevant options.

Removing some of the unused config options from the configuration file
and updating the help documentation. Removing some remaining references
to clustering within the open source version.
2016-06-21 14:06:05 -05:00
Jonathan A. Sternberg 0ac9ab0f39 Merge pull request #6883 from influxdata/js-influx-inspect-dumptsm
Rename dumptsmdev to dumptsm in influx_inspect
2016-06-21 10:45:00 -05:00
Jonathan A. Sternberg 2a1e6533b7 Rename dumptsmdev to dumptsm in influx_inspect
Removes the old implementation of `dumptsm`. It was for an older version
of the tsm1 files that is no longer used and now just panics when used
on a tsm1 file. dumptsmdev has been renamed to `dumptsm`, but the old
`dumptsmdev` command still works for compatibility.
2016-06-21 10:31:05 -05:00
Jonathan A. Sternberg 497db2a6d3 Removing dead code from every package except influxql
The tsdb package had a substantial amount of dead code related to the
old query engine still in there. It is no longer used, so it was removed
since it was left unmaintained. There is likely still more code that is
the same, but wasn't found as part of this code cleanup.

influxql has dead code show up because of the code generation so it is
not included in this pruning.
2016-06-20 22:41:07 -05:00
Jonathan A. Sternberg 4423c06092 Merge pull request #6882 from influxdata/js-tsm1-writer-double-lock
Remove a double lock in the tsm1 index writer
2016-06-20 22:18:41 -05:00
Jonathan A. Sternberg 8812bc8a93 Remove a double lock in the tsm1 index writer 2016-06-20 17:32:34 -05:00
Jonathan A. Sternberg 79b09747f0 Merge pull request #6872 from influxdata/js-6869-remove-field-codec
Remove FieldCodec from tsdb package
2016-06-20 11:32:29 -05:00
Jonathan A. Sternberg bed66cfbe4 Merge pull request #6813 from influxdata/js-influxql-golint
Fix golint errors for the influxql package
2016-06-20 09:15:36 -05:00
Jonathan A. Sternberg 252cde1e81 Fix golint errors for the influxql package 2016-06-20 08:51:02 -05:00
Edd Robinson cb95b2f629 Merge pull request #6867 from influxdata/sb-pr-template-addition
add syntax example to optional PR requirements
2016-06-20 11:38:25 +01:00
Edd Robinson 9603bad14c Merge pull request #6868 from smunier01/continuous-queries-admin-interface
Add continuous queries templates in admin interface
2016-06-20 11:35:47 +01:00
Edd Robinson 3d8cde2346 Merge pull request #6774 from minkikim89/patch-1
Fixed admin page reloaded when navbar-brand clicked
2016-06-20 11:34:08 +01:00