Cory LaNou
4a3a1c3079
add reference go getting go cover tool
2015-02-17 12:35:11 -07:00
Philip O'Toole
bc1640f78a
Filenames in github are case-senstive
2015-02-17 11:29:40 -08:00
Cory LaNou
1d0e4f7622
Merge pull request #1618 from influxdb/update-readme-contributing
...
update link for contributing.md. fixes #1617
2015-02-17 11:46:57 -07:00
Cory LaNou
c8b557dba1
update link for contributing.md. fixes #1617
2015-02-17 11:12:23 -07:00
Philip O'Toole
ae81dff9f6
Use Field codec in debug code
2015-02-16 16:43:35 -08:00
Philip O'Toole
571fde8d3a
Use dedicated decoded in cursor
2015-02-16 16:39:11 -08:00
Philip O'Toole
5f20af0023
Implement codec DecodeByID
2015-02-16 16:31:39 -08:00
Philip O'Toole
6db74aa9bb
Implement codec's encode
2015-02-16 16:01:52 -08:00
Ben Johnson
f6ceb9bd32
Refactor raft state handling.
...
This commit changes the state handling of the raft log. The actions
for related to each raft state are strictly confined within that state's
loop. To transition between states, the raft log now much clean up all
its actions before moving on.
This fixes issues where goroutines were kicked off for one state but
were delayed in their scheduling so they would begin after the log
had already changed to another state.
2015-02-16 15:45:37 -07:00
Philip O'Toole
8cdee6a997
Clarify use of ReadSeries()
2015-02-16 10:28:06 -08:00
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