Commit Graph

1149 Commits (47317d73b4654a3bc62cc4e2ab95237ceb26fa40)

Author SHA1 Message Date
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