Commit Graph

3446 Commits (0b70307ca080b9587a380210456537ee62e84299)

Author SHA1 Message Date
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
Philip O'Toole f68b56a579 Minimum change to config so it works 2015-01-29 15:32:15 -08:00
Cory LaNou b6725501f4 Rounding precision on writing 2015-01-29 16:23:15 -07:00
Cory LaNou 88759a7ecc time should marshal into UTC and nanoseconds 2015-01-29 16:23:15 -07:00
Cory LaNou 4b84a2d174 Point/Results duplicated in Client package. Custom marshaling for timestamps 2015-01-29 16:23:15 -07:00
Cory LaNou acbaf9aae4 stabalize tests for time 2015-01-29 16:23:15 -07:00
Cory LaNou 42630c38dc removing log output 2015-01-29 16:23:15 -07:00
Cory LaNou a724e3b86c BatchWrite supports unmarshalling epoch with precision, RFC3339, RFC3339Nano 2015-01-29 16:23:15 -07:00
Cory LaNou 37aad6fd20 client utility function EpochToTime 2015-01-29 16:23:15 -07:00
Cory LaNou 8643aa28aa wip starting support for http endpoint taking epoch time 2015-01-29 16:23:15 -07:00
Philip O'Toole 3680b8769e Merge pull request #1450 from influxdb/enable_file_logging
Enable file logging
2015-01-29 15:18:10 -08:00
Philip O'Toole 9943f86cf4 Enable module-level logging 2015-01-29 15:07:58 -08:00
Philip O'Toole ce0cc84ec1 Create, and use, standard path for log file 2015-01-29 14:29:21 -08:00
Philip O'Toole c05d4bf292 Open log file 2015-01-29 14:12:56 -08:00
Philip O'Toole 29d7decdf9 Remove ignored 'level' option from logging config 2015-01-29 14:12:56 -08:00
Philip O'Toole 573989c5cb Merge pull request #1447 from influxdb/increase_fd_limits
Set FD limits to 64K for influxd
2015-01-29 14:12:36 -08:00
Philip O'Toole 42d1f4056c Create 'run' directory tree for influxdb 2015-01-29 13:27:17 -08:00
Paul Dix 61a91002d9 Update QUERIES.md 2015-01-29 16:25:12 -05:00
Philip O'Toole 81fe1912a8 Use start-stop-daemon to launch, if available
This allows changing to the influxdb user if necessary.
2015-01-29 13:20:38 -08:00
Philip O'Toole 13763187a7 Merge pull request #1446 from influxdb/get_packages_for_packaging
'go get' packages before building
2015-01-29 12:26:43 -08:00
Philip O'Toole 030c5276a9 'go get' packages before building 2015-01-29 12:24:51 -08:00
Paul Dix ee2359e98f Merge pull request #1445 from influxdb/show-tag-values
Show tag values
2015-01-29 15:15:19 -05:00
David Norton f827bf324a issue #1412: wire up show tag values 2015-01-29 15:01:25 -05:00
David Norton 0cf681d19c influxql: remove TagKeyIdent, add WITH KEY clause 2015-01-29 15:01:25 -05:00
Peter C. Norton f5247cb8f3 Remove more ksh/bash-isms 2015-01-29 13:01:55 -05:00
Peter C. Norton 1b645b0d52 Fix tests/seige/urlgen for non-macs
Should address https://github.com/influxdb/influxdb/issues/1437
2015-01-29 12:08:49 -05:00
Ben Johnson 0e8d5f749d Merge pull request #1435 from influxdb/siege
Siege
2015-01-29 01:29:57 -05:00
Ben Johnson 1d587f9c1d Add siege script and url generation. 2015-01-29 01:10:10 -05:00
Ben Johnson 03134ec83e Add urlgen. 2015-01-29 00:47:19 -05:00