Commit Graph

6540 Commits (a3557d52c806cf067832e11162209a2cf02eb5f5)

Author SHA1 Message Date
Philip O'Toole a3557d52c8 Credit for PR 3335
[ci skip]
2015-07-15 11:33:40 -07:00
Philip O'Toole 9f09b402dc Merge pull request #3335 from influxdb/drop_db_all
Form database path correctly on DROP DATABASE
2015-07-15 11:32:20 -07:00
Philip O'Toole 21ea87432c Test that DROP DATABASE is isolated 2015-07-15 11:20:25 -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 b7f48a709d Merge pull request #3332 from influxdb/add_slimit_soffset
Add SLIMIT and SOFFSET to string version of AST
2015-07-15 09:56:52 -07:00
Philip O'Toole c54018a083 Update CHANGELOG 2015-07-15 09:43:27 -07:00
Philip O'Toole 3967ec02d0 Add SLIMIT and SOFFSET to string version of AST 2015-07-15 09:43:24 -07:00
Sean Beckett 56d3addf56 Merge pull request #3325 from influxdb/ga-cli-docs-link
Update link in CLI shell help command
2015-07-14 11:08:49 -07:00
gunnaraasen f46e66ef37 Update link in CLI shell help command 2015-07-14 10:46:49 -07:00
Philip O'Toole 836621ef70 Merge pull request #3304 from jhorwit2/jah/logger-fix
Fixed httpd logger to get user from query params
2015-07-13 16:25:23 -07:00
Josh Horwitz e4f2d8a6c4 Fixed httpd logger to get user from query params 2015-07-13 17:36:34 -04:00
Jason Wilder 792b074d45 Merge pull request #3307 from influxdb/jw-bools
Fix regression parsing boolean True/False values
2015-07-13 11:55:06 -06:00
Jason Wilder ebd6e55997 Fix regression parsing boolean True/False values 2015-07-13 11:29:02 -06:00
Jason Wilder f077359f8c Merge pull request #3293 from influxdb/jw-3159
Sort points after appending if needed
2015-07-13 11:12:01 -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
Philip O'Toole 7b815fe8aa Merge pull request #3302 from jhorwit2/patch-1
Updated changelog to have correct name
2015-07-12 17:46:33 -07:00
Josh Horwitz 596da90227 Updated changelog to have correct name :) 2015-07-12 19:18:23 -04:00
Philip O'Toole 29a34df5e6 Merge pull request #3278 from endophage/master
Output consistency for usage in cli
2015-07-11 14:15:21 -07:00
Philip O'Toole deff13e927 Update CHANGELOG for PR 3298
[ci skip]
2015-07-11 14:07:48 -07:00
Philip O'Toole 12a2480ec7 Merge pull request #3298 from jhorwit2/jhorwit2-patch-1
Updated wal & flush parameters in default config
2015-07-11 14:06:17 -07:00
Josh Horwitz 307154573c Updated wal & flush parameters
As you can see [here](b2b69c63fe/tsdb/config.go (L23)), it appears the configuration parameters were updated in code, but not the default configuration.
2015-07-11 12:36:00 -04:00
Jason Wilder 1384cc5a5f Merge pull request #3297 from influxdb/jw-3289
Fix panic parsing floats without decimal
2015-07-11 08:56:07 -06:00
Jason Wilder 1641c25479 Fix panic parsing floats without decimal
Fixes #3289
2015-07-10 14:18:51 -06:00
David Lawrence 6a2707a313 Update main.go
Make the formatting of the flag info consistent.

Signed-off-by: David Lawrence <dclwrnc@gmail.com> (github: endophage)
2015-07-10 10:27:30 -07:00
Philip O'Toole 3821e7a7a4 Merge pull request #3260 from mat/patch-1
Add GoDoc badge at top of Readme for quick access.
2015-07-10 09:12:15 -06:00
Philip O'Toole 8b67872d6b Merge pull request #3255 from influxdb/fast_startup
Flush WAL as fast as possible on start-up
2015-07-08 17:43:28 -06:00
Sean Beckett 72f52d44c9 making queries syntactically correct 2015-07-08 17:25:56 -06:00
Philip O'Toole 7950aeba63 Update CHANGELOG 2015-07-08 17:14:54 -06:00
Philip O'Toole 7a87fbc58a Flush WAL as fast as possible on start-up
This addresses complaints of long start-up times when there is lots of
data sitting in the WAL.
2015-07-08 17:14:28 -06:00
Jason Wilder 3b815e34f7 Merge pull request #3248 from influxdb/jw-3230
Graphite fixes
2015-07-08 09:05:57 -06:00
Matthias Luedtke 3896a02fde Add GoDoc badge at top of Readme for quick access. 2015-07-08 16:25:59 +02:00
Jason Wilder 6b8d3268e6 Fix code review comments 2015-07-07 11:41:12 -06:00
Jason Wilder cb75de8b7c Use UTC for test assertion data 2015-07-06 21:11:09 -06:00
Jason Wilder db63ada7db Drop NaN and Inf values from graphite input
NaN is skipped by graphite.  Inf is not a supported value for Influxdb.
2015-07-06 16:14:02 -06:00
Jason Wilder b58df5344c Use a single batcher for graphite service
Previously there was a batcher per connection and each batcher was
flushed when the connection was closed.  This didn't have much of an
effect when multiple clients connected and disconnected since it would
flush the batch immediately.  It also did not help UDP traffic.

Instead, there is now a shared batcher for the service so that multiple
connections will not cause frequent flushes.
2015-07-06 16:14:02 -06:00
Jason Wilder 351bc03655 Don't panic if NaN or -/+Inf is used as a field value
These are not supported types but previously it would cause the
point.Fields() func to panic.  This prevents it from panicing
so the values can be ignored if needed.
2015-07-06 16:14:02 -06:00
Jason Wilder 4d511571c5 Serialized unknown types as strings
When creating a point manually, the field values are interface{}
which allows unsupported types to be passed in.  Previously, the
code would panic.  It will now default to string representation of
the value if it's not a known type.
2015-07-06 16:14:02 -06:00
Jason Wilder 736f1c142e Only start flush timer if duration is set
The default of 0 causes the time timer to flush immediately.  If
only a batch size is set but not a time, the batch size setting does
not work.
2015-07-06 16:14:02 -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 4b53f222d6 Fix go fmt 2015-07-06 16:14:01 -06:00
Jason Wilder a3ab093996 Parse NaN as float
Fixes #3230
2015-07-06 16:14:01 -06:00
Philip O'Toole 37de817f03 Merge pull request #3232 from influxdb/metastore_prefix
Set log prefix for Metastore
2015-07-06 12:27:40 -04:00
Philip O'Toole 230f52b2fd Update CHANGELOG 2015-07-06 12:24:26 -04:00
Philip O'Toole bc15a6ea27 Set log prefix for Metastore
Log messages from this package do not look the same as all other log
messages.
2015-07-06 12:24:00 -04:00
Philip O'Toole 4179a4e461 Merge pull request #3243 from influxdb/sort_stringset
stringSet now returns elements in sorted order
2015-07-06 12:13:00 -04:00
Philip O'Toole dd66491f65 stringSet now returns elements in sorted order 2015-07-06 12:03:58 -04:00
Philip O'Toole 6a26956fe6 Minor typo in CONTRIBUTING.md
[ci skip]
2015-07-06 08:58:56 -04:00
Philip O'Toole b49bc3626d Notes on troubleshooting protobuf code generation 2015-07-06 08:57:54 -04:00
Philip O'Toole 2e1bca1ffc More notes about building protobuf code 2015-07-06 08:43:10 -04:00