Commit Graph

1207 Commits (66672e787f91556f77e06737d4af17816fa9f654)

Author SHA1 Message Date
Philip O'Toole b1c5a36b0d Merge pull request #4846 from jsternberg/feature/allow-nan-in-graphite-service
Allow NaN as a valid value on the graphite service
2015-11-20 08:09:51 -08:00
Jonathan A. Sternberg 5fa36639db Allow NaN as a valid value on the graphite service
The canonical graphite implementation will read and discard NaN values
instead of throwing an error when reading on the line receiver protocol.
Since this is the default behavior for graphite, InfluxDB should have
the same behavior for compatibility.

Previously, a NaN value would result in an error printed to the console.
When you have a large number of NaN values being sent every minute, this
results in the log file filling with useless messages.
2015-11-20 11:07:25 -05:00
Jason Wilder 6df6abea0e Update changelog 2015-11-20 09:05:07 -07:00
Jason Wilder d2c94fce16 Merge pull request #4841 from e-dard/points-refactor
Fix parsing issues in models.scanKey
2015-11-20 09:03:05 -07:00
Philip O'Toole ca8530d5d9 0.9.5. is out
[ci skip]
2015-11-20 07:31:05 -08:00
Philip O'Toole 8ef5a056ba Merge pull request #4815 from li-ang/fix_4801
Fix aggregate output across the cluster
2015-11-20 06:40:18 -08:00
Edd Robinson 9e506a2fe1 Update CHANGELOG 2015-11-20 14:30:33 +00:00
Edd Robinson e995fba9b1 Update CHANGELOG 2015-11-20 01:26:22 +00:00
Philip O'Toole 68408a73f4 Merge pull request #4792 from mateuszdyminski/show_shard_groups
SHOW SHARD GROUPS
2015-11-18 16:52:04 -08:00
Philip O'Toole 7e8def590e Update CHANGELOG for PR 4411
[ci skip]
2015-11-18 16:13:34 -08:00
liang@qiniu.com a712a1c2b6 updated CHANGELOG.md 2015-11-18 01:28:09 +08:00
Cory LaNou c12881ff10 Merge pull request #4822 from influxdb/fix-4193
Fix time inclusive comparison
2015-11-17 10:50:51 -06:00
Cory LaNou 6309ec9a68 fix time inclusive comparison 2015-11-17 10:43:27 -06:00
CrazyJvm 6e60e3226a check point without fields when NewPoint 2015-11-17 13:21:52 +08:00
Cory LaNou 824d7a1d9b Add interface for heap to support Reverse for `order by desc` 2015-11-16 15:10:55 -06:00
John Nguyen cfbfbc2361 corrected URL 2015-11-16 17:37:01 +08:00
John Nguyen 90ea3fc4ad updated CHANGELOG.md 2015-11-16 17:36:21 +08:00
Mateusz Dymiński 8090ba6830 SHOW SHARD GROUPS 2015-11-14 22:27:24 +01:00
Cory LaNou 43a4201a33 update changelog for 4768 2015-11-14 07:27:41 -06:00
Philip O'Toole 5333437d5b Correct CHANGELOG re PR4778
[ci skip]
2015-11-13 17:57:07 -08:00
Philip O'Toole 1228431d85 Merge pull request #4789 from influxdb/multi_field_agg
WHERE fields must be decoded during aggregates
2015-11-13 17:30:32 -08:00
Philip O'Toole 912684b8d6 WHERE fields must be decoded during aggregates
This change ensures that if there are any fields in the WHERE clause of
an aggregate that are different from the fields in the SELECT clause,
that the cursors also decode those fields. Otherwise WHERE clauses of
the form 'SELECT f(w) FROM x WHERE y=z' will return incorrect results

Fixes issue #4701.
2015-11-13 15:18:54 -08:00
Philip O'Toole 7ea9b3e49e Allow openTSDB point errors logging to be disabled 2015-11-13 14:54:54 -08:00
Philip O'Toole 7d506c1e64 Update CHANGELOG for PR 4766
[ci skip]
2015-11-13 11:18:58 -08:00
Philip O'Toole 664b20e5fd CHANGELOG typo
[ci skip]
2015-11-12 19:42:24 -08:00
Philip O'Toole df6e76d357 Update CHANGELOG for 0.9.6
[ci skip]
2015-11-12 19:18:34 -08:00
Philip O'Toole a8fa58b8e9 Update CHANGELOG 2015-11-12 19:08:47 -08:00
Ross McDonald bd186195db Restructured filesystem hierarchy, and updated pre/post installation scripts to ease upgrade progress. Also adding first iteration of new build script (build.py).
New package filesystem hierarchy:
	 - /var/lib/influxdb => Data directories
	 - /usr/lib/influxdb => Scripts and other miscellaneous files
	 - /etc/influxdb => Configuration
	 - /usr/bin/ => Where InfluxDB binaries will live
2015-11-12 10:42:41 -06:00
Philip O'Toole 3cab8fac02 Revert to Go 1.4.2
This is not passing 'go vet' under 1.4.2.
2015-11-11 15:48:37 -08:00
Cory LaNou 8ec4d04c71 Merge pull request #4685 from influxdb/heal-raft-cluster
Heal raft cluster
2015-11-11 11:44:12 -06:00
Philip O'Toole 615f47bbcd Update CHANGELOG for reverted PR 2015-11-11 09:30:40 -08:00
Cory LaNou 4187fbba02 better changelog description 2015-11-11 10:05:25 -06:00
Cory LaNou 7fb0f90911 update changelog 2015-11-11 10:04:26 -06:00
Cory LaNou 1f4c442a3c Update Changelog for #4703 2015-11-11 08:50:14 -06:00
Cory LaNou 6ecb62e4d2 Merge pull request #4737 from ch33hau/4283-hh-throws-error-even-if-disabled
Disable HintedHandoff if configuration is not set. #4283
2015-11-10 19:07:27 -06:00
Cameron Sparr 9625953d3e Add UDP OS buffer size recommendations 2015-11-10 11:00:11 -07:00
ch33hau 8bfdfbda0b Disable HintedHandoff if configuration is not set. #4283 2015-11-11 01:12:34 +08:00
Philip O'Toole bbe9058041 Don't SHOW SHARDS for deleted shard groups
Fixes issue #4709.
2015-11-09 17:02:34 -08:00
Philip O'Toole 98ef90094d Update CHANGELOG for PR 4704
[ci skip]
2015-11-09 16:09:31 -08:00
Nathaniel Cook fb07f2fc83 Merge pull request #4721 from influxdb/nc-export-interfaceValues
export interfaceValues since it is returned from DisticntReduce
2015-11-09 17:03:29 -07:00
Philip O'Toole d34a0baadb Update CHANGELOG for PR 4715
[ci skip]
2015-11-09 15:45:13 -08:00
Nathaniel Cook 23899e0990 CHANGELOG.md 2015-11-09 16:38:06 -07:00
Philip O'Toole de660b4737 Update CHANGELOG for PR 4098
[ci skip]
2015-11-09 14:37:40 -08:00
Philip O'Toole 421e31bff7 Update CHANGELOG for PR4659
[ci skip]
2015-11-09 10:23:54 -08:00
ch33hau 2235dcec6b Added IF EXISTS for DROP DATABASE command, #4659 2015-11-07 10:57:49 +08:00
Cameron Sparr 78e6979be5 Make parser/writer internal func names consistent 2015-11-06 16:43:35 -07:00
Philip O'Toole 59f9f2bbab Update CHANGELOG for PR 4674
[ci skip]
2015-11-06 00:22:32 -08:00
Philip O'Toole ef84e33e7b Update CHANGELOG for PR 4684
[ci skip]
2015-11-05 17:54:37 -08:00
Philip O'Toole a14829bc1d Update CHANGELOG for PR 4690
[ci skip]
2015-11-05 16:52:04 -08:00
Cory LaNou 516a80e4be reneable toml test TestConfig_Encode fixes #4691 2015-11-05 18:40:42 -06:00
Nathaniel Cook 1719a6107c PointsWriter will drop writes to subscriber service for any in-flight writes 2015-11-05 16:25:00 -07:00
Cameron Sparr e2db577e0f Implement a UDP client
closes #4647
2015-11-04 14:18:14 -07:00
Cory LaNou ac563ad97d Importer fixes. fixes #4650 #4651 2015-11-03 16:26:17 -06:00
Philip O'Toole ae8b458d9e Merge pull request #4644 from influxdb/cli_auth_panic
Check for errors in response during token check
2015-11-03 08:08:23 -08:00
Philip O'Toole 8fcf7b3dfa Update CHANGELOG for PR4643
[ci skip]
2015-11-03 08:07:20 -08:00
Philip O'Toole e6dffd12c7 Check for errors in response during token check
Fixes issue #4641.
2015-11-03 07:59:37 -08:00
Philip O'Toole 6682752408 Update CHANGELOG for PR 4632
[ci skip]
2015-11-01 18:44:30 -08:00
Philip O'Toole bd0c304c91 Update CHANGELOG 2015-10-30 11:08:14 -07:00
Philip O'Toole de7919240f Migrate internal stats to consistent names
Go style -- and existing runtime stats -- do not use underscores, but
instead use camel case. This change makes the internal stats adhere to
that convention.
2015-10-28 21:07:45 -07:00
Jason Wilder 4e2a16c459 Update changelog
[ci skip]
2015-10-28 19:16:52 -06:00
Philip O'Toole ef190b4013 Merge pull request #4600 from influxdb/wait_for_leader
ping endpoint can now wait for leader
2015-10-28 12:04:53 -07:00
Philip O'Toole 278e97cbbe Update CHANGELOG 2015-10-28 11:40:12 -07:00
Jason Wilder 7508a2a252 Merge pull request #4587 from influxdb/jw-nan
Prevent NaN float values from being stored
2015-10-28 09:28:04 -06:00
Philip O'Toole d8e4655e0f Merge pull request #4586 from influxdb/engine_fail_msg
Exit when invalid engine is selected
2015-10-27 21:50:01 -07:00
Philip O'Toole 00b2454c53 Exit if invalid engine is selected
Fix #4584, related to #4583
2015-10-27 17:29:18 -07:00
Jason Wilder caa240a61c Update changelog 2015-10-27 17:12:57 -06:00
Philip O'Toole 335e4325d8 Merge pull request #4516 from influxdb/hh_processor_per_node
Refactor hinted-handoff service
2015-10-27 14:43:08 -07:00
Philip O'Toole 2cda3be9c0 Update CHANGELOG for PR 4582
[ci skip]
2015-10-27 12:02:28 -07:00
Philip O'Toole 95f9937d8f Update CHANGELOG 2015-10-26 18:59:58 -07:00
Jason Wilder 68c2b6e79e Merge pull request #4580 from influxdb/jw-4538
Fix dropping database under write load
2015-10-26 14:03:22 -06:00
Jason Wilder d30848e224 Update changelog 2015-10-26 13:44:55 -06:00
Cory LaNou 25a9127aa9 minor changes based on PR feedback 2015-10-26 10:07:40 -05:00
Cory LaNou 66a425b9a9 changelog 2015-10-23 14:48:32 -06:00
Nathaniel Cook 7c71ed53a4 fix subscriber logic when closed 2015-10-21 15:08:55 -06:00
Philip O'Toole 956efaeb94 Merge pull request #4506 from influxdb/enterprise_stats
Enterprise registration as a service
2015-10-20 08:57:19 -07:00
David Norton f198000151 Revert "update changelog"
This reverts commit 218de0acbb.

Conflicts:
	CHANGELOG.md
2015-10-20 08:43:16 -04:00
Philip O'Toole 83db5cdbf5 Update CHANGELOG 2015-10-19 15:30:40 -07:00
gunnaraasen 44c5e33c2c Update CHANGELOG 2015-10-19 12:37:31 -07:00
Philip O'Toole 9e383dacec Merge pull request #4502 from influxdb/graphite_shutdown
Make Open() and Close() on Graphite sync'ed
2015-10-19 12:33:20 -07:00
Philip O'Toole ff18bf7213 Make Open() and Close() on Graphite sync'ed
This will ensure that these operations don't run concurrently. This
change also ensures nil batchers are not closed.

Fixes issue #4494.
2015-10-19 11:13:31 -07:00
David Norton a6b18a1334 feat #3523: update CHANGELOG.md 2015-10-19 14:03:17 -04:00
Cory LaNou d73cda4956 changelog 2015-10-19 09:04:36 -05:00
Matthias Endler 7fdf81fd9c Update changelog 2015-10-17 21:43:38 +02:00
Philip O'Toole d9f04132ef Update CHANGELOG for PR4447
[ci skip]
2015-10-16 08:27:52 -07:00
David Norton 203a411eec fix #4475: correct error msg for SHOW TAG VALUES 2015-10-16 10:37:08 -04:00
David Norton e73a8e423c fix #4472:too many points in the GROUP BY interval 2015-10-16 07:17:14 -04:00
Cory LaNou a2102e19ba always return time, never strings. fixes #4415 2015-10-15 20:19:58 -05:00
Philip O'Toole 81390db622 Actually check connection errors
Fix issue #4463
2015-10-15 15:07:18 -07:00
Ben Johnson 11cdb37793 Merge pull request #4460 from benbjohnson/tsm1-lint
tsm1 meta lint
2015-10-15 15:09:47 -06:00
Ben Johnson c27f8ae3a4 tsm1 meta lint 2015-10-15 15:03:10 -06:00
Philip O'Toole 419415480a Update CHANGELOG 2015-10-15 13:13:37 -07:00
Nathaniel Cook cb1aaa8e42 Merge pull request #4375 from influxdb/subscriptions
Feature add subscriber service for creating/dropping subscriptions
2015-10-15 09:17:26 -06:00
Daniel Morsing 8af6760494 Update CHANGELOG.md
Fixing copy and paste error.
2015-10-15 11:19:05 +01:00
Nathaniel Cook 8b31007aa7 Adds subscriber service for creating/dropping subscriptions to the
InfluxDB data stream.
2015-10-14 15:23:45 -06:00
Philip O'Toole fa83767664 Update CHANGELOG 2015-10-14 08:55:46 -07:00
Ben Johnson 6ce003c025 Merge pull request #4431 from benbjohnson/tsm1-quick
Add tsm1 WAL QuickCheck
2015-10-14 09:38:49 -06:00
Ben Johnson f2d23b070b add tsm1 wal quickcheck
This commit adds quickcheck testing for the tsm1 WAL.
2015-10-14 09:38:38 -06:00
Philip O'Toole d555242be7 Update CHANGELOG 2015-10-14 08:30:55 -07:00
Cory LaNou b88dd21581 Merge pull request #4173 from lenko-d/enable_golint_on_the_codebase_4098
Changes to make the uuid subpakage golint-able.
2015-10-14 10:09:59 -05:00
Daniel Morsing 6d188d9703 Merge pull request #4409 from influxdb/intoq
wire up INTO queries.
2015-10-14 15:29:54 +01:00
Daniel Morsing af217e6362 Update CHANGELOG.md 2015-10-14 14:53:11 +01:00
Philip O'Toole 6d38559f24 RLock access to store's shards
Fix issue #4442.
2015-10-13 20:28:19 -07:00
Philip O'Toole 967099385f Update CHANGELOG 2015-10-13 14:18:59 -07:00
Jason Wilder e0ece9f8b5 Fix line protocol accepting tags with no values
If a tag with no value was in the middle of all the tags, it would
get accepted as valid incorrectly.

Fixes #4421
2015-10-13 09:43:13 -06:00
Cory LaNou 6787525912 fixes multiple selectors overwriting each other. fixes #4360 2015-10-12 21:40:57 -05:00
Philip O'Toole 86b5ad2096 Add credits to changelog
[ci-skip]
2015-10-12 12:53:08 -07:00
David Norton 2fbd1052b5 update CHANGELOG.md 2015-10-09 18:35:06 -04:00
Philip O'Toole c06ac8f94c Don't add a new segment every purge check
Everytime the purge check was running, a new segment was being added.
This meant the list of almost-empty files in the HH directories would
grow continually.
2015-10-09 14:26:47 -07:00
Jason Wilder f2e1dfed4f Merge pull request #4370 from influxdb/jw-tsm
Prevent panic in DecodeSameTypeBlock
2015-10-09 12:59:03 -06:00
Jason Wilder 758359accc Prevent panic in DecodeSameTypeBlock
If DecodeSameTypeBlock is called on on an empty Values slice, it would
panic with an index out of bounds error.  This func can actually be removed
because DecodeBlock can determine what type of values are encoded already.

This will still panic if the block cannot be decoded due to other reasons.

Fixes #4365
2015-10-09 12:52:23 -06:00
Philip O'Toole 0d79da5ec5 Correct typo in CHANGELOG
[ci skip]
2015-10-09 11:40:19 -07:00
Philip O'Toole 37d3adb01e Add credit for PR4291
[ci skip]
2015-10-09 11:08:22 -07:00
linearb 218de0acbb update changelog 2015-10-09 13:57:02 -04:00
Philip O'Toole bc569e82de Correct typos in CHANGELOG
[ci skip]
2015-10-08 20:43:21 -07:00
Philip O'Toole 2780bdfd78 Update CHANGELOG 2015-10-08 18:23:15 -07:00
Ben Johnson 2b3bb5336d add tsm1 quickcheck tests 2015-10-08 11:59:57 -06:00
dgnorton a9bf213076 Merge pull request #3484 from dawbs/dawbs-fix-3429
Bugfix for #3429 String representations of RegexLiterals generated in…
2015-10-08 13:12:10 -04:00
Cameron Sparr 6bfb1ff11b Merge branch 'roobert-graphite-template-custom-field'
Closes #4178
2015-10-08 10:59:00 -06:00
Nathaniel Cook 49f6765d63 make client.Write default to c.precision if none is given 2015-10-08 10:56:13 -06:00
Jason Wilder 5b4f46284f Fix similar float values encoding overflow
If similar float values were encoded, the number of leading bits would
overflow the 5 available bits to store them (e.g. store 33 in 5 bits).  When
decoding, the values after the overflowed value would spike to very large and
small values.

To prevent the overflow, we clamp the value to 31 which is the maximum
number of leading zero bits we can encoded.

Fixes #4357
2015-10-08 10:56:13 -06:00
Philip O'Toole b5496d2177 Update CHANGELOG for PR4354
[ci skip]
2015-10-08 10:56:13 -06:00
Nick Dawbarn 26f6d00668 Bugfix for #3429 String representations of RegexLiterals generated in influxql/ast.go add the / char as a start and end delimiter, but does not escape any / characters that may exist with the regex 2015-10-08 19:41:36 +10:00
Nathaniel Cook ac5bd8a6c2 make client.Write default to c.precision if none is given 2015-10-07 15:36:09 -06:00
Jason Wilder b3343a6d2a Fix similar float values encoding overflow
If similar float values were encoded, the number of leading bits would
overflow the 5 available bits to store them (e.g. store 33 in 5 bits).  When
decoding, the values after the overflowed value would spike to very large and
small values.

To prevent the overflow, we clamp the value to 31 which is the maximum
number of leading zero bits we can encoded.

Fixes #4357
2015-10-07 15:05:56 -06:00
Philip O'Toole 7757b9b9db Update CHANGELOG for PR4354
[ci skip]
2015-10-07 11:31:03 -07:00
Philip O'Toole 5d5515a497 If HH can't unmarshal a block, skip that block 2015-10-06 20:49:40 -07:00
Philip O'Toole 6f80d690dd Update CHANGELOG for PR4342
[ci skip]
2015-10-06 20:26:37 -07:00
David Norton f5001903d0 update CHANGELOG.md 2015-10-05 19:58:51 -04:00
Philip O'Toole dba286a2e8 Update CHANGELOG 2015-10-05 15:53:46 -07:00
Philip O'Toole 2ac0357406 Support dropping non-Raft nodes 2015-10-04 00:19:52 -07:00
Philip O'Toole d4fb66290a Remove DROP SERVER from CHANGELOG 2015-10-02 09:21:27 -07:00
Cory LaNou 98a0d341cd add drop server to changelog 2015-10-02 09:32:31 -05:00
Philip O'Toole 59bbc5c8e3 Reject line protocol that terminates with '-'
Fixes issue #4272.
2015-10-01 20:55:49 -07:00
Philip O'Toole 08d299f6c7 Update CHANGELOG for PR 4293
[ci skip]
2015-10-01 13:49:04 -07:00
Jason Wilder 54ff1990bd Merge pull request #4292 from influxdb/jw-derivative
Handle missing values in aggregate derivative queries better
2015-10-01 13:45:46 -06:00
Jason Wilder 06c143c2dd Handle missing values in aggregate derivative queries better
If an aggregate derivative query did not have a value in the first
time bucket, it would abort early and return a single row with value
of 0.  Similarly, if either the current or previous value was nil,
it would skip the row and not append any values causing gaps and
no data to show up.

Instead, this will append a nil value if either the current or previous
valis is nil.  This essentially allows nil values to carry through the
results as well as gives a more sensible value for rows where we cannot
compute a difference (instead of dropping the row as before).

Fixes #4237 #4263
2015-10-01 13:05:19 -06:00
Philip O'Toole c7599e0409 Update CHANGELOG
[ci skip]
2015-10-01 11:56:20 -07:00
Jason Wilder 5574c61cdf Update changelog 2015-09-30 16:47:40 -06:00
Philip O'Toole 591e33b1d8 Initial work, does not address issue 2015-09-30 11:58:42 -07:00
Ben Johnson 343dd23ee7 refactor map functions to use list of values
This commit changes `tsdb.mapFunc` to use `tsdb.MapInput` instead
of an iterator. This will make it easier and faster to pass blocks
of values from the new storage engine into the engine.
2015-09-29 14:00:33 -06:00
Philip O'Toole 17cc2220b8 Update CHANGELOG 2015-09-28 18:39:42 -07:00
Philip O'Toole a196d3663a Allow configuration of UDP retention policy
Fixes issue #4529
2015-09-28 15:17:56 -07:00
Philip O'Toole 49a70d0fca Merge pull request #4238 from influxdb/hh_control
Fully disable hinted-handoff service if requested
2015-09-28 12:11:18 -07:00
Philip O'Toole 2db82ee584 Merge pull request #4222 from influxdb/graphite_tcp_blocking
Graphite TCP should not block system shutdown
2015-09-28 12:11:04 -07:00
Philip O'Toole a4a8fa0ff0 Fully disable hinted-handoff service if requested
Without this change if hinted-handoff was disabled the service would
correctly reject writes, but it would process any data sitting in
hinted-handoff queues. With this change the service is completely
disabled.
2015-09-25 18:03:43 -07:00
Philip O'Toole 7cb8c2d2ec Add build timestamp to version data 2015-09-24 23:40:53 -07:00
Philip O'Toole c85d5496af Merge pull request #4225 from influxdb/sort_diags
Always display diags in name-sorted order
2015-09-24 19:05:26 -07:00
Philip O'Toole 99989df2b5 Always display diags in name-sorted order 2015-09-24 19:00:05 -07:00
Philip O'Toole 9de3125f6b Graphite TCP should not block system shutdown
With this change Graphite TCP connections are tracked on a per-service
basis. This allows a closing Graphite service to first shutdown any
active connections, thereby unblocking the rest of shutdowm.

This work exposed small shortcomings with the existing Diagnostics
system and that code has alse been tweaked.

Fixes issue #4017
2015-09-24 14:08:38 -07:00
Philip O'Toole f985ec9658 Update CHANGELOG 2015-09-24 13:01:31 -07:00