David Norton
c39d012a23
go vet cleanup
2015-01-09 20:08:55 -05:00
Paul Dix
b42def229a
Update database style based on feedback
2015-01-02 14:02:02 -05:00
Paul Dix
d5548aa136
Refactor Index into database
...
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
2014-12-31 18:55:45 -05:00
Ben Johnson
b25ced9b8e
Refactor database methods into server.
2014-12-22 23:18:05 -07:00
Paul Dix
639e25e2ce
Fix build, cleanup database measurements test.
2014-12-22 07:35:29 -05:00
Paul Dix
4d4b9656c7
Add Fields to Measurement.
...
* Add Field
* Changes series on meta to measurements for consistency
* Update metastore to store serialized Series object instead of tags
2014-12-22 07:35:29 -05:00
Paul Dix
f6948b14c8
Update Database and Metastore to keep series info
...
* Change database to keep all data under a bucket in bolt
* Subbucket under the database to keep tagbytes to ids
* Subbucket under the database to keep ids to tag values
2014-12-22 07:35:29 -05:00
Ben Johnson
c77191b282
Rebuilding engine in influxql.
2014-12-07 22:08:39 -07:00
Ben Johnson
d34bc1f57f
Add AST string encoding, substatement extraction.
2014-12-06 11:17:58 -07:00
Paul Dix
309d6b90c5
Refactor CreateShardsIfNotExist to take policy name
2014-12-03 15:52:38 -05:00
Paul Dix
40cb058370
Refactor CreateShardIfNotExist
...
* make createShardIfNotExist non-exported function
* make CreateShardsIfNotExist to create shards for a given block of time. Makes it so we don't need to expose series ids on exported functions.
2014-12-03 15:36:54 -05:00
Paul Dix
3190840f4b
gofmt
2014-12-03 11:32:53 -05:00
Paul Dix
bae2ce8150
Update write series
...
* don't block for replication when writing
* update db.CreateShardIfNotExists to return the shard
2014-12-03 07:27:34 -05:00
Ben Johnson
a41e539458
Initial query planner.
2014-11-30 15:52:00 -07:00
Paul Dix
d08bc0297d
WIP: Implement writes series data on database
...
* Add setSeriesId to raft, metastore
* Add methods to get seriesIds
[ci skip]
2014-11-26 11:26:18 -05:00
David Norton
3478866fcb
Wire up GET /db/:db/users/:user and use Matcher
...
In addition to wiring up the endpoint, this commit also changes the
user endpoints to use two []*Matcher for readFrom and writeTo instead
of a single []string for permissions.
2014-11-26 11:02:17 -05:00
David Norton
f34ed511c0
Wire up POST /db/:db/users
2014-11-26 09:36:43 -05:00
David Norton
136324a4be
Fix CreateShardIfNotExists and spelling error
2014-11-26 08:41:33 -05:00
Ben Johnson
d78bc751c9
Fix influxql.Parse() references.
2014-11-25 08:48:10 -07:00
Paul Dix
291360d42b
Fix impl and test for setting default retention policy
2014-11-18 19:41:50 -05:00
Paul Dix
00e87488bd
Minor edits to replace shard space with retention
2014-11-18 19:03:21 -05:00
Paul Dix
8788314e4d
Add set default retention policy
2014-11-18 18:59:37 -05:00
Paul Dix
87f5ea1f6a
Refactor ShardSpace to RetentionPolicy
...
* Remove regex since they will be written to or queried explicitly
* Rename retention to duration
* Remove duration
2014-11-18 17:57:10 -05:00
Ben Johnson
0cc1818eaa
Remove protobufs.
2014-11-17 17:23:21 -07:00
Ben Johnson
37ee2ac23c
Remove engine, parser, and Makefile.
2014-11-17 15:54:35 -07:00
Ben Johnson
f52c85a8a1
Query engine and parser integration into root pkg.
2014-11-09 19:55:53 -07:00
Ben Johnson
b78d4f1329
Add basic query code into the database.
2014-11-06 20:18:36 -05:00
Ben Johnson
c138aaaf58
Integrating query into shards.
2014-11-06 01:03:35 -05:00
Ben Johnson
dcef4baeb1
Add bolt-backed metastore.
2014-11-05 00:32:17 -05:00
Ben Johnson
31f981e804
Refactoring common, cluster, and protobuf.
2014-10-31 19:31:19 -06:00