Commit Graph

4611 Commits (29cb550d95de31f0405f26b3ea257051423ad5b0)

Author SHA1 Message Date
Ben Johnson 29cb550d95 Code review fixes. 2015-03-23 16:06:29 -06: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
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
Ben Johnson 0461f401f6 Add SnapshotWriter. 2015-03-19 22:23:52 -06:00
Philip O'Toole 8e4309b753 Merge pull request #2023 from influxdb/id__id
Use _id for Series IDs
2015-03-19 19:05:52 -07:00
Philip O'Toole 05fb2842ba Use _id for Series IDs
Fix issue #2008
2015-03-19 19:04:07 -07:00
Philip O'Toole 4ece102f7c RC15 has been released 2015-03-19 17:14:24 -07:00
Philip O'Toole c1a37d1ca6 Update CHANGELOG for PR 2021 2015-03-19 16:46:35 -07:00
Philip O'Toole 62dc60d36d Merge pull request #2004 from influxdb/limit-group-by
Limit group by to MaxGroupByPoints (currently 100,000)
2015-03-19 16:45:24 -07:00
Philip O'Toole 8f801cab8d Merge pull request #2021 from simonkern/master
removed unnecessary fmt.Sprintf
2015-03-19 16:41:00 -07:00
Philip O'Toole fe44f63495 Fix parser unit test, statement is raw 2015-03-19 16:36:24 -07:00
Philip O'Toole dc297e8012 Correctly use IsRawQuery 2015-03-19 16:32:25 -07:00
Philip O'Toole 59f25910c6 IsRawQuery should be set via Walk() 2015-03-19 16:26:16 -07:00
Philip O'Toole b045a0008e Remove redundant Aggregated() on select statement 2015-03-19 15:22:43 -07:00
Philip O'Toole 3001448f16 Merge branch 'master' into limit-group-by
Conflicts:
	CHANGELOG.md
2015-03-19 15:17:50 -07:00
Philip O'Toole 16efacd55d Update CHANGELOG for PR 2016 2015-03-19 15:15:09 -07:00
Philip O'Toole b148f3da7a Merge pull request #2016 from jnutzmann/align-group-by-buckets
Fixing bucket alignment for group by
2015-03-19 15:13:40 -07:00
Philip O'Toole cbd43bd9b2 IsRaw now works without time present 2015-03-19 15:12:46 -07:00
Todd Persen e2391d9b34 Merge pull request #1909 from influxdb/export
Add a `dump` command for exporting data.
2015-03-19 15:07:23 -07:00
Simon Kern 787d521ca5 removed unnecessary fmt.Sprintf 2015-03-19 22:17:15 +01:00
Paul Dix 6d85d81a0b Make select statement clone copy IsRawQuery 2015-03-19 17:07:56 -04:00
Cory LaNou da171cfe32 make vet happy 2015-03-19 15:05:23 -06:00