Commit Graph

4930 Commits (af682069b885a41d1628df4031a3eac09e7b2243)

Author SHA1 Message Date
Philip O'Toole f554a1a9ee Merge pull request #2064 from influxdb/service_script_master
Allow init.d script to get influxd version
2015-03-23 23:45:07 -07:00
Philip O'Toole 1f3b7c66a0 Allow init.d script to get influxd version 2015-03-23 23:42:58 -07:00
Philip O'Toole a8f0dbcf1d Load shards on restart
Fix for #2012
2015-03-23 18:34:46 -07:00
Philip O'Toole 0a76c2bdfc Clear server maps on close
These maps are reloaded from the metastore on open.
2015-03-23 18:27:36 -07:00
Philip O'Toole 32d982b471 Merge pull request #2046 from ctrlrsf/lint-client
Cleanup golint warnings for client code
2015-03-23 17:38:57 -07:00
Philip O'Toole db28814e32 Merge pull request #2059 from influxdb/sort_rps
Support sorting of retention policies
2015-03-23 17:36:20 -07:00
Philip O'Toole 51e98b85ef Support sorting of retention policies
Sort them by name.
2015-03-23 17:27:15 -07:00
Philip O'Toole 6452564a25 Merge pull request #2058 from influxdb/more_diags
More stats and diags
2015-03-23 16:52:05 -07:00
Philip O'Toole e2f833d20c Update CHANGELOG 2015-03-23 16:49:15 -07:00
Philip O'Toole c239914249 Track number of queries received and executed 2015-03-23 16:48:25 -07:00
Philip O'Toole ab4e7b3047 Tighten up tag and ID choice for internal stats 2015-03-23 16:48:22 -07:00
Paul Dix 6e0051dd8a mend 2015-03-23 18:30:20 -04:00
Ben Johnson 29cb550d95 Code review fixes. 2015-03-23 16:06:29 -06:00
Philip O'Toole dedad5e2e4 Don't split database-create doc command into 2 lines 2015-03-23 14:33:54 -07:00
Philip O'Toole 14f768d10c Ignore the 'influx' shell binary 2015-03-23 14:29:41 -07:00
Philip O'Toole fc7ad8e64b Merge pull request #2057 from influxdb/fix_more_racy_tests
Move TestServer_RawDataReturnsInOrder to int tests
2015-03-23 12:19:49 -07:00
Philip O'Toole 5a1dc1e93c Update CHANGELOG 2015-03-23 12:17:34 -07:00
Philip O'Toole 14585db38b Move TestServer_RawDataReturnsInOrder to int tests
Fix #2052
2015-03-23 12:14:15 -07:00
Ben Johnson 3befa12fa3 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
Conflicts:
	cmd/influxd/main.go
	cmd/influxd/run.go
2015-03-22 15:38:41 -06:00
Ben Johnson 11c808f55f Add restore and bootstrap.
This commit adds the "influxd restore" command to the CLI. This allows
a snapshot that has been produced by "influxd backup" to be restored
to a config location and the broker and raft directories will be
bootstrapped based on the state of the snapshot.
2015-03-22 15:31:49 -06:00
Ben Johnson 963d277a75 Add "influxd backup" command.
This commit adds the backup command to the influxd binary as well as
implements a SnapshotWriter in the influxdb package.

By default the snapshot handler binds to 127.0.0.1 so it cannot be
accessed outside of the local machine.
2015-03-22 10:54:14 -06:00
Paul Dix 6bba6043d7 Fix CQ example on InfluxQL spec 2015-03-22 11:40:33 -04:00
Rene Fragoso afc6c8be24 Cleanup golint warnings for client code
Fixes the following two warnings:

influxdb.go:149:1: exported method Client.Dump should have comment or be
unexported
- Adds comment for Client.Dump

influxdb.go:263:1: receiver name rs should be consistent with previous
receiver name r for Results
- Changes receiver name from "a" to "r"
2015-03-22 01:33:04 -04:00
Philip O'Toole 2e5a4ab270 Merge pull request #2042 from influxdb/more_int_tests
TestServer_LimitAndOffset to integration test
2015-03-20 20:55:54 -07:00
Philip O'Toole 2a4032a9a5 TestServer_LimitAndOffset to integration test 2015-03-20 20:54:40 -07:00
Philip O'Toole 57a1f5e500 Remove debug fmt.Println from tests 2015-03-20 16:36:49 -07:00
Philip O'Toole 1cc1902fb7 Merge pull request #2041 from influxdb/merge_many_series
Move "merge many" test to integration test
2015-03-20 16:35:28 -07:00
Philip O'Toole 8b48ff9a28 Move MergeMany to integration test 2015-03-20 16:32:34 -07:00
Philip O'Toole 98e9bfed93 Merge pull request #2040 from influxdb/config_gen_help
Add help for 'config' command
2015-03-20 16:26:43 -07:00
Philip O'Toole 566b2b62af Support writing test data via a function 2015-03-20 16:11:00 -07:00
Philip O'Toole a09acb91e2 Update CHANGELOG 2015-03-20 15:58:58 -07:00
Philip O'Toole 1cb60bdb62 Add help for 'config' command 2015-03-20 15:58:17 -07:00
Cory LaNou 5acea9228e Merge pull request #2034 from influxdb/groupby-requires-aggregate
Group by should require an aggregate
2015-03-20 16:57:48 -06:00
Cory LaNou dd6bb91463 fix test 2015-03-20 16:52:32 -06:00
Cory LaNou e2f33e354f clarify error message 2015-03-20 16:52:32 -06:00
Cory LaNou 949e64c386 update changelog 2015-03-20 16:52:32 -06:00
Cory LaNou 3c8e830aa3 fixing tests 2015-03-20 16:51:41 -06:00
Cory LaNou dc0d8a35dc wip 2015-03-20 16:51:41 -06:00
Philip O'Toole 483e138a6a More grammatical fixes 2015-03-20 15:45:01 -07:00
Philip O'Toole 259f0aacad Merge pull request #2039 from influxdb/panic_home_dir
Don't panic if getting current use fails
2015-03-20 15:39:38 -07:00
Philip O'Toole 60e091b110 Fix typo in CONTRIBUTING.md 2015-03-20 15:38:57 -07:00
Philip O'Toole 4e806fdc28 Add note about third party packages 2015-03-20 15:38:09 -07:00
Philip O'Toole d6cb1a70d4 Update CHANGELOG 2015-03-20 15:23:28 -07:00
Philip O'Toole ee29214898 Make it clear where influxd storage is 2015-03-20 15:19:30 -07:00
Philip O'Toole 45ac8ff2d9 Explicitly check for errors getting current user 2015-03-20 15:18:29 -07:00
Philip O'Toole 13a16fd506 Update CHANGELOG.md 2015-03-20 14:23:23 -07:00
Philip O'Toole b2f0956405 Merge pull request #2037 from influxdb/fix_startup_config
Don't check 'configExists' at Run() level
2015-03-20 14:22:38 -07:00
Philip O'Toole f6f74a11bd Don't check 'configExists' at Run() level
*config was always non-null, since code at a higher level ensures that a
default config is passed down if no config is specified. So this logic
was pointless.
2015-03-20 14:10:50 -07:00
Andrew Watkins 57f0dcbc5d Update stats.go 2015-03-20 08:15:42 -07:00
Andrew Watkins 393a11b4c9 Update stats.go 2015-03-20 08:14:22 -07:00