Jason Wilder
37c971bb82
Fix querying measurements with spaces
...
Fixes #3319
2015-07-22 14:49:54 -06:00
Ben Johnson
a7f50ae03c
refactor storage to engine
2015-07-22 11:08:10 -06:00
Ben Johnson
de1f9a3736
refactor tsdb tests into test package
2015-07-22 11:07:06 -06:00
Philip O'Toole
df3caefcf9
stringSet now takes varadic slice to add
2015-07-20 14:40:39 -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
dd66491f65
stringSet now returns elements in sorted order
2015-07-06 12:03:58 -04:00
Philip O'Toole
cb7baa6d9e
Don't group TagSets when tag values are identical
...
Fixes issue #3059
2015-06-22 16:04:13 -07:00
Pradeep Chhetri
37750acef6
Fixed some Typos
2015-06-11 17:33:26 +05:45
Philip O'Toole
64af1b6241
Report number of measurements and series per node
2015-06-11 00:21:15 -07:00
Philip O'Toole
344a1f4948
Don't even return value from DropSeries
2015-06-10 20:50:07 -07:00
Philip O'Toole
85fd3d0292
Series was not already dropped, return false
2015-06-09 14:25:20 -07:00
Paul Dix
9bf09ee026
Correct comments in tsdb/meta
2015-06-04 16:08:12 -04:00
Paul Dix
408bc3f81e
Ensure proper locking of index structures on writes and queries.
2015-06-04 14:50:32 -04:00
Paul Dix
a7685767f8
Update comment
2015-06-03 13:26:49 -04:00
Paul Dix
9c4da3002c
Wire up DROP MEASUREMENT
...
* Add deleteMeasurement to store and shard
* Add DropMeasurement to DatabaseIndex
* Update ErrMeasurementNotFound and ErrDatabaseNotFound to not include the first line of the stack trace.
2015-06-03 11:32:50 -04:00
Paul Dix
6f76a4774b
Update UnmarshalBinary comment to be correct
2015-06-03 07:36:39 -04:00
Paul Dix
2d9c63f3bd
Update metadata storage in the shard to use protobuf for serialization.
2015-06-02 19:08:48 -04:00
Ben Johnson
44d38cb430
Merge branch 'master' into alpha1
2015-06-02 10:40:52 -06:00
Paul Dix
c098c6fd78
Merge pull request #2728 from influxdb/pd-tsdb-drop-queries
...
Wire up DROP SERIES.
2015-06-02 11:30:49 -04:00
Paul Dix
4a1ce77090
Wire up DROP SERIES.
...
* Pulled over updates to ast and parser from master
* Updated store and shard to be able to drop series
* Pulled updates to database.go from master into tsdb/meta.go
2015-06-02 11:20:20 -04:00
Jason Wilder
5c851c4b1c
Fix panic: runtime error: slice bounds out of range in tsdb.measurementFromSeriesKey
...
Writing points without tags caused this since strings.Index(key, ",") returned
-1 if there were no tags.
2015-06-01 17:19:29 -06:00
Paul Dix
072dacc1ab
Update tx.go to work with tsdb
2015-05-29 14:59:57 -06:00
Paul Dix
6c80108f63
Change Database to DatabaseIndex, remove leftover warn statement
2015-05-24 07:39:45 -04:00
Paul Dix
c3ab88a715
Make the metadata index shared across shards while keeping field types and encoding local to each shard.
2015-05-23 18:06:07 -04:00
Jason Wilder
5dcab443dc
Move data.Point to tsdb.Point
2015-05-22 15:00:51 -06:00
Paul Dix
8f937cae87
Initial implementation for writing data to a shard.
2015-05-22 16:11:18 -04:00