Commit Graph

27 Commits (a37752c22ad30173f37e6c70e47bc65d3c69dbb7)

Author SHA1 Message Date
Philip O'Toole bf1a8aa1e4 Use uint64 for Series IDs
Fixes issue #1649
2015-04-10 16:11:34 -07:00
Ben Johnson c24f55b9ea Ignore replayed commands on the metastore.
This commit changes the metastore to ignore any commands that are replayed
against it. This is typically handled by the messaging.Conn but there's no
sense in panicing in the metastore if a replayed message comes through.
2015-04-02 14:43:25 -06:00
Ben Johnson 96748cb217 Update file permissions. 2015-03-14 13:49:25 -06:00
Cory LaNou 079f64338b wiring up droping series, wip 2015-02-25 12:42:23 -07:00
Cory LaNou 8e086a447b Change delete to drop for [dD]ropDatabase 2015-02-23 13:14:18 -07:00
Cory LaNou 29910c3c99 better transaction batching for drop series 2015-02-21 21:48:18 -07:00
Cory LaNou 113fcea9c8 no need to cursor 2015-02-21 21:37:30 -07:00
Cory LaNou 5ab3731159 delete -> drop for series naming 2015-02-21 17:18:50 -07:00
Cory LaNou 4948b62784 first working version of drop series. more testing to come 2015-02-21 17:10:11 -07:00
Cory LaNou 6d5be3da25 wip. compiles now. tests next 2015-02-21 17:10:11 -07:00
Cory LaNou 7cfc2a5601 wip 2015-02-21 17:10:11 -07:00
Ben Johnson 4dbd1541f7 Add index tracking to metastore.
This commit adds tracking of the index to the metastore so that data
nodes will ignore replayed indexes when they are restarted. This
does not include index persistence for the shards.
2015-02-21 13:46:16 -07:00
Philip O'Toole 166584a9c2 Don't create Measurement bucket twice 2015-01-30 21:52:55 -08:00
Ben Johnson ef50a180b4 Fix measurement persistence. 2015-01-28 02:53:16 -05:00
Ben Johnson d651deb0ab Fix server close race condition. 2015-01-13 07:47:45 -07:00
Ben Johnson 5652e12c63 Add write series. 2015-01-10 13:29:43 -07:00
Ben Johnson 946007916c Partial write series code. 2015-01-10 08:48:50 -07: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
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