Commit Graph

2556 Commits (e27d3bbb210f189b8b04b59ba51b103c0d2d1147)

Author SHA1 Message Date
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
John Shahid de68a3877b Parse big int in query's where clause properly
Fix #964
2014-09-23 11:46:14 -04:00
John Shahid 059d308c72 move type to its own file 2014-09-23 11:34:42 -04:00
David Norton 3669e5f2d3 Fix median crash on null values or non integer values
Fix #939
2014-09-22 16:50:58 -04:00
David Norton 3497cffd21 Add a test for #939 2014-09-22 16:50:58 -04:00
David Norton a7fbbe08e8 Refactor the integration tests 2014-09-22 16:50:58 -04:00
John Shahid eef53f7228 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
2014-09-22 14:49:59 -04:00
John Shahid 0a1b0c4788 make the directory removal optional 2014-09-22 13:15:33 -04:00
John Shahid 78f8c3924c Return an error if the storage engine can't be created 2014-09-22 10:43:23 -04:00
John Shahid 20deef8b37 print a newline when done 2014-09-19 13:51:53 -04:00
John Shahid 4e78bce7ac print some indication 2014-09-19 13:46:48 -04:00
John Shahid 9428de99a5 Fix synchronization 2014-09-19 13:45:48 -04:00
John Shahid cbaab6e86d Add number of threads option to benchmark-storage 2014-09-19 13:39:25 -04:00
David Norton c3504ce934 Fix sed getting confused by / in TMPDIR path
Fix #946. Close #948
2014-09-19 11:36:26 -04:00
John Shahid 6df047f855 Fix the test as a result of 25cc979 2014-09-18 14:44:09 -04:00
John Shahid 76eac23343 helper for the oracle 2014-09-18 11:48:52 -04:00
John Shahid 3e30ba16cb move the linker flags to profiler.go 2014-09-17 18:46:47 -04:00
John Shahid 1baa0b7962 Fix a bug introduced in 25cc9793c2 2014-09-17 16:35:21 -04:00
John Shahid 4b92d96cb4 Merge remote-tracking branch 'refs/remotes/origin/pr/920'
Conflicts:
	integration/data_test.go
2014-09-12 13:14:33 -04:00
John Shahid 25cc9793c2 Use double quotes in GetQueryString()
Fix #923
2014-09-12 11:09:51 -04:00
David Norton e310d10b5f 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.
2014-09-12 00:13:41 -04:00
David Norton 08fb0c5997 Fix #780 so that fill works with all aggregates 2014-09-12 00:12:40 -04:00
John Shahid 4cc36fb7f6 Fix the millisecond time precision in the client 2014-09-11 18:16:22 -04:00
Paul Dix ba7cf48dde Update CHANGELOG.md 2014-09-11 12:45:18 -04:00
John Shahid 886885cfd7 wait for the continuous queries to run 2014-09-11 11:45:00 -04:00
John Shahid 5004cbbd57 split on the name of the series 2014-09-11 11:28:18 -04:00
Paul Dix f0c0abdb10 Add option to include space to series mappings in list series query.
Fixes #867. Close #927. Updated lexer and parser to work, added code to
coordinator to insert spaces if requested. Now the user can request the
shard spaces. `list series include spaces`
2014-09-11 11:28:18 -04:00
John Shahid e19faf7418 Merge pull request #928 from Dieterbe/fix-list-series-integration-prefix
actually use prefix in CreateSeries integration helper
2014-09-11 11:07:44 -04:00
Dieter Plaetinck 6bba3ab988 actually use prefix in CreateSeries integration helper 2014-09-10 18:39:16 -04:00
John Shahid 963aee3185 Merge pull request #926 from influxdb/storage-key-refactor
cleanup the storage keys and point iteration in the shard's code
2014-09-10 15:16:37 -04:00
John Shahid e8d83e5ae3 Let time.Unix() do the work for us 2014-09-10 15:15:56 -04:00
John Shahid 5669346054 cleanup the storage keys and point iteration in the shard's code 2014-09-10 14:08:07 -04:00
John Shahid 7f8589bf82 Merge pull request #922 from influxdb/data-test-loop
Refactor TestAll test loop in data_test.go
2014-09-10 13:14:05 -04:00
David Norton 3556fb6b51 Refactor TestAll test loop in data_test.go
Combine the three separate loops for DB creation, running setup
functions, and running tests into one loop.  Add a DB delete at the
end of each test for cleanup.

This groups output for each test together in one place.  It also has
the advantage of not running all DB creations and setup functions until
they're needed.
2014-09-10 06:24:11 -04:00
John Shahid fddcdaa650 Merge pull request #919 from leo-baltus/fedoradocs
Fedora20 and Centos7 provide libstdc++.a in a separate package
2014-09-09 10:15:50 -04:00
Leo Baltus 39411b518f Fedora20 and Centos7 provide libstdc++.a in a separate package 2014-09-09 10:43:02 +02:00
John Shahid 655a092b5a Format the code 2014-09-08 15:50:29 -04:00
Nathaniel Cook c8c40097c6 Making histogram alignment easier to control
Fix #669
2014-09-08 15:37:20 -04:00
John Shahid f2e57008e2 add a missing import 2014-09-08 15:09:05 -04:00
Philip O'Toole 78592ac634 Prevent invalid database names
Close #843
2014-09-08 15:08:59 -04:00
John Shahid b9571f4ff3 Fix a merge conflict introduced earlier 2014-09-08 14:40:50 -04:00
John Shahid 39583a0f67 Fix minus operator without surrounding spaces
Close #768

This patch isn't backward compatible since older version allowed the use
of table names with '-' without enclosing them. With this change, '-'
characters are disallowed completely unless they were enclosed in double
quotes. The parser can be made more complicated and be more context
aware to distinguish the use of the '-' character depending on the query
being parser, but I think the approach in this patch is simpler and less
confusing from the user's point of view.
2014-09-08 14:37:34 -04:00
John Shahid 71ccbdc99c Don't panic on invalid boolean operators
Close #714
2014-09-08 14:35:31 -04:00
Paul Dix 39091fc8fd 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.
2014-09-08 14:31:56 -04:00