Commit Graph

3474 Commits (ac6744526d58cce0ad76074c48a37abbb6208328)

Author SHA1 Message Date
dgnorton ac6744526d Merge pull request #1483 from influxdb/golint-changes
golint cleanup
2015-02-01 14:10:46 -05:00
David Norton a8b86dc29b golint cleanup 2015-02-01 13:47:48 -05:00
Philip O'Toole fd63a3513b Merge pull request #1464 from influxdb/remove_duped_series_bucket
Don't create Measurement bucket twice
2015-01-31 11:15:42 -08:00
Philip O'Toole 32d9872341 Merge pull request #1465 from influxdb/ignore_valueless_requests
Quit value-less requests as soon as possible
2015-01-31 11:15:30 -08:00
Philip O'Toole 9846f05edf Quit value-less requests as soon as possible 2015-01-30 23:01:13 -08:00
Philip O'Toole 166584a9c2 Don't create Measurement bucket twice 2015-01-30 21:52:55 -08:00
Cory LaNou c9f29a85a7 Merge pull request #1461 from influxdb/cli-enable-use-command
CLI - Enable "use" command
2015-01-30 14:42:56 -07:00
Cory LaNou 1ad0e32c0a add warning if querying resulted in an error and database was not set 2015-01-30 14:38:27 -07:00
Cory LaNou 85499c6f17 enable use command in cli 2015-01-30 14:31:53 -07:00
Philip O'Toole 4cf38f3baa Merge pull request #1460 from influxdb/tweak_logs
Remove superfluous blank line from help output
2015-01-30 13:21:49 -08:00
Cory LaNou afd2883c9a Merge pull request #1458 from influxdb/time-tests-failing
Intermittent tests passing/failing
2015-01-30 14:19:43 -07:00
Philip O'Toole b191b1f044 Remove superfluous blank line from help output 2015-01-30 13:09:38 -08:00
Philip O'Toole d8a8558bc0 Clarify build instructions 2015-01-30 13:05:50 -08:00
Cory LaNou 4ecd5a0596 skipping racy raft tests 2015-01-30 13:50:59 -07:00
Cory LaNou cc3a147421 Use time.Equal whenever comparing time 2015-01-30 13:45:07 -07:00
Cory LaNou 8e341831ca update batchwrite tests to use utc and time.Equal() 2015-01-30 13:45:07 -07:00
Cory LaNou cea1bfb8f6 update error message to ouput correct actual 2015-01-30 13:45:07 -07:00
Cory LaNou e2726f7b79 try testing with UTC time 2015-01-30 13:45:07 -07:00
Cory LaNou a6ac75c613 disable more racy tests 2015-01-30 13:45:07 -07:00
Cory LaNou 173ad5899b trying time.Equal instead of == 2015-01-30 13:44:29 -07:00
Cory LaNou 24bc6eaa6e skipping racy raft tests 2015-01-30 13:44:29 -07:00
Cory LaNou 72d73b9c6a show proper error message in test for debugging 2015-01-30 13:44:29 -07:00
Cory LaNou 347c34b4f1 skipping racy raft test 2015-01-30 13:44:29 -07:00
Cory LaNou 98354e2877 raft test still failing, seeing if time tests fail on build, pass locally 2015-01-30 13:44:29 -07:00
Philip O'Toole 2506c6e415 Merge pull request #1459 from influxdb/disable_raft_test
Disable racy Raft test until fixed
2015-01-30 10:22:43 -08:00
Philip O'Toole 7df23eb7e6 Disable racy Raft test until fixed 2015-01-30 10:19:05 -08:00
dgnorton 237a04e5c2 Merge pull request #1454 from influxdb/grant-revoke
Issue #1418: wire up grant & revoke
2015-01-30 11:54:18 -05:00
David Norton 8693d771ed issue #1418: persit user after grant/revoke 2015-01-30 10:46:29 -05:00
David Norton 0b70307ca0 issue #1418: rm param from executeGrantStatement
- Remove database param from executeGrantStatement and use the database
  name specified in the ON clause.

- Add test for granting DB privilege.
2015-01-30 10:46:29 -05:00
David Norton d7814eb5f1 issue #1418: wire up revoke privilege 2015-01-30 10:46:29 -05:00
David Norton 5cfb8d9210 issue #1418: wire up grant permission 2015-01-30 10:46:29 -05:00
Philip O'Toole e6fdf27b73 Merge pull request #1456 from influxdb/client_test_failures
Configure Travis so build failures are flagged
2015-01-29 23:08:04 -08:00
Philip O'Toole 59c5366a2b Skip TestHTTPHandler_HandleHeartbeat until fixed
Fails on travis:

UN TestHTTPHandler_HandleHeartbeat
[raft] 2015/01/30 06:52:42 log open: created at /tmp/raft-667391350, with ID 0, term 0, last applied index of 0
[raft] 2015/01/30 06:52:42 log state change: stopped => leader
[raft] 2015/01/30 06:52:42 log initialize: promoted to 'leader' with cluster ID 1, log ID 1, term 1
panic: runtime error: slice bounds out of range
goroutine 32 [running]:
github.com/influxdb/influxdb/raft.func·007(0x0, 0x0)
    /home/travis/gopath/src/github.com/influxdb/influxdb/raft/log.go:953 +0x5d5
2015-01-29 22:55:11 -08:00
Philip O'Toole 00075be679 Disable TestBroker_Join until fixed
Panic on travis:

=== RUN TestBroker_Join
[raft] 2015/01/30 06:46:16 log open: created at
/tmp/influxdb-messaging-119432971/raft, with ID 0, term 0, last applied
index of 0
[raft] 2015/01/30 06:46:16 log state change: stopped => leader
[raft] 2015/01/30 06:46:16 log initialize: promoted to 'leader' with
cluster ID 3337066551442961397, log ID 1, term 1
[raft] 2015/01/30 06:46:16 log open: created at
/tmp/influxdb-messaging-071763182/raft, with ID 0, term 0, last applied
index of 0
[raft] 2015/01/30 06:46:17 log state change: stopped => follower
[raft] 2015/01/30 06:46:17 log join: entered 'follower' state for
cluster at http://127.0.0.1:33257  with log ID 2
[raft] 2015/01/30 06:46:17 log state change: follower => follower
[raft] 2015/01/30 06:46:17 log state change: follower => stopped
panic: write to: add stream writer: write to: replica unavailable
goroutine 410 [running]:
github.com/influxdb/influxdb/messaging_test.func·003()
    /home/travis/gopath/src/github.com/influxdb/influxdb/messaging/broker_test.go:260
+0x140
created by
github.com/influxdb/influxdb/messaging_test.(*Broker).MustReadAll
    /home/travis/gopath/src/github.com/influxdb/influxdb/messaging/broker_test.go:262
+0x14e
2015-01-29 22:47:32 -08:00
Philip O'Toole a899dcd9d3 Skip TestTx_CreateIterators until fixed 2015-01-29 22:44:07 -08:00
Philip O'Toole fc89f741cb Skip time-related marshalling tests until fixed 2015-01-29 22:42:09 -08:00
Philip O'Toole e52faf10eb Try build commands on distinct lines 2015-01-29 22:34:28 -08:00
Philip O'Toole 03d295e8f3 Merge pull request #1455 from influxdb/wait_apply_cluster
Increase time "added" for single node test
2015-01-29 22:11:25 -08:00
Philip O'Toole 8cd7251aa8 Increase time "added" for single node test
Wait()ing for the log to be applied can take 2 loops. Due to this, the
timer used to trigger the 3rd check is pushed too far into the future.
So push the clock even farther into the future so the test doesn't hang
and can then be re-enabled.
2015-01-29 22:08:40 -08:00
Paul Dix 4ce5a637bb Rename create_write_query and make executable. 2015-01-29 21:34:52 -05:00
Cory LaNou 59bd3c1a64 Merge pull request #1448 from influxdb/http-timestamp-variants
Support epoch time with precision, RFC3339, RFC3339nano formats for writing via http
2015-01-29 19:29:40 -07:00
Philip O'Toole 5a770d6a05 Merge pull request #1443 from pcn/fix-seige-urlgen-test
Fix tests/seige/urlgen for non-macs
2015-01-29 18:18:04 -08:00
Philip O'Toole c62b63f2ad Merge pull request #1452 from influxdb/fix_config
Remove obsolete configuration options
2015-01-29 18:16:52 -08:00
Philip O'Toole 86cf0888df Add unit test for 'cluster dir' configuration 2015-01-29 16:41:34 -08:00
Philip O'Toole 5a53de4d93 Remove obsolete configuration options 2015-01-29 16:36:27 -08:00
Cory LaNou c9e4eea836 inherit precision from top level object when writing points 2015-01-29 16:44:10 -07:00
Philip O'Toole 81608cd375 Correct comment re logs 2015-01-29 15:42:32 -08:00
Philip O'Toole f7add4c94c Explain how to send all logs to stderr 2015-01-29 15:41:57 -08:00
Philip O'Toole de198f981d Merge pull request #1451 from influxdb/fix_basic_config
Minimum change to config so it works
2015-01-29 15:37:19 -08:00
Cory LaNou b6ceca4c1c godoc comments and misc formatting 2015-01-29 16:33:31 -07:00