Commit Graph

185 Commits (05d630bfb8041362c89249e3e6fabe6261cecc66)

Author SHA1 Message Date
Philip O'Toole a8879c02b8 Even more fixes to integration tests 2015-02-25 16:35:06 -08:00
Philip O'Toole 00a9b515a6 Simple fixes to integration tests 2015-02-25 16:21:06 -08:00
Philip O'Toole a54bd4e20b Don't modify URL passed into test code 2015-02-25 16:01:06 -08:00
Philip O'Toole bb326a6815 Don't copy the cluster nodes during testing
Use pointers, so the code is using exactly the same cluster nodes during
testing.
2015-02-25 15:57:58 -08:00
Philip O'Toole 4f232af69f 5-node tests are racy, disabling pending debug 2015-02-24 19:23:44 -08:00
Joseph Rothrock c96fda2287 Add a flag to config that disables CQs 2015-02-24 17:18:35 -08:00
Joseph Rothrock 0dfec9268d Add flag to config that disables running CQs 2015-02-24 17:01:38 -08:00
Joseph Rothrock 2835c71ce3 Add flag to config that disables running CQs 2015-02-24 17:01:38 -08:00
Philip O'Toole a00c3d1a60 Print running version and commit in log 2015-02-24 09:47:07 -08:00
Philip O'Toole 2f0fe901e3 Rename "Values" to "Fields" for writes 2015-02-23 15:06:56 -08:00
Todd Persen 2cc23d3c66 Merge pull request #1529 from influxdb/stats-reporting
Bring back stats reporting.
2015-02-23 12:57:49 -08:00
Todd Persen f8400a8c97 Merge pull request #1699 from influxdb/profiling
Add profiling to influxd
2015-02-23 12:53:34 -08:00
Ben Johnson d6358b1764 Add profiling to influxd.
This commit adds -cpuprofile and -memprofile to influxd.
2015-02-23 13:27:51 -07:00
Cory LaNou 1a7f0681b0 Merge pull request #1693 from influxdb/speed-up-integration-testing
Make integration tests faster
2015-02-23 13:07:57 -07:00
Todd Persen e45611cde3 Pull in cluster ID for reporting. 2015-02-23 10:42:39 -08:00
Todd Persen ff1c61c5c1 Only report if ReportingDisabled is set to false. 2015-02-23 10:42:39 -08:00
Todd Persen c366fcbbf6 Update stats reporting to just POST for now. 2015-02-23 10:42:38 -08:00
Cory LaNou 7d931ad585 make integration tests faster 2015-02-23 11:01:21 -07:00
Philip O'Toole 3e727ac01e Change "Rows" to "Series" in API output 2015-02-22 21:21:49 -08:00
Philip O'Toole 491a6e1a4a Fix single-node test names 2015-02-21 15:16:15 -08:00
Philip O'Toole 22f3b246cd Multi-batch write testing on a single-node 2015-02-21 15:15:54 -08:00
Philip O'Toole 66fc561a10 Wait only 1 second after writes
Fix

6e93a52bf2

means data is read correctly by data nodes
2015-02-21 15:04:37 -08:00
Philip O'Toole 4e95b35295 Add batch test of 3-node and 5-node clusters
The wait time after the write had to be increased x3.
2015-02-21 15:01:32 -08:00
David Norton 12bed3e74f issue #1430: add where regex to influxql 2015-02-21 15:37:52 -05:00
Philip O'Toole e9acab4139 Add single-node batch test, for a large batch 2015-02-21 11:58:36 -08:00
Philip O'Toole e11cbb5629 Add simple batching integration test
Uses new code to quickly generate batches for test.
2015-02-21 11:36:05 -08:00
Philip O'Toole e404f0bf66 Cosmetic fixes to integration test JSON 2015-02-20 15:14:20 -08:00
Paul Dix 36d16a3172 Update broker to have URLs for replicas
* Update the infludb broker to not need a server so that it'll work on non-data node servers
* Update messaging broker to keep track of connect urls for replicas
2015-02-17 21:02:53 -05:00
Paul Dix 3809514cd2 Fixed issue on running servers that are data nodes only 2015-02-17 21:02:53 -05:00
Paul Dix 9f5bf814d8 Remove old config settings 2015-02-17 21:02:53 -05:00
Paul Dix 8fee14fbf8 Fixes based on PR feedback.
* Pull out magic numbers for running CQs in the broker
* Typo fixes in comments
* Update the process_continuous_queries endpoint to not have gzip
* Remove previous implementation of MeasurementNames in favor of new simpler one
2015-02-17 21:02:53 -05:00
Paul Dix fec6764b09 WIP: wire up continuous queries
* Fix run to work with CQ broker
* Fix CQ handler
* Fix SetTimeRange to use RFC3339Nano
* Fix the time range tests
* Fix the parser to parse for RFC3339Nano literals in addition to the other format
* Add logic for running CQs
* Remove duplicate WriteBufferSize default setting from config
2015-02-17 21:02:18 -05:00
Paul Dix f2d132b361 Implement continuous queries with group by intervals
* Update defaults on Broker for when to trigger CQ runs
* Add config settings for how often to calculate and recalculate CQ results
* Update Server to have CQ settings
* Update AST to fold removed time literals when setting time range
* Add periodic CQ running functionality to server
2015-02-17 21:00:24 -05:00
Paul Dix 4217778a08 Add periodic triggering of continuous queries to broker.
* Create influxdb specific broker that will periodically start continuous query calculation. Will send to the same data node as long as it's up and responding
* Add endpoint in handler to start processing of continuous queries on a data node
2015-02-17 21:00:24 -05:00
Paul Dix 5f14d5faf5 WIP: start implementation of continuous queries
* Update SelectStatement to have GroupByInterval
* Update parser to verify that CQs have GroupByInterval if Aggregated
* Implement CreateContinousQuery on Server
* Add ContinuousQueries to database
2015-02-17 21:00:24 -05:00
Todd Persen 93201bd68c Make admin interface enabled by default. 2015-02-11 16:33:21 -08:00
Todd Persen 26279cb8df Tweak configurability of the admin server. 2015-02-11 16:12:13 -08:00
Todd Persen 4fd6e3707f Some name cleanup and making the admin test not crappy. 2015-02-11 15:48:04 -08:00
Philip O'Toole 3b64f34d28 Remove obsolete data config options 2015-02-11 10:26:39 -08:00
Philip O'Toole 8cb06c5b8e Refactor retention policy enforcement for testing 2015-02-11 09:54:07 -08:00
Philip O'Toole 50ef1672cb Add stubbed enable of retention policy enforcement 2015-02-11 09:54:07 -08:00
Philip O'Toole 61e1fa0efb Add config control for retention policies 2015-02-11 09:54:07 -08:00
Philip O'Toole c5f17dae89 go fmt changes 2015-02-11 08:25:17 -08:00
Todd Persen 286c9a9635 Fix admin configuration. 2015-02-10 23:42:17 -08:00
Todd Persen 4cdda0ba31 Initialize the admin interface on startup. 2015-02-10 23:04:19 -08:00
Philip O'Toole 0c14a5e5de Group util functions together 2015-02-09 20:00:45 -08:00
Philip O'Toole bfc9ea66be Perform query against full slice of nodes
This will allow the integration tests to query against any portion of
the cluster, to ensure data has been correctly replicated.
2015-02-09 19:56:54 -08:00
Philip O'Toole 87bd21d204 Allow integration tests to specify query 2015-02-09 19:46:01 -08:00
Philip O'Toole cdeab14201 Pretty up test JSON for cluster testing 2015-02-09 19:42:56 -08:00
Philip O'Toole 8bbdfd237a Break out write and query 2015-02-09 19:38:06 -08:00