Commit Graph

2383 Commits (cdff90865559c42a41b16dc8b46194f10e8a1bf2)

Author SHA1 Message Date
John Shahid cdff908655 Remove an unused test 2014-09-24 18:06:03 -04:00
John Shahid 2f3915c1da bump the timeout to 20m :( 2014-09-24 18:06:03 -04:00
John Shahid e131fbc777 Parse big int in query's where clause properly
Fix #964
2014-09-24 18:06:03 -04:00
David Norton bef32a0f85 Fix median crash on null values or non integer values
Fix #939
2014-09-24 18:06:03 -04:00
David Norton e796eea997 Add a test for #939 2014-09-24 18:06:03 -04:00
David Norton a649f6b623 Refactor the integration tests
Conflicts:
	integration/data_test.go
2014-09-24 18:06:03 -04:00
David Norton 26a71ad9a6 Refactor data_test.go to use Test* function names
Refactor integration/data_test.go to use Test* names for the tests
and remove the TestAll test case, which uses reflection to iterate
over all test functions.  Also, change the two SingleServerSuite
test functions in this file to DataTestSuite functions.

The DataTestSuite now conforms to standard Go / gocheck test
conventions.  Individual tests can be run.  Groups of tests can be
run by specifying patterns.  E.g.,

make integraton_test only=DataTestSuite

...will run all tests in data_test.go.  Or,

make integration_test only=DataTestSuite.Test.*Histogram

...will run all histogram related tests.

See the gocheck documentation for further details.

Conflicts:
	integration/data_test.go
2014-09-24 18:06:03 -04:00
John Shahid 1ff8ba4ccd Don't automatically create shards
This was causing InfluxDB to create a new shard in the grafana db every
ten minutes. Also we talked about getting rid of this feature a while
ago, so here we go.

Fix #954

Conflicts:
	cluster/cluster_configuration.go
2014-09-24 18:06:03 -04:00
John Shahid 020dd3cb27 Return an error if the storage engine can't be created 2014-09-24 18:06:03 -04:00
David Norton ccde51541c Fix sed getting confused by / in TMPDIR path
Fix #946. Close #948
2014-09-24 18:06:03 -04:00
John Shahid b652c1d377 Fix the test as a result of 25cc979
Conflicts:
	integration/multiple_servers_test.go
2014-09-24 18:05:50 -04:00
John Shahid 490c51e986 move the linker flags to profiler.go 2014-09-24 17:49:43 -04:00
John Shahid facf887591 Fix a bug introduced in 25cc9793c2 2014-09-24 17:49:43 -04:00
John Shahid 9d21359c44 Use double quotes in GetQueryString()
Fix #923
2014-09-24 17:49:43 -04:00
John Shahid 169ec22543 Fix the millisecond time precision in the client 2014-09-24 17:49:43 -04:00
David Norton 2482f69d31 Fix #780 so that fill works with all aggregates
Conflicts:
	engine/aggregator.go
	integration/data_test.go
2014-09-24 17:49:43 -04:00
Philip O'Toole 4556bcb714 Prevent invalid database names
Close #843
2014-09-24 17:49:43 -04:00
John Shahid e816973bf6 Don't panic on invalid boolean operators
Close #714
2014-09-24 17:40:29 -04:00
Paul Dix 7f8c4778f6 Move cluster config from raft to API.
Fixes #853. Close #854. Previously, there was an unprotected endpoint in
raft to return the cluster config that would include user hashes. This
endpoint is useful for debugging purposes so I restructured it and moved
it to the API. It ensures the requesting user is a cluster admin.

Cluster config will now return all of the cluster state including
servers, CQs, shards, etc.

Conflicts:
	integration/single_server_test.go
2014-09-24 17:40:29 -04:00
John Shahid b7a145e717 Fix case insensitive regex matching
Close #794

Conflicts:
	integration/data_test.go
2014-09-24 17:40:29 -04:00
John Shahid 42bef2508c Return an error if an invalid column is used to filter after a join
Fix #652
2014-09-24 17:40:29 -04:00
John Shahid 9b9ac93652 Fix parsing of multiple queries
Fix #885
2014-09-24 17:25:19 -04:00
Paul Dix a62e8c8b4c Add ability to update existing shard spaces.
This will help users recover from #886. It's dangerous functionality because it only changes the metadata. Will document and tell people to use with caution.
2014-09-05 16:24:00 -04:00
Paul Dix 64eedb7db0 Update shard space to not set defaults
Fixes #886. Shard spaces would not have compiled regexes when the server is restarted and the cluster config is pulled from a raft snapshot. A call to MatchSeries would then reset the regex for the shard space. BAAAAAD.
2014-09-05 14:54:56 -04:00
John Shahid 5a1879f49f Fix the packaging to work on our release box 2014-09-05 13:43:46 -04:00
John Shahid 0229ba2e10 Update the changelog 2014-09-03 13:22:56 -04:00
John Shahid e8f6bb9e0e Format 2014-09-03 13:22:53 -04:00
John Shahid a75a5b79d3 Merge pull request #897 from influxdb/868-panic-on-upgade
Fixes #868, panic on upgrades.
2014-09-03 13:15:44 -04:00
Paul Dix d9a14861e4 Fixes #868, panic on upgrades.
This was a problem with 0.7.x upgrades to 0.8 where there was a raft snapshot. The recovery method assumed certain structures would be there and they weren't.
2014-09-03 10:40:51 -04:00
Paul Dix fd0457c1ff Add invalid config file that should have been in #861. Whoops, sorry @jvshaid. 2014-09-02 13:49:37 -04:00
John Shahid 87b4554149 Merge pull request #887 from influxdb/fix-887
If the first continuous query to ever run on InfluxDB had backfill(false) InfluxDB will still backfill the data
2014-09-02 13:41:01 -04:00
John Shahid 127249229d Don't accidentally trigger continuous query backfilling 2014-09-02 13:27:09 -04:00
John Shahid cb485acfba Merge pull request #795 from DavidBord/fix-674-graceful-exit
Fix #674: graceful exit when having config file issues
2014-08-29 14:30:49 -04:00
John Shahid e662262722 Merge pull request #856 from rubenk/fix-typo
Fix a few typos
2014-08-29 13:20:25 -04:00
John Shahid 1df438a732 Merge pull request #857 from oliveagle/more_informative_api_get_servers
GetLeaderRaftConnectString returns consistent result
2014-08-29 13:19:08 -04:00
John Shahid 69df51ab97 Format @pauldix code 2014-08-27 11:31:03 -04:00
John Shahid 262d116c05 Fix the changelog 2014-08-25 15:34:56 -04:00
Paul Dix b1e6184ea1 validate that shard spaces have a non-empty regex 2014-08-22 15:01:03 -04:00
John Shahid c1b9a85305 Merge pull request #866 from influxdb/779-threadsafe-shard-deletion
Don't ever try to query or write against a shard that is closed or delet...
2014-08-22 13:47:35 -04:00
Paul Dix 2f843af40f Update CHANGELOG.md 2014-08-22 13:45:53 -04:00
Paul Dix 78509d918a Don't ever try to query or write against a shard that is closed or deleted.
Uses a RWlock so there's no global lock on writes or queries.
2014-08-22 13:41:34 -04:00
Todd Persen fb9d03e28d Merge pull request #863 from influxdb/862-slow-data-migrator
Add optional pausing to data migration.
2014-08-21 17:27:53 -04:00
Todd Persen 73de8f18a6 Merge pull request #861 from influxdb/860-validte-shards
Update database configuration to validate shard spaces before making db
2014-08-21 17:27:41 -04:00
Paul Dix 439e4c9914 Add optional pausing to data migration. 2014-08-21 17:15:55 -04:00
Paul Dix 72274002fc Update database configuration to validate shard spaces before creating anything.
Fixes #860. Update the validate method on shard spaces to optionally check if the database exists.
2014-08-21 16:59:27 -04:00
oliveagle 9117ae789b GetLeaderRaftConnectString returns consistent result 2014-08-22 01:30:48 +08:00
Ruben Kerkhof 471e6a2c80 Fix a few typos 2014-08-21 16:22:14 +02:00
John Shahid e27044b4c4 Merge pull request #849 from runner-mei/gs2
ensure close file before rename bookmark file.
2014-08-20 10:52:12 -04:00
Todd Persen f50b2e31cd Add admin assets fix to CHANGELOG. 2014-08-19 14:52:46 -04:00
John Shahid 9d69c8f352 Merge pull request #850 from oliveagle/more_informative_api_get_servers
makes listServers api more informative
2014-08-19 10:37:41 -04:00