Commit Graph

1021 Commits (542efbbd7993f0a7a7e6ff73a134df13c8274744)

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