Commit Graph

4121 Commits (1bbf154f2aad16074be2276da52ce4d82990c589)

Author SHA1 Message Date
Philip O'Toole dcdb4b77a1 Merge branch 'master' into support_all_value_types
Conflicts:
	database.go
	server.go
2015-02-16 09:21:10 -08:00
Philip O'Toole 7b4d2675b0 Merge pull request #1614 from influxdb/only_update_meta_new_fields
Only update Metastore if new fields were created
2015-02-15 17:16:37 -08:00
Philip O'Toole 9db17a7e09 Only update Metastore if new fields were created
It is quite possible that multiple applyCreateFieldsIfNotExist messages
will sit unapplied in the Raft commit log, each carrying exactly the same
information about new fields. So during application of this message only
change the Metastore if the fields actually changed.
2015-02-15 16:58:29 -08:00
Philip O'Toole c90d27083c Merge pull request #1613 from influxdb/broadcast_field_types
Unit test field conflict detection
2015-02-15 15:50:18 -08:00
Philip O'Toole ca1f21fc6f Unit test field conflict detection 2015-02-15 15:48:19 -08:00
Philip O'Toole a8d57f1f3d Merge pull request #1605 from influxdb/broadcast_field_types
Broadcast field types
2015-02-15 15:39:41 -08:00
Philip O'Toole b6ca46c5bd Remove stubbed out unit test for field creation
This file only tests exported calls, so instead testing is now present
at the HTTP handler level.
2015-02-15 15:28:42 -08:00
Philip O'Toole 02db5a3484 Unit test that fields are recorded correctly
This test checks that a non-existent field is flagged correctly during a
query.
2015-02-15 15:26:11 -08:00
Philip O'Toole 6f150da719 Wait briefly to ensure data is written 2015-02-15 12:22:58 -08:00
Philip O'Toole 7955513f61 Add simple write-and-query test case
The test case "TestHandler_serveWriteSeriesZeroTime" is actually failing
under certain circumstances, giving the impression that there is
something special about the case where the timestamp is not supplied. In
fact this is not the case, and even a write with a timestamp specified
is failing. Therefore add another test case that covers that case.
2015-02-15 12:17:41 -08:00
Paul Dix 4cd3494ddc Update interface on iterator.Next() to pass raw data along with key and value 2015-02-14 17:12:38 -05:00
Paul Dix 4e68828c58 WIP: update signature of iterator in tx.go 2015-02-14 10:24:35 -05:00
Philip O'Toole 276c5ded5a int maps to influxql.Number 2015-02-13 16:28:12 -08:00
Philip O'Toole 9061a70953 Don't perform marshalling during field creation 2015-02-13 15:59:46 -08:00
Philip O'Toole 31f65361e4 Fix up locking 2015-02-13 15:41:27 -08:00
Philip O'Toole 75ebfaf3dd Use "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole 32faba7248 Add "create fields" broadcast message 2015-02-13 15:41:27 -08:00
Philip O'Toole a13223466b Merge pull request #1606 from influxdb/fix_series_lookup_lock
Release RLock if database does not exist
2015-02-13 15:41:12 -08:00
Philip O'Toole c0655fb45d Release RLock if database does not exist 2015-02-13 15:19:17 -08:00
Cory LaNou f8aa6b5f09 Merge pull request #1603 from influxdb/contributing-update
talk about revision control systems in the contributing doc.
2015-02-13 14:55:15 -07:00
Cory LaNou 5579fa3f07 add note about installing go vet 2015-02-13 14:41:19 -07:00
Cory LaNou c5624f37b1 only talk about git/mercurial. put above vet so getting it works 2015-02-13 14:38:42 -07:00
Cory LaNou 553170a4d6 talk about revision control systems in the contributing doc. 2015-02-13 14:29:38 -07:00
Paul Dix b394fc203f WIP: updating the signature for iterators to pass around raw bytes for field values. 2015-02-13 14:04:45 -05:00
Cory LaNou e1fb8827de Merge pull request #1595 from influxdb/serializable-public-fields
make the fields public to all for serializing them later
2015-02-13 09:34:38 -07:00
Todd Persen 809c441fb4 Merge pull request #1598 from influxdb/fix-admin-interface-port-collision
Panic if admin server already running
2015-02-13 08:14:49 -08:00
Todd Persen c0f49e0832 Don't try to close the admin interface if it never starts up. 2015-02-12 22:52:40 -08:00
Cory LaNou f746ca91cb Merge pull request #1599 from influxdb/contributing
Allow for the contributing banner on github for PRs
2015-02-12 18:40:12 -07:00
Philip O'Toole 4baeee3af0 Support bool and string types 2015-02-12 17:35:10 -08:00
Cory LaNou 3fdb4e5025 this will allow for the banner on github for PRs 2015-02-12 18:24:29 -07:00
Cory LaNou cd23c8e74f Merge pull request #1597 from influxdb/ping-head
Ping head
2015-02-12 18:08:21 -07:00
Cory LaNou 8c4f5b5513 forgot I had this file. it was just some testing 2015-02-12 17:48:16 -07:00
Cory LaNou 9ca976df39 add HEAD /ping test 2015-02-12 17:46:39 -07:00
Cory LaNou d6800dde0d added ability for /ping to respond to HEAD method. fixes #1596 2015-02-12 17:43:52 -07:00
Philip O'Toole 0ca98ea6c2 Remove unmarshalValues 2015-02-12 16:07:25 -08:00
Philip O'Toole e9880a4d8b Cursor now requires a Field decoder 2015-02-12 16:07:25 -08:00
Philip O'Toole 5b8c0748af Remove marshalValues
Code now on Measurement type
2015-02-12 16:07:20 -08:00
Philip O'Toole aa6a45c017 Add marshalling for more field types 2015-02-12 16:06:42 -08:00
Philip O'Toole bf9bfd6106 Error if field's type has changed 2015-02-12 16:06:37 -08:00
Cory LaNou aa7073bfb0 make the fields public to all for serializing them later 2015-02-12 15:12:14 -07:00
Todd Persen 1fd766df95 Merge pull request #1593 from influxdb/commit-hooks
commit hook was inaccuratly reporting vet errors due to how we ran vet
2015-02-12 10:53:01 -08:00
Cory LaNou bcfeb0bf36 Merge pull request #1591 from influxdb/spread
Spread
2015-02-12 11:25:16 -07:00
Cory LaNou b0046bc117 re-create comment 2015-02-12 11:19:37 -07:00
Cory LaNou 2d638b5333 fixed inaccurate vet reporting so this works now 2015-02-12 11:18:52 -07:00
Cory LaNou fd236a7737 commit hook was inaccuratly reporting vet errors due to how we ran vet 2015-02-12 11:17:41 -07:00
Cory LaNou 61d4cd6a5a shortcut calculating spread if not necessary 2015-02-12 10:40:24 -07:00
Cory LaNou 7c12afb9e1 fixing comment 2015-02-12 09:56:39 -07:00
Cory LaNou 28202ddef1 fix vet error. this one is unfortunate the way vet works 2015-02-12 09:39:59 -07:00
Cory LaNou 3dd53ebe80 wire up spread function 2015-02-12 09:39:41 -07:00
dgnorton 6309e0e6e9 Merge pull request #1583 from influxdb/fix-1579-show-measurements-format
fix #1579: SHOW MEASUREMENTS format
2015-02-12 09:35:45 -05:00