Jason Wilder
3e969166c9
Fix parsing commas in string field values
...
Fixes a panic on writes because the field value was not parse correctly.
panic: unsupported value type during encode fields: <nil>
goroutine 117 [running]:
github.com/influxdb/influxdb/tsdb.(*FieldCodec).EncodeFields(0xc2081c4020, 0xc2081dc180, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/jason/go/src/github.com/influxdb/influxdb/tsdb/shard.go:573 +0x8e3
2015-06-09 15:53:21 -06:00
Cory LaNou
a43054adce
add test for querying across shards and fields
2015-06-09 12:51:59 -05:00
David Norton
fc0bbaf0d1
fix #2814 : remove locking cruft from batcher
2015-06-09 00:34:46 -04:00
David Norton
3b15a49f7c
fix #2814 : revert making batcher channels buffered
2015-06-09 00:34:46 -04:00
David Norton
d5f52333a1
fix #2814 : hook collectd service back up
2015-06-09 00:34:46 -04:00
Paul Dix
8f712eaf85
Ignore shards that don't have the selected measurement in them.
...
Fixes #2815 and fixes #2818 .
2015-06-08 17:14:42 +02:00
Paul Dix
f39cddebf6
Fix locking on write path for getting measurement field encoding.
2015-06-07 11:09:47 +02:00
Jason Wilder
044e5b71f5
Remote temp dirs in store_test
2015-06-05 22:16:51 -06:00
Ben Johnson
b925e1c1af
Multi-node clustering.
...
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus.
2015-06-05 14:41:19 -06:00
Todd Persen
0ee71b9755
Merge pull request #2743 from influxdb/tsdb-benchmarks
...
add shard & index benchmarks
2015-06-05 13:15:38 -07:00
Philip O'Toole
ca9f231fa1
Merge pull request #2776 from influxdb/enforce_retention_2_phase
...
Enforce retention policies
2015-06-05 11:15:21 -07:00
Paul Dix
4ba7c5d1c1
Merge pull request #2787 from influxdb/pd-drop-database
...
Wire up DROP DATABASE query
2015-06-05 20:09:06 +02:00
Paul Dix
61ac4aad80
Fix spelling in test
2015-06-05 20:07:52 +02:00
Paul Dix
885e484746
Fix comment typo
2015-06-05 12:47:53 -04:00
Paul Dix
70e10b136e
Wire up DROP DATABASE query.
2015-06-05 12:31:04 -04:00
Philip O'Toole
81ec7353ce
TSDB store can return all known Shard IDs
2015-06-04 17:02:22 -07:00
Paul Dix
55e0de30bd
Merge pull request #2773 from influxdb/pd-locking
...
Ensure proper locking of index structures on writes and queries.
2015-06-04 19:50:49 -04:00
Paul Dix
9bf09ee026
Correct comments in tsdb/meta
2015-06-04 16:08:12 -04:00
Philip O'Toole
c36f5f3f5f
Merge pull request #2771 from influxdb/enforce_retention_2_phase
...
Support deleting shards from TSDB store
2015-06-04 12:32:39 -07:00
Philip O'Toole
5ea2042356
Add DeleteShard to TSDB store
2015-06-04 12:22:38 -07:00
Paul Dix
408bc3f81e
Ensure proper locking of index structures on writes and queries.
2015-06-04 14:50:32 -04:00
Cory LaNou
bafdb7f7cb
explicitly parse time if needed
2015-06-04 12:15:18 -06:00
Cory LaNou
780fdedbd4
remove spew
2015-06-04 11:29:18 -06:00
Cory LaNou
47d605b69a
make line protocol round or parse precision as expected
2015-06-04 11:22:53 -06:00
Cory LaNou
3b9738c87a
fixing more error message regressions
2015-06-03 15:36:18 -06:00
Cory LaNou
3e7b458eae
fix regression in distinct on tags error
2015-06-03 15:28:45 -06:00
Paul Dix
99446786f9
Merge pull request #2752 from influxdb/pd-drop-measurement
...
Wire up DROP MEASUREMENT
2015-06-03 14:02:37 -04:00
Cory LaNou
f5d59eca3d
Merge pull request #2756 from influxdb/integration-tests
...
And even more Integration tests
2015-06-03 11:56:36 -06:00
Cory LaNou
be91c40b9a
fix data race in WriteToShard
2015-06-03 11:46:18 -06:00
Paul Dix
a7685767f8
Update comment
2015-06-03 13:26:49 -04:00
Paul Dix
73a6c7e424
Merge pull request #2745 from influxdb/pd-shard-metadata-to-protobuf
...
Update metadata storage in the shard to use protobuf for serialization.
2015-06-03 11:33:25 -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
David Norton
938ad2ef85
add Store Open benchmark test
2015-06-03 10:09:50 -04:00
Paul Dix
808e50f1cb
Add protbuf definitions and code
2015-06-03 09:16:38 -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
David Norton
31bb8e70a9
don't build index before benchmarking WritePoints
2015-06-02 17:17:31 -04:00
David Norton
97c84a6d4f
add benchmark tests for shard WritePoints
2015-06-02 17:00:25 -04:00
David Norton
67464238ed
add benchmarks for building in-mem series index
2015-06-02 17:00:25 -04:00
Cory LaNou
900903ee69
fix select tags
2015-06-02 14:48:33 -06:00
Paul Dix
b18546be22
Fix tx.go after merge of alpha1
2015-06-02 14:56:20 -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
4fa9fd5fe9
Merge pull request #2725 from influxdb/jw-client
...
Update client to use line protocol
2015-06-01 17:35:26 -06: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
Cory LaNou
d962283ae6
adding some integration tests
2015-06-01 16:04:20 -06:00
Cory LaNou
3597565955
reading and writing yo!
2015-06-01 11:59:58 -06:00
Ben Johnson
bf823d9887
Integrating cmd/influxd/run.
2015-05-30 14:06:36 -06:00
Ben Johnson
c916256ac9
Rename cluster.Writer to cluster.ShardWriter.
2015-05-30 14:05:27 -06:00