Commit Graph

1298 Commits (c190778997f4154294e6160c41b90140641ac915)

Author SHA1 Message Date
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
Philip O'Toole 68169a04d6 Update CHANGELOG 2015-09-04 14:45:31 -07:00
Jason Wilder 08656f515e Merge pull request #4000 from influxdb/jw-3960
Fix cluster restarting issues
2015-09-04 15:16:51 -06:00
Jason Wilder e63e14f47f Update change log 2015-09-04 14:52:08 -06:00
Philip O'Toole e513b68e61 Update CHANGELOG
[ci skip]
2015-09-04 12:38:03 -07:00
Cory LaNou a09e2c27bb minor tweaks based on PR review 2015-09-04 13:41:46 -05:00
Cory LaNou be92093490 update changelog 2015-09-04 13:30:43 -05:00
Jason Wilder 6f41c0fa87 Merge pull request #3986 from influxdb/jw-order-by
Support sorting by time desc
2015-09-04 09:42:58 -06:00
Philip O'Toole 06152ba8e2 Update CHANGELOG 2015-09-04 08:31:54 -07:00
Jason Wilder 330363bec4 Update changelog 2015-09-03 22:42:08 -06:00
Cory LaNou 6ab6d74142 update changelog 2015-09-03 15:19:43 -05:00
Ben Johnson deff06f850 add copier service
This commit adds the copier service which allows one server to
copy shards from another server. This will be used for moving
shards in the cluster.
2015-09-03 13:07:35 -06:00
David Norton a58d0687e0 fix #2555: update CHANGELOG.md 2015-09-03 07:12:15 -04:00
fg2it 2bf33a47a0 Updating doc on package.sh 2015-09-02 20:14:26 +02:00
Ben Johnson b63ebb72a5 limit bz1 quickcheck tests to 10 iterations on CI
This commit checks the `CI` environment variable in the bz1
test suite and limits the quickcheck runs if the value is `true`.
2015-09-02 11:27:11 -06:00
Jason Wilder 807e80bf0b Update changelog 2015-09-02 09:22:20 -06:00
Philip O'Toole 14c04eb4d6 Merge pull request #3916 from influxdb/new_stats_diags
Statistics and Diagnostics service
2015-09-01 18:30:53 -07:00
Philip O'Toole 9d81cdd1a4 Update CHANGELOG 2015-09-01 15:21:40 -07:00
fg2it c6bddddac5 Add option to build script 2015-09-01 22:53:36 +02:00
Jason Wilder 898ee8c399 Fix write fails for multiple points when tag starts with quote
Fixes #3928
2015-09-01 11:20:34 -06:00
Ben Johnson d52fe89035 add WAL lock to prevent timing lock contention
This commit adds a lock to the WAL log to prevent timing how long
it takes to obtain the Bolt write lock.
2015-09-01 11:08:39 -06:00
Ben Johnson 767307eed6 convert meta shard owners to objects
This commit converts meta.ShardInfo.OwnerIDs from a slice of ids
to a slice of objects. This is to support adding statuses for a
shard for a given node. For example, a node may have a shard
assigned to it but it is currently copying the shard and is not
ready to serve data for it.

The old `OwnerIDs` is marked as deprecated, however, the code
still supports loading from older protobuf-encoded data.
2015-08-31 16:33:13 -06:00
Jason Wilder f72fd247b5 Fix panic when querying against non-fully replicated shards
The TSDBStore was returning a nil mapper if the shard did not exist.  The caller always
assumed the mapper would not be nil causing a panic.  Instead, have the mapper skip the mapping
phase if it's shard reference is nil.  This fixes queries against data-only nodes and against
shards that are not fully replicated in the cluster.

Fixes #3574
2015-08-31 10:03:07 -06:00
Philip O'Toole 4304526fea Update CHANGELOG 2015-08-29 09:56:15 -07:00
Jason Wilder 4ff9695c64 Update changelog 2015-08-28 15:11:47 -06:00
Philip O'Toole f388dd398d Update CHANGELOG for PR 3868
[ci skip]
2015-08-28 14:01:21 -07:00
Jason Wilder 87f0e15560 Update changelog 2015-08-28 13:41:37 -06:00
Philip O'Toole 584d3c68ea Minor formatting typo in CHANGELOG 2015-08-27 16:11:51 -07:00
Philip O'Toole 3184103c2a Update CHANGELOG 2015-08-27 16:09:48 -07:00
Philip O'Toole afa3cd02c7 Merge pull request #3863 from influxdb/move_to_go1.5
Move to Go 1.5
2015-08-27 15:27:26 -07:00
Jason Wilder a4c1d9a9a7 Remove unused Database index names and sorting
Writes could timeout and when adding new measurement names to the
index if the sort took a long time.  The names slice was never
actually used (except a test) so keeping it in index wastes memory
and sort it wastes CPU and increases lock contention.  The sorting
was happening while the shard held a write-lock.

Fixes #3869
2015-08-27 11:57:20 -06:00
Philip O'Toole 05a124b24d Update CHANGELOG 2015-08-27 09:58:19 -07:00
Sean Beckett ecd35c9678 Update CHANGELOG.md 2015-08-26 14:40:33 -07:00
Philip O'Toole ad94329fba Fix typo in 0.9.3 release date 2015-08-26 14:37:44 -07:00
Philip O'Toole e33ca89559 0.9.3 is out 2015-08-26 14:37:22 -07:00
Jason Wilder 0286a3e7fe Fix deadlock in metastore
The interaction of continuous query service, the meta-store loading
and initializing raft state, and syncing node info could cause a
deadlock in some instances.  There was an extra read-lock taken by isLeader()
when it already had a read-lock.  Removing this extra lock fixes the startup
deadlock.

Fixes #3607
2015-08-26 14:43:17 -06:00
Ben Johnson 3ce001929c Use 4KB default block size for bz1
This commit changes the default block size from 64KB to 4KB for
bz1. This was lowered because small blocks were being uncompressed,
merged, recompressed, and inserted for a large portion of updates.
This became slower and slower over time until it reached the 64KB
threshold. We moved to the 4KB threshold in order to lower the
impact of this recompression.
2015-08-26 11:05:01 -06:00
Philip 5f5c3a30b2 Update CHANGELOG 2015-08-25 22:31:47 -07:00
Cory LaNou f5230ecef4 fix changelog type 2015-08-25 08:55:24 -05:00
Cory LaNou 9204d88660 changelog 2015-08-25 08:54:31 -05:00
Philip O'Toole 9609d43ab4 Update CHANGELOG for PR 3804 2015-08-24 10:50:55 -07:00
Cory LaNou de020e6044 fix bad rebase 2015-08-22 09:18:40 -05:00
Cory LaNou f44803fcd8 changelog 2015-08-22 09:16:33 -05:00
Cory LaNou 6d5d697f56 changelog 2015-08-21 15:18:49 -05:00
Philip O'Toole 7eb004d1af Update CHANGELOG 2015-08-21 12:14:53 -07:00
Jason Wilder 85da78205c Update changelog 2015-08-21 12:19:44 -06:00
Philip O'Toole d7f646f7a4 Merge pull request #3771 from influxdb/tcp_graphite_timeout
Close idle Graphite TCP connections
2015-08-20 17:08:17 -07:00
Philip O'Toole ac2b7c3f09 Update CHANGELOG 2015-08-20 15:46:08 -07:00
Philip O'Toole fa01abf3c9 Release note SELECT * changes
[ci skip]
2015-08-20 14:30:45 -07:00
Philip O'Toole 9f9457830d Fix typo in CHANGELOG
[ci skip]
2015-08-20 14:12:19 -07:00
Philip O'Toole f74d7fd9d1 Add note re new required config wal-dir
[ci skip]
2015-08-20 14:11:17 -07:00
Ben Johnson e57d60210a Append to small bz1 blocks
This commit changes the bz1 append to check for a small
ending block first. If the block is below the threshold
for block size then it is rewritten with the new data
points instead of having a new block written.
2015-08-20 10:52:52 -06:00
Philip O'Toole 1fe48d80a3 Update CHANGELOG 2015-08-19 12:47:12 -07:00
Jason Wilder 6ca7970f01 Fix inserting string values with backslashes
Fixes #3682
2015-08-19 09:33:16 -06:00
Jason Wilder 4eb48b5a18 Fix measurement name being double-escaped during replication
Fixes #3708 #3704
2015-08-19 09:31:26 -06:00
Philip O'Toole c5000a896a Typo in CHANGELOG
[ci skip]
2015-08-18 23:08:07 -07:00
Philip O'Toole 82c803993d Link to sample config file
[ci skip]
2015-08-18 23:01:08 -07:00
Philip O'Toole 5666dc4076 Further detail for the 0.9.3 release notes
[ci skip]
2015-08-18 22:51:10 -07:00
Philip O'Toole 6a70264d56 Add 0.9.4 header to CHANGELOG 2015-08-18 18:02:09 -07:00
Paul Dix f4077764b2 Update CHANGELOG.md 2015-08-18 20:49:07 -04:00
Jon Seymour e1dcdfc897 CHANGELOG.md: add #3686
Signed-off-by: Jon Seymour <jon@wildducktheories.com>
2015-08-19 09:15:41 +10:00
Daniel Morsing e2db51e4d5 Merge pull request #3721 from influxdb/timeliteral
interpret number literals compared against time as nanoseconds from epoch
2015-08-18 14:31:53 -07:00
Daniel Morsing 8fb548b9cc update changelog 2015-08-18 14:30:11 -07:00
Philip O'Toole 836311c2b1 Update CHANGELOG 2015-08-17 13:43:20 -07:00
Jason Wilder 7cf31a74cd Prevent out of memory range slices from being created
If the hinted handoff segment is corrupt, the size read could be
invalid and attempting to create a slice using that size causes
a panic.  Ideally, we'd have a checksum on the seqment record but
for now just return an error when the size is larger than the
segment file.

Fixes #3687
2015-08-17 10:48:01 -06:00
Philip O'Toole 0cf824713c Update CHANGELOG 2015-08-14 20:03:45 -07:00
Philip O'Toole 34dcead452 Update CHANGELOG for PR 3673
[ci skip]
2015-08-14 18:12:12 -07:00
Jason Wilder 1221de8cad Update changelog 2015-08-14 16:47:10 -06:00
Cory LaNou 13edb74a42 changelog 2015-08-14 15:06:57 -05:00
Ben Johnson 45ea87ce3f Fix nil FieldCodec panic
This commit changes FieldCodec to always be non-nil. Normally it should
always be non-nil, however, if metadata is not persisted correctly or
consistently then it could be missing. A nil FieldCodec causes queries
to panic.

Fixes #3535
2015-08-14 13:12:40 -06:00
Jason Wilder c7e9a68ed5 Update changelog 2015-08-14 12:50:25 -06:00
Philip O'Toole df2876256d Update CHANGELOG 2015-08-14 10:50:50 -07:00
Cory LaNou ff5528627d changelog 2015-08-13 20:55:46 -05:00
Philip O'Toole 7690184b2e Update CHANGELOG for PR 3115 2015-08-13 16:56:11 -07:00
Philip O'Toole d1e102a5bf Update CHANGELOG 2015-08-13 13:41:10 -07:00
Jason Wilder bb513079e9 Update changelog` 2015-08-13 10:02:05 -06:00
Jason Wilder 4c7f07b81c Merge pull request #3639 from influxdb/jw-fixes
Cap auto-created retention policy replica count at 3
2015-08-12 14:28:07 -06:00
Jason Wilder e6ff93d23e Update changelog 2015-08-12 14:18:06 -06:00
Philip O'Toole 28cb14e6a6 Update CHANGELOG 2015-08-12 12:50:13 -07:00
Jason Wilder e8f8ab9352 Update changelog 2015-08-12 13:21:39 -06:00
Philip O'Toole 68058aee98 Update CHANGELOG 2015-08-11 18:34:49 -07:00
Philip O'Toole 13972eeeaa Update CHANGELOG 2015-08-11 12:25:10 -07:00
Philip O'Toole 55c491964b Update CHANGELOG 2015-08-10 16:39:29 -07:00
Philip O'Toole 2195f591cb Update CHANGELOG for PR 3599
[ci skip]
2015-08-10 14:24:52 -07:00
Jason Wilder 68b82f3030 Fix regex queries regression
ValidateGroupBy was returning an error if a tag does not exist
but it appears that function was supposed to be validating that
a field name was not used as a group by field.

Fixes #3326
2015-08-10 15:02:29 -06:00
Philip O'Toole c42697f929 Update CHANGELOG 2015-08-10 13:13:19 -07:00
Jason Wilder bc81a4283f Fix panic when parsing value in scientific notation with trailing i
Fixes #3583
2015-08-10 13:46:53 -06:00
Jason Wilder d4ce2f9048 Fix panic when running derivative on non-numeric values
Fixes #3401
2015-08-10 12:45:34 -06:00
Jason Wilder b01eb34920 Update changelog 2015-08-07 14:27:38 -06:00
Cory LaNou 0c4c5b20cb Merge pull request #3585 from influxdb/non-existent-field
Additional test coverage for non-existent fields
2015-08-06 15:12:48 -05:00
Jason Wilder 398ffabab7 Fix panic in hinted handoff processor
A short write has occurred and we do not have enough bytes to determine
the size of the payload.  This is corrupted record that we should drop.
Instead of panicing, log the error and advance the queue since the error
at this location is unreoverable currently.

Fixes #3436
2015-08-06 14:06:41 -06:00
Cory LaNou 9ac99f24da changelog 2015-08-06 15:02:46 -05:00
Cory LaNou a8412d455e changelog 2015-08-06 14:01:29 -05:00
Cory LaNou f4697ebca7 changelog 2015-08-06 12:16:33 -05:00
Cory LaNou 9df04ec5c2 changelog 2015-08-06 11:48:06 -05:00
Cory LaNou 08f84a2925 Merge pull request #3502 from influxdb/import
Importer for 0.8.9 data via the CLI
2015-08-06 10:46:28 -05:00
Jason Wilder cb7f0b8228 Fix parsing string fields with newlines
Newlines in a string field would cause the parser to return
the line prematurely causing "unbalanced quotes" errors.  This
makes the line scanning aware of quote fields so that the whole
line is returned.

Fixes #3545
2015-08-06 09:28:01 -06:00
Cory LaNou ea58609392 update changelog 2015-08-06 09:19:56 -05:00
Jason Wilder 2d604ac537 Fix panics found via go-fuzz
Fixes #3288
2015-08-05 16:41:59 -06:00
Jason Wilder 40c5cfbce5 Update changelog 2015-08-05 14:17:26 -06:00
Jason Wilder 56d962261e Fix panic parsing measurement with large number of tags
Defaults to handling measurements with up to 100 tags and will
now grow the slice if there are more instead of panicing.

Fixes #3511
2015-08-05 12:45:55 -06:00
Daniel Morsing 6797270403 check if fields are valid during parse.
Binary expressions that yield a boolean are invalid and we can catch
these at parse time.

Fixes #3525
2015-08-04 16:02:35 +01:00
David Norton d661bf1a06 fix #3414: shard mappers perform query re-writing 2015-08-04 09:49:50 -04:00
Paul Dix dc1d3a491c Update CHANGELOG.md 2015-07-31 19:11:31 -04:00
Cory LaNou 0b5eb09181 integers in line protocol now have to end with `i` 2015-07-30 20:51:18 -05:00
Jason Wilder c12b556e5b Update changelog 2015-07-28 09:41:06 -06:00
Paul Dix f994a97461 Update CHANGELOG.md 2015-07-27 17:45:12 -04:00
Todd Persen 0d8a85a48a Update CHANGELOG.md 2015-07-24 14:45:57 -07:00
Todd Persen f549091c30 Update CHANGELOG.md 2015-07-24 14:45:20 -07:00
Todd Persen 237b52b46a Update CHANGELOG.md 2015-07-23 17:28:16 -07:00
Jason Wilder 3c308e3bbf Update changelog 2015-07-23 10:26:24 -06:00
Josh Horwitz 96938e8a2b Added check for escaped single quote in string 2015-07-22 17:47:48 -04:00
Jason Wilder a27480780e Update changelog 2015-07-22 14:50:52 -06:00
Philip O'Toole 3482c50ae3 Update CHANGELOG for PR 3334
[ci skip]
2015-07-22 10:07:14 -07:00
Jason Wilder 8c715f72ab Merge pull request #3415 from influxdb/jw-3411
Fix parse stuck in loop causing 500 timeout
2015-07-21 14:14:36 -06:00
Gunnar dcc37354a9 Merge pull request #3409 from influxdb/ga-fix-3380
Parser fix, only allow ORDER BY ASC and ORDER BY time ASC
2015-07-21 12:17:40 -07:00
gunnaraasen eca76ed7a3 Parser fix, only allow ORDER BY clause with time ASC 2015-07-21 12:07:56 -07:00
Jason Wilder f9287ad47d Fix parse stuck in loop causing 500 timeout
Fixes #3411
2015-07-21 11:20:14 -06:00
Josh Horwitz e19dea8703 Fixes #3379 - added check for no fields in point 2015-07-21 09:01:51 -04:00
Philip O'Toole 4bd8f3e793 Update CHANGELOG for PR 3376
[ci skip]
2015-07-20 12:38:44 -07:00
Philip O'Toole 5206c0e4b9 Update CHANGELOG for PR 3256 2015-07-19 12:02:53 -07:00
Philip O'Toole 6fc89b8442 New section for 0.9.3 because 0.9.2 has branched 2015-07-17 11:54:14 -07:00
gunnaraasen 9ba37325f6 Fixes authorization.
Adds GRANT and REVOKE statements for admin privilege. Adds authorization to the query endpoint.
2015-07-17 11:33:06 -07:00
Robert Nubel 930a1aa523 Require a regex after a regex operator when parsing.
Previously, parseRegex could return an empty RegexLiteral
and the expression parser would put that into the right-hand
side of the expression, causing a nil-pointer panic when
the query was later executed. This change adds a check at
the parsing level and returns an error message if a regex
operator (e.g. =~) is not followed by an actual regex.
2015-07-17 11:02:45 -07:00
Timothy Raymond 90f6725da1 Update CHANGELOG 2015-07-17 10:54:27 -07:00
gunnaraasen 55434fa8b7 Update CHANGELOG 2015-07-16 13:45:50 -07:00
Philip O'Toole 5a311e6cc0 Update CHANGELOG for PR 3334
[ci skip]
2015-07-16 13:01:27 -07:00
Philip O'Toole d8c31f0b3c Merge pull request #3320 from influxdb/streaming_dq
Support Distributed Queries
2015-07-16 12:33:21 -07:00
Philip O'Toole 74cb96646c Refactor query engine for distributed query support
With this change, the query engine code gathers information about
shards and tagsets by working with individual shards, collating the
information, and returning that to the client. It does not assume that any
particular shard is local, and accesses all shards through abstracted
Mappers, of which there are two types -- a Mapper type for Raw queries
and a second type for Aggregate queries. There are corresponding
Executors for each type of Mapper, but both types of Executors share the
same interface.
2015-07-15 12:54:55 -07:00
Philip O'Toole a3557d52c8 Credit for PR 3335
[ci skip]
2015-07-15 11:33:40 -07:00
Philip O'Toole 09d7dfbaae Form database path correctly on DROP DATABASE
Fixes #3330
2015-07-15 11:14:49 -07:00
Philip O'Toole c54018a083 Update CHANGELOG 2015-07-15 09:43:27 -07:00
Josh Horwitz e4f2d8a6c4 Fixed httpd logger to get user from query params 2015-07-13 17:36:34 -04:00
Jason Wilder ebd6e55997 Fix regression parsing boolean True/False values 2015-07-13 11:29:02 -06:00
Jason Wilder f4f0373579 Sort points after appending if needed
Writing points that were not sorted by time could cause very high
CPU usages and increased latencies because each point inserted would
cause the in-memory cache to be resorted.  The worst case would be
writing a large batch of N points in reverse time order which would
invoke N sorts of the slice.

This patch keeps track of which slices need to be sorted and sorts
them once at the end.  In the previous example, the N sorts becomes
one.  There is still a pathalogical case that would require N/2 sorts.
For example, 10000 points split across 5000 series.  Each series has two
points that are in reverse time order.  This would incur 5000 sorts still.

Fixes #3159
2015-07-13 10:51:58 -06:00
Josh Horwitz 596da90227 Updated changelog to have correct name :) 2015-07-12 19:18:23 -04:00
Philip O'Toole deff13e927 Update CHANGELOG for PR 3298
[ci skip]
2015-07-11 14:07:48 -07:00
Jason Wilder 1641c25479 Fix panic parsing floats without decimal
Fixes #3289
2015-07-10 14:18:51 -06:00
Philip O'Toole 7950aeba63 Update CHANGELOG 2015-07-08 17:14:54 -06:00
Jason Wilder 4a71692b88 Allow extra tags using graphite default template
Fixes #3223
2015-07-06 16:14:02 -06:00
Jason Wilder 0b481d55f4 Fix graphite filter searching matching wrong template
Default template would get chosen in some cases when a matching filter
existed.

Fixes #3245
2015-07-06 16:14:02 -06:00
Jason Wilder a3ab093996 Parse NaN as float
Fixes #3230
2015-07-06 16:14:01 -06:00
Philip O'Toole 230f52b2fd Update CHANGELOG 2015-07-06 12:24:26 -04:00
Todd Persen 714b477183 Update CHANGELOG.md 2015-07-04 15:03:47 -07:00
Philip O'Toole ffae1c9ff7 Merge pull request #3218 from influxdb/config_timeouts
Allow PointerWriter timeout to be configurable
2015-07-02 17:14:08 -04:00
Philip O'Toole 84b2e86d73 0.9.1 is released 2015-07-02 13:54:46 -04:00
Philip O'Toole 9ebd237dca Update CHANGELOG 2015-07-02 12:50:15 -04:00
Philip O'Toole 2b2cc3c640 Update CHANGELOG for PR 3217
[ci skip]
2015-07-02 10:57:25 -04:00
Philip O'Toole e9574223f5 Update CHANGELOG 2015-07-01 16:47:56 -04:00
David Norton 8af9e62a5d fix #3102: update CHANGELOG.md 2015-06-30 18:29:36 -04:00
Philip O'Toole 9198cbd65a SHOW STATS and collectd panics actually in 0.9.1
[ci skip]
2015-06-30 18:24:53 -04:00
Jason Wilder af827ba485 Update changelog 2015-06-30 09:29:05 -06:00