Commit Graph

4652 Commits (7076b9ea9a4459f8691364920b13001db9bd0b56)

Author SHA1 Message Date
Paul Dix 7076b9ea9a Merge pull request #2067 from influxdb/relative-times-off-2045
Fixing intervals for group by.
2015-03-24 22:17:12 -04:00
Paul Dix 5e47ed1cb8 Merge pull request #2053 from influxdb/backup-restore
Backup & Restore
2015-03-24 22:16:59 -04:00
Cory LaNou 84a9b8a3fa the naming of the function is wrong, need future refactor, this logic is valid 2015-03-24 20:14:05 -06:00
Cory LaNou c21ca156e9 this logic should never happen 2015-03-24 20:14:05 -06:00
Cory LaNou 805cba71a4 clarify test name 2015-03-24 20:14:05 -06:00
Cory LaNou 09097c7d68 remove warning 2015-03-24 20:14:05 -06:00
Cory LaNou d2529a24e7 make comment clearer 2015-03-24 20:14:05 -06:00
Cory LaNou f5659183a5 update changelog 2015-03-24 20:13:35 -06:00
Cory Lanou 7be574534c Fixing intervals for group by. Fixing bad PR 2015-03-24 20:13:05 -06:00
Todd Persen b164b6378d Merge pull request #2068 from influxdb/fix-drop-series-typo
Change `datbase` => `database`
2015-03-24 16:18:43 -07:00
Todd Persen ceb65f7aa7 Update CHANGELOG.md for #2068 2015-03-24 15:58:48 -07:00
Todd Persen 76b8c39e50 Change `datbase` => `database` 2015-03-24 15:58:30 -07:00
Ben Johnson 21782c0a67 Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore 2015-03-24 16:05:49 -06:00
Ben Johnson 4bc92c3018 Code review fixes. 2015-03-24 16:04:39 -06:00
Ben Johnson 2401e69f58 Add incremental backups.
This commit adds incremental backup support. Snapshotting from the server
now creates a full backup if one does not exist and creates numbered
incremental backups after that.

For example, if you ran:

  $ influxd backup /tmp/snapshot

Then you'll see a full snapshot in /tmp/snapshot. If you run the same
command again then an incremental snapshot will be created at
/tmp/snapshot.0. Running it again will create /tmp/snapshot.1.
2015-03-24 15:57:03 -06:00
Philip O'Toole bfad9a194d Merge pull request #2061 from influxdb/show_diags_command
SHOW DIAGNOSTICS command
2015-03-24 12:25:56 -07:00
Philip O'Toole 9f723d6a24 Merge pull request #2060 from influxdb/reload_sharp_map
Reload shard map on restart
2015-03-24 12:25:08 -07:00
Philip O'Toole 895b781e72 Creates "values" correctly for various diags 2015-03-24 09:27:54 -07:00
Philip O'Toole b9e0821422 Correct minor typos in CHANGELOG 2015-03-23 23:48:05 -07:00
Philip O'Toole f6644d4de8 Add "shard groups" and "shards" to diags 2015-03-23 23:46:20 -07:00
Philip O'Toole b7162b01f0 Update CHANGELOG 2015-03-23 23:46:20 -07:00
Philip O'Toole e79d063f4f Count number of open shards 2015-03-23 23:45:57 -07:00
Philip O'Toole 1c440f8542 Implement "SHOW DIAGNOSTICS" 2015-03-23 23:45:57 -07:00
Philip O'Toole fba41df82b Push version and commit hash onto Server 2015-03-23 23:45:57 -07:00
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
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
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