Commit Graph

1149 Commits (47317d73b4654a3bc62cc4e2ab95237ceb26fa40)

Author SHA1 Message Date
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
Cory LaNou 82c50bb746 Merge pull request #4202 from influxdb/issue-1577-rb
Allow fields to be selected with "selector" aggregate functions
2015-09-23 16:33:20 -05:00
Cory LaNou 78bc740434 full support for min/max/first/last 2015-09-23 09:03:57 -05:00
Philip O'Toole e9928f39eb Update CHANGELOG 2015-09-22 21:56:49 -07:00
Philip O'Toole 8f4b354f8f Correct PR link in CHANGELOG
[ci skip]
2015-09-22 21:52:19 -07:00
Philip O'Toole 35d09cedfd Support SHOW STATS for specific module 2015-09-22 16:36:13 -07:00
Ben Johnson 96715d7d90 rename Cursor.Seek() to Cursor.SeekTo() 2015-09-22 13:23:16 -06:00
Philip O'Toole ace0e0331f Update CHANGELOG for PR 4198
[ci skip]
2015-09-22 10:48:08 -07:00
Nathaniel Cook 79e6e3e07a Merge pull request #4196 from influxdb/export_iterator
export tsdb.Iterator
2015-09-22 11:09:08 -06:00
Nathaniel Cook 007508bde0 export tsdb.Iterator 2015-09-22 10:29:49 -06:00
Philip O'Toole 6ce0b7acc5 Update CHANGELOG 2015-09-22 00:27:01 -07:00
Philip O'Toole 07c9d40b87 Merge pull request #4179 from mark-rushakoff/sorted-measurements-by-tag-filters
Sort DatabaseIndex.measurementsByTagFilters result
2015-09-21 11:19:37 -07:00
Daniel Morsing 57b211a538 Merge branch 'master' into bottom
resolve changelog conflict
2015-09-21 12:31:29 +00:00
Daniel Morsing 43f0a825eb update CHANGLOG 2015-09-21 12:06:23 +00:00
Mark Rushakoff 85275e7d59 Sort DatabaseIndex.measurementsByTagFilters result
Fixes #4118
2015-09-20 14:37:27 -07:00
Mint 376bc8ce80 Changes to make the uuid subpakage golint-able.
Issue: Enable `golint` on the code base #4098

- [X] CHANGELOG.md updated
- [X] Rebased/mergable
- [X] Tests pass
- [X] Sign [CLA](http://influxdb.com/community/cla.html) (if not already signed)
2015-09-18 22:47:15 -05:00
Philip O'Toole 07bcd523f3 Tag Go memstats during writes to _internal 2015-09-18 14:16:39 -07:00
Cory LaNou 38cb7b49de Mising defer in httpd recovery. fixes #4124 2015-09-17 09:37:27 -05:00
Philip O'Toole f73bc6ff19 Merge pull request #4140 from influxdb/engine_config
Make engine configurable
2015-09-16 21:17:43 -07:00
Philip O'Toole 8c28843a6e Merge pull request #4141 from influxdb/qe_logging
Control whether each query should be logged
2015-09-16 21:16:18 -07:00
Philip O'Toole e49644ea94 Update CHANGELOG 2015-09-16 19:30:02 -07:00
Philip O'Toole 5c64aff844 Update CHANGELOG 2015-09-16 19:12:58 -07:00
Philip O'Toole 4e74e14e36 Update CHANGELOG 2015-09-16 18:40:32 -07:00
Cory LaNou e1e03e554e update changelog 2015-09-16 09:58:14 -05:00
Cory LaNou 5395ac7634 Period in field name that matches measurement fails. Fixes #3457 2015-09-15 16:26:39 -05:00
Philip O'Toole 671ed728f5 Move new feature to 0.9.5 release
[ci skip]
2015-09-14 16:45:26 -07:00
Philip O'Toole 05b2e4985f Merge pull request #4065 from sbouchex/cmd_add_precision
Added precision support in cmd client
2015-09-14 16:44:23 -07:00
Philip O'Toole 1130d995d7 0.9.4 is out
[ci skip]
2015-09-14 15:03:44 -07:00
Cory LaNou 91d833efeb Derivative query with group by time but no aggregate function should fail parse. Fixes #3718 2015-09-11 14:16:29 -05:00
Cory LaNou 5c1ba44c9b Merge pull request #4071 from influxdb/issue-3902
Issue 3902
2015-09-11 06:58:27 -05:00
Sébastien Bouchex Bellomié 9831ab2cc8 Added precision support in cmd client 2015-09-11 09:20:02 +02:00
Philip O'Toole 3438bbb53d Update CHANGELOG 2015-09-10 12:30:50 -07:00
Cory LaNou 05f69b3d6c Validate Dimension for proper time scenarios. Fixes #3902 2015-09-10 13:10:21 -05:00
Ben Johnson 733fa0a109 disable bz1 recompression
This commit only appends new blocks of points and disables checks for
recompressing small blocks at the end of a series.
2015-09-10 11:26:29 -06:00
Cory LaNou 59ef75a183 Allow wildcards without abandon! Fixes #3978 2015-09-09 15:27:15 -05:00
Philip O'Toole fef20c77b2 Cleanly terminate openTSDB connection on EOF
This is not really an error, so don't log it.
2015-09-09 13:01:13 -07:00
Philip O'Toole 3a0b4ec269 Update CHANGELOG 2015-09-08 23:02:53 -07:00
Philip O'Toole 0b3d7fd459 Update CHANGELOG 2015-09-08 19:56:59 -07:00
Philip O'Toole 02a54d0992 Merge pull request #4042 from influxdb/buffered_batcher
Add pending control to batcher
2015-09-08 19:48:49 -07:00
Philip O'Toole 78f4a6944b Merge pull request #4045 from influxdb/writer_stats
Add stats to PointsWriter
2015-09-08 19:38:45 -07:00
Philip O'Toole 95530e1623 Set UDP input defaults if not set 2015-09-08 19:32:20 -07:00
Philip O'Toole e4a332ea12 Update CHANGELOG 2015-09-08 19:32:20 -07:00
Philip O'Toole f0bbec6699 Add stats to PointsWriter 2015-09-08 19:30:07 -07:00
Philip O'Toole e38a204afc Merge pull request #4043 from influxdb/opentsdb_batching
Add batching and stats to openTSDB input
2015-09-08 19:27:35 -07:00
Philip O'Toole 1ce5187b66 Merge pull request #4049 from influxdb/udp_stats
Add stats to the UDP input
2015-09-08 19:18:17 -07:00
Philip O'Toole 9677a0faab Add collectd stats 2015-09-08 19:07:47 -07:00
Philip O'Toole 27932409b0 Add stats to the UDP input 2015-09-08 18:48:35 -07:00
Philip O'Toole 817328d378 Add basic stats to the CQ service 2015-09-08 18:17:20 -07:00
Philip O'Toole 46405440bf Update CHANGELOG
[ci skip]
2015-09-08 16:27:02 -07:00
Cory LaNou 9d091b4362 changelog 2015-09-08 14:19:08 -05:00
Philip O'Toole 8297fc8c43 Merge pull request #4033 from influxdb/logrotate
Install logrotate configuration
2015-09-08 12:02:54 -07:00
Philip O'Toole 3e2be42f30 [ci skip] 2015-09-08 11:58:34 -07:00
Jason Wilder 2824a9c92a Merge pull request #3814 from influxdb/jw-graphite
Fix invalid time stamp in graphite metric causes panic
2015-09-08 11:17:57 -06:00
Jason Wilder 9b28376ecb Update changelog 2015-09-08 11:04:26 -06:00
Ben Johnson 0e8b78288c CHANGELOG 2015-09-08 10:58:03 -06:00
Jason Wilder 766e2867bd Update changelog 2015-09-08 10:09:25 -06:00
Philip O'Toole bbc103305b Support multiple Graphite inputs
Fixes issue #3636
2015-09-06 21:33:46 -07:00
Philip O'Toole 407591985c Update CHANGELOG 2015-09-05 00:33:16 -07:00
Philip O'Toole 30e2ca1d2e Merge pull request #3935 from fg2it/package_options
Package options
2015-09-04 14:53:02 -07:00