Commit Graph

11451 Commits (a801c9dea69789709d1661aef58ceb976383da6f)

Author SHA1 Message Date
Mark Rushakoff 61b5a15227 Prefer built-in string -> []rune conversion 2017-01-03 14:45:33 -08:00
Cory LaNou 3c518f8927
panicing is bad -> error returns are good 2017-01-03 14:28:29 -06:00
Mark Rushakoff 07b87f2630 Miscellaneous lint cleanup 2017-01-03 09:47:32 -08:00
Mark Rushakoff f715692d7a Merge pull request #7784 from influxdata/mr-meta-errors
Fix broken return statements swallowing errors
2017-01-03 09:27:57 -08:00
Mark Rushakoff 959c445a88 Fix broken return statements swallowing errors
There was no comment on either case specifying that the `return nil`
was deliberate instead of `return err`, so I'm assuming these were
typos. I added tests to conserve the error-returning behavior.
2017-01-03 08:50:34 -08:00
Michael Nikitochkin 5ebd4244b1 Merge branch 'master' into env-array-config 2017-01-02 16:35:55 +01:00
Mark Rushakoff 41415cf2fb Update godoc for tsm1 package 2017-01-02 07:30:18 -08:00
Steven Erenst c902e6b902 Fix small typo in CONTRIBUTING.md 2017-01-01 21:22:06 -08:00
Mark Rushakoff 4a774eb600 Update godoc for the tsdb package 2016-12-30 21:12:37 -08:00
Mark Rushakoff bb93f8c593 Update godoc for packages tcp, toml, uuid 2016-12-30 18:03:02 -08:00
Mark Rushakoff 218fc3890d Update godoc for services
The admin service was deliberately skipped due to it being deprecated.
2016-12-30 18:03:01 -08:00
Mark Rushakoff 0551d87ddb Update godoc for pkg 2016-12-30 18:03:01 -08:00
Mark Rushakoff 53d373b39e Update godoc for the monitor package 2016-12-30 18:03:01 -08:00
Mark Rushakoff 7b5b3189dd Update godoc for package models 2016-12-30 18:02:52 -08:00
Mark Rushakoff 88b8bd2465 Update godoc for package influxql
I did not look at any of the .gen.go files.
2016-12-30 18:02:52 -08:00
Mark Rushakoff 363c16b5a9 Add package comment for importer/v8 2016-12-30 11:58:43 -08:00
Mark Rushakoff 1d3da81a7d Update godoc for the coordinator package. 2016-12-30 11:58:43 -08:00
Mark Rushakoff 6768c6ed3b Update godoc for the cmd package and subpackages 2016-12-30 11:58:43 -08:00
Mark Rushakoff 623bb71b01 Update godoc for the client packages 2016-12-30 11:58:43 -08:00
Mark Rushakoff c783c3d05f Merge pull request #7775 from zegl/master
Removed ineffective assignments, and added checks for errors that pre…
2016-12-30 10:00:52 -08:00
Gustav Westling 69c5354d98
Use length instead of removing it 2016-12-30 12:23:40 +01:00
Gustav Westling 13efbc6ce0
Removed empty line 2016-12-30 12:22:09 +01:00
Gustav Westling 26b33307ae
Resolved PR comments on test files 2016-12-30 11:42:38 +01:00
Gustav Westling a8343dee99
Fix broken test. Change Fatalf to Fatal. 2016-12-29 20:41:00 +01:00
Gustav Westling 56d98325da
Removed ineffective assignments, and added checks for errors that previsouly was not checked 2016-12-29 20:26:15 +01:00
Mark Rushakoff b650834848 Merge pull request #7761 from influxdata/mr-marshal-point-require-fields
Require fields when marshalling Point
2016-12-28 12:58:00 -08:00
Mark Rushakoff b896c56b5a Add test for marshalling a point without fields 2016-12-28 12:09:30 -08:00
Mark Rushakoff f6a3ffecaf Require fields when marshalling Point
I haven't been able to reproduce creating a point without any fields,
but we've seen points in the wild that have been marshalled with no
fields - that is, the length header for fields is uint32(0) and a
well-formed encoded time follows.

Attempting to unmarshal points via NewPointFromBytes returns
ErrPointMustHaveAField, so it seems better to fail earlier with the same
error, rather than allowing those points to be serialized in the first
place.
2016-12-23 19:43:15 -08:00
Jonathan A. Sternberg 0a04499992 Merge pull request #7688 from harryrose/master
Add bound parameters map to Query object
2016-12-23 17:08:14 -06:00
Michael Nikitochkin 65b08e56f7 [#7323]: Allow add items to array config via ENV
Allow to create a new templates or tags configs, if there are no records
in the default config.

Fixes: #6943
2016-12-23 09:20:46 +01:00
Michael Desa 759d78feb1 Merge pull request #7757 from influxdata/fix-changelog-typo
Fix changelog typo for fill linear PR
2016-12-22 13:26:44 -05:00
Michael Desa 34bfa52272 Fix changelog typo for fill linear PR
Thanks @inselbuch for noticing the issue
2016-12-22 00:53:10 -05:00
Mark Rushakoff 41677b753e Merge pull request #7750 from influxdata/er-demo-config
Clarify collectd directory usage in demo config
2016-12-21 09:15:17 -08:00
Harry Rose 0cb456bda1 Update CHANGELOG.md 2016-12-20 20:18:43 +00:00
Harry Rose a07103ca72 Add bound parameters map to Query object. Fixes #7687 2016-12-20 20:07:28 +00:00
Cory LaNou bc5736f59d Merge pull request #7672 from influxdata/cjl-7563-rp-duration-inf
Enforce minimum shard duration when creating retention policies
2016-12-20 12:16:07 -06:00
Edd Robinson da812b9d32 Update config; fixes #7736 2016-12-20 16:17:07 +00:00
Cory LaNou e883053a6b Merge pull request #7708 from influxdata/cjl-3188-cli-rp-context
add the ability for retention policy context in cli with use command
2016-12-20 10:06:11 -06:00
Cory LaNou 880c7cdcc8 Merge branch 'master' into cjl-3188-cli-rp-context 2016-12-20 09:55:40 -06:00
Cory LaNou f2ea3e1d64 Merge pull request #7709 from influxdata/cjl-cli-clear-command
add clear command to cli
2016-12-20 09:54:49 -06:00
Cory LaNou 0cbdea531a add the ability for retention policy context in cli with use command 2016-12-20 09:15:38 -06:00
Cory LaNou fbc9e3cfcc add clear command to cli 2016-12-20 09:14:20 -06:00
Cory LaNou 572da8985c enforce minimum shard duration when creating retention policies 2016-12-20 09:11:43 -06:00
Edd Robinson f55995f9be Merge pull request #7740 from oiooj/pr-fix
fix scan tag value panic
2016-12-20 10:42:42 +00:00
timhallinflux fa80b9c8cf Update CHANGELOG.md
v0.13.0 -- Added PR #6277. 
- [#6277](https://github.com/influxdata/influxdb/pull/6277): Fix deadlock in tsm1/file_store
2016-12-19 20:02:43 -08:00
timhallinflux 6cad2ca408 Update CHANGELOG.md
v0.13.0 -- added #6419: Fix panic in transform iterator on division. @thbourlove
v0.12.2 -- #6419 was backported to 0.12.2 as well as PR #6431: Fix panic in transform iterator on division. @thbourlove.  Added.
2016-12-19 19:46:49 -08:00
timhallinflux fdc0fea1d3 Update CHANGELOG.md
v0.13.0 -- removed duplicate from bugfixes:  - [#6468](https://github.com/influxdata/influxdb/issues/6468): Panic with truncated wal segments
2016-12-19 19:29:24 -08:00
timhallinflux 090e131980 Update CHANGELOG.md
v0.13.0 -- removed duplicate entry for  - [#6477](https://github.com/influxdata/influxdb/pull/6477): Don't catch SIGQUIT or SIGHUP signals.
2016-12-19 19:27:29 -08:00
timhallinflux 3d819abd7f Update CHANGELOG.md
Features reported in v0.13.0:
- [#6593](https://github.com/influxdata/influxdb/pull/6593): Add ability to create snapshots of shards.
- [#6585](https://github.com/influxdata/influxdb/pull/6585): Parallelize iterators

were not released until v1.0.0.  Moved these into the v1.0.0 release notes.
2016-12-19 17:19:34 -08:00
kun de4436e9d9 fix scan tag value panic 2016-12-20 08:39:18 +08:00