Commit Graph

10 Commits (3fd1fe2210d33287f0df3cf4798cf4557757e86b)

Author SHA1 Message Date
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
Paul Dix 0f64a29d78 Fix merge conflicts 2014-12-30 17:50:55 -05:00
Paul Dix f763060b68 Refactor measurementIndex into the measurement object.
* Updated megastore to build the per database index for the server object
* Changed Server to have MeasurementNames and MeasurementSeriesIDs methods instead of generic Measurement method.
2014-12-30 16:45:58 -05:00
Ben Johnson 957ea91997 Add DataNode autoincrementing sequence. 2014-12-30 09:01:19 -07:00
Ben Johnson ebb82a91fd Remove data node sort in the metastore. 2014-12-30 08:53:07 -07:00
Ben Johnson e88bd55762 Rename Node to DataNode. 2014-12-30 08:50:15 -07:00
Ben Johnson a04eb398cf Add node management. 2014-12-29 16:12:51 -07:00
Paul Dix bbe859c981 WIP: Add in memory tag and megastore index
* Refactor metastore to remove tag mappings
* Add TagIndex and tests
* Update server to use TagIndex
2014-12-23 23:46:54 -05:00
Ben Johnson b25ced9b8e Refactor database methods into server. 2014-12-22 23:18:05 -07:00