Commit Graph

10780 Commits (05d1a948d01105677928649e356f64cb07b8f1b0)

Author SHA1 Message Date
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
Jonathan A. Sternberg 1d03151631 Remove FieldCodec from tsdb package
Updated `influx_inspect` to use the `FieldDimensions` method instead
(more reliable anyway). The `influx_tsm` program used its own vendored
copy of `FieldCodec` so it is not affected by this change. `FieldCodec`
was only used for the `b1` and `bz1` engines which were removed in 0.12,
but the code that created the field codec was never removed. This
limited the maximum number of fields to 255 even though that restriction
was removed with the `tsm1` engine.

Fixes #6869.
2016-06-19 21:38:43 -05:00
simon f007fccb4a Add continuous queries templates in admin interface 2016-06-18 16:33:41 +02:00
Sean Beckett 8edf48cbc7 add syntax example to optional PR requirements 2016-06-17 17:53:05 -06:00
Jonathan A. Sternberg 551cb61d9e Merge pull request #6860 from influxdata/js-6859-condition-nil-iterator-panic
Set the condition cursor instead of aux iterator when creating a nil condition cursor
2016-06-17 15:13:39 -05:00
Jonathan A. Sternberg e2eac52dd9 Merge pull request #6865 from influxdata/js-changelog-fix
Remove 1.0.0-beta1 section and merge with the 1.0.0 section
2016-06-17 15:09:33 -05:00
Jonathan A. Sternberg 6e205ce135 Set the condition cursor instead of aux iterator when creating a nil condition cursor
A copy/paste error had nil cursors destined for a condition cursor get
set to the auxiliary cursor instead. When the number of conditions
exceeded the number of auxiliary fields, this would result in a stack
trace in some situations. When the number of conditions was less than or
equal to the number of auxiliary fields, it means that an auxiliary
cursor may have been overwritten with a nil cursor accidentally and a
leak might have happened since it was never closed.

Fixes #6859.
2016-06-17 14:54:48 -05:00
Jonathan A. Sternberg 6c7b670821 Remove 1.0.0-beta1 section and merge with the 1.0.0 section 2016-06-17 14:18:47 -05:00
Jonathan A. Sternberg 74cffdb7ab Merge pull request #6839 from influxdata/js-6824-systemd-redirect
Remove systemd output redirection
2016-06-17 14:17:04 -05:00
Paul Dix b937cfedd6 Merge pull request #6863 from influxdata/pd-update-reporting-language
Update usage info to remove anonymous
2016-06-17 11:52:48 -07:00
Paul Dix 04d1393425 Update usage url 2016-06-17 14:27:11 -04:00
Paul Dix 03d68aae20 Update reporting url 2016-06-17 14:25:10 -04:00
Paul Dix 79d1f31d0b Update usage info to remove anonymous 2016-06-17 14:19:10 -04:00
Jonathan A. Sternberg 55a58aaaca Remove systemd output redirection
Let systemd handle the output so the journal can be used. This also
let's the user configure if the journal stores the output of this
service to a file instead of setting the location.

Fixes #6824.
2016-06-17 13:00:00 -05:00
Jonathan A. Sternberg 8c93c7e288 Merge pull request #6849 from influxdata/js-purge-unused-dependencies
Purge unused dependencies
2016-06-17 12:39:20 -05:00
Jonathan A. Sternberg 65e9903510 Merge pull request #6850 from influxdata/js-shard-group-max-time
Modify the max nanosecond time to be one nanosecond less
2016-06-16 13:12:12 -05:00
Jonathan A. Sternberg 8e1b036b0a Modify the max nanosecond time to be one nanosecond less
The highest time represented by a nanosecond needs to be used for an
exclusive range, so the maximum time needs to be one less than the
possible maximum number of nanoseconds representable by an int64 so that
we don't lose a point at that one time.

Previously worked in the open source version because the timestamp used
for finding a shard would be truncated by the retention policy so the
lookup time didn't run into this edge case because it didn't rest on the
truncation boundary. Since that point didn't really belong in that shard
group and was placed there by mistake, it's best to fix this bug since
the timestamp used to create the shard group should be capable of
retrieving it.
2016-06-16 12:15:41 -05:00
Michael Desa 0c867e4b2c Fix benchmark test names
Previously the test names included an `s` for the name of a singular
component.
2016-06-16 08:45:36 -07:00
Jonathan A. Sternberg 36ee371475 Purge unused dependencies
Raft is no longer used in the open source version so we don't need a
dependency on it.
2016-06-15 17:12:38 -05:00
Michael Desa 9dfaa182a7 Add additional benchmarks for various schemas
Anecdotally, the relationship between memory consumption and series
cardinality was thought to be exponential. I suspect that this is false.
The intent of the added benchmarks is to verify my suspicion. Eventually
the these benchmarks will run nightly to serve as a basis to evualuate
the memory performance in a controlled environment.

https://github.com/influxdata/docs.influxdata.com/issues/392
2016-06-15 14:54:14 -07:00
Jack Zampolin 3b400a2db1 Merge pull request #6843 from influxdata/jz-stress-auth
Add ssl, un, pw support to v2 stress
2016-06-14 18:27:55 -07:00