Jason Wilder
668181d275
Make log statements more consistent
...
* Capitalize first letter of message
* Log all services staring consistently
* Remove some extraneous log statements in meta.Store
* Log data dirs for meta, data and hinted handoff
2015-08-13 10:01:42 -06:00
Ben Johnson
2547049c6f
Merge pull request #3626 from benbjohnson/fix-3571
...
Fix duplicate points in b1/cursor
2015-08-11 16:15:35 -06:00
Ben Johnson
10c1ae782a
fix duplicate points in b1/cursor
...
This commit fixes the b1 cursor so that reads from either the cache
or bolt buffer will check against the previously read key to ensure
that two of the same keys are not returned.
Fixes #3571 .
2015-08-11 13:43:44 -06:00
Philip O'Toole
480998974d
Align batcher stats for i386
...
Fixes issue #3213 .
2015-08-10 16:37:16 -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
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
03dfec31db
Add integer derivative tests
...
There was one for aggregates that was misnamed. Added one for
raw derviative.
2015-08-10 12:58:36 -06:00
Ben Johnson
25293052b6
add b1 test harness
2015-08-10 12:46:57 -06:00
Jason Wilder
d4ce2f9048
Fix panic when running derivative on non-numeric values
...
Fixes #3401
2015-08-10 12:45:34 -06:00
Daniel Morsing
41733f6817
Merge pull request #3521 from DanielMorsing/sharderrcheck
...
check error when opening shard DBs.
2015-08-10 11:28:20 -07:00
Daniel Morsing
65ea56ae2c
check error when opening shard DBs.
...
This should catch the case where someone messed up the permisssions
for a database that they moved from one machine to another.
2015-08-10 09:31:22 -07:00
Ben Johnson
1ebcb10b03
Add tsdb.MultiCursor
...
This commit adds a cursor that wraps multiple `tsdb.Cursor` objects
and streams them out as one cursor. The multi-cursor automatically
dedupes keys by using the first cursor specified in the argument
list.
2015-08-07 17:02:29 -06:00
Paul Dix
bd512762db
Merge pull request #3586 from benbjohnson/bz1-fix
...
Ffix bz1 quickcheck bugs
2015-08-06 17:28:58 -04:00
Ben Johnson
394e9635cf
fix bz1 quickcheck bugs
...
This commit fixes issues found from using a more complex `testing/quick`
implementation of the `WriteIndex()` test. The newer test inserts
multiple sets of random data that's confined to a smaller random space
so there's more chance of overlapping data.
The fixes were primarily around inserting old data or inserting the same
timestamp multiple times for a single write. The block splitting was not
working correctly before and the sorting and deduping was not handled
correctly.
2015-08-06 15:12:48 -06:00
Cory LaNou
b19a8f3968
Fix alias, maintain column sort order
2015-08-06 14:01:03 -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
Jason Wilder
5aacb3485b
Merge pull request #3570 from influxdb/jw-fuzz
...
Fix panics found via go-fuzz
2015-08-05 20:03:44 -06:00
Ben Johnson
4436036acd
Merge pull request #3544 from benbjohnson/bz1
...
BZ1 Pt. II
2015-08-05 16:56:03 -06:00
Jason Wilder
2d604ac537
Fix panics found via go-fuzz
...
Fixes #3288
2015-08-05 16:41:59 -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
Ben Johnson
f7111e037b
add bz1 testing/quick coverage
2015-08-04 18:36:14 -06:00
David Norton
d661bf1a06
fix #3414 : shard mappers perform query re-writing
2015-08-04 09:49:50 -04:00
dgnorton
d810682019
Merge pull request #3520 from influxdb/mas-optimize-key
...
Query performance optimization
2015-08-03 17:32:54 -04:00
Ben Johnson
4077148245
refactor bz1 to integrate with WAL
2015-08-03 14:32:17 -06:00
Ben Johnson
6be31e7f15
2015-08-03 14:32:17 -06:00
Ben Johnson
de09c02874
add benchmarks
2015-08-03 14:32:17 -06:00
Ben Johnson
1ada790de7
add bz1 storage engine
2015-08-03 14:32:17 -06:00
David Norton
b003522a18
use heap for tagSetCursor lookahead
2015-07-31 13:28:46 -04:00
Cory LaNou
b154e64d42
add point conversion test for 1.0i
2015-07-30 20:55:08 -05:00
Cory LaNou
0b5eb09181
integers in line protocol now have to end with `i`
2015-07-30 20:51:18 -05:00
David Norton
0b248e225c
Fix aggregate queries and time precision on where clauses.
2015-07-29 15:54:55 -04:00
Ben Johnson
a9cbf6c857
Rename v1 engine to b1
...
This commit changes the 'v1' engine to 'b1' to represent "bolt v1".
2015-07-29 08:55:07 -06:00
Philip O'Toole
9949de3f44
Fix typo in comment
2015-07-22 13:59:43 -07:00
Jason Wilder
37c971bb82
Fix querying measurements with spaces
...
Fixes #3319
2015-07-22 14:49:54 -06:00
Ben Johnson
2a9f1d0704
remove Engine.DB
2015-07-22 11:08:10 -06:00
Ben Johnson
cc0607a5cf
remove Engine.Flush()
2015-07-22 11:08:10 -06:00
Ben Johnson
a7f50ae03c
refactor storage to engine
2015-07-22 11:08:10 -06:00
Ben Johnson
4dc15a833e
rename engine.go to executor.go
2015-07-22 11:07:06 -06:00
Ben Johnson
de1f9a3736
refactor tsdb tests into test package
2015-07-22 11:07:06 -06:00
Philip O'Toole
42b4a0b8bf
string return is totally unused
2015-07-22 02:55:13 -07:00
Philip O'Toole
45dcf9960c
Optimize the very inner loop of cursor iteration
...
This change moves tracking of next timestamp and values to simple
slices, as performance measurement showed that Peek() on TagSet cursors
was a huge performance drain. There is much more that can be done here,
but with this in place query performance has been restored to 0.9.1
levels.
This change also uses -1 to indicate that no value is available for a
given timestamp.
2015-07-22 02:55:09 -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
Philip O'Toole
122d81bd43
Cosmetic change to mapper unit tests
...
This change makes it clear that the key "value" in the Mapper output is
a special value, and not related ot the field name of the input data.
2015-07-21 11:05:25 -07:00
Jason Wilder
f9287ad47d
Fix parse stuck in loop causing 500 timeout
...
Fixes #3411
2015-07-21 11:20:14 -06:00
Jason Wilder
7ee7dfd6e1
Merge pull request #3405 from jhorwit2/jah/3379
...
Fixes #3379 - added check for no fields in point
2015-07-21 11:18:58 -06:00
Philip O'Toole
bfc55c16aa
Small refactor of store-creation test code
2015-07-21 09:44:59 -07:00
Josh Horwitz
e19dea8703
Fixes #3379 - added check for no fields in point
2015-07-21 09:01:51 -04:00
Philip O'Toole
7e0fa132c8
Raw query with no valid SELECT fields is not data
2015-07-20 15:59:52 -07:00
Philip O'Toole
aeb51ec2f5
Remove existence restrictions on field and tags
2015-07-20 15:44:07 -07:00
Philip O'Toole
9b19e1e664
Correctly build union of fields and tags
...
Previously the fields and tags were getting overwritten with every loop
of Sources.
2015-07-20 14:44:40 -07:00