Nathaniel Cook
8b31007aa7
Adds subscriber service for creating/dropping subscriptions to the
...
InfluxDB data stream.
2015-10-14 15:23:45 -06:00
Philip O'Toole
f298e88b39
Auto-create UDP service database
...
All other services operate like this, so make UDP service consistent.
2015-10-14 08:30:09 -07:00
Daniel Morsing
6d188d9703
Merge pull request #4409 from influxdb/intoq
...
wire up INTO queries.
2015-10-14 15:29:54 +01:00
Daniel Morsing
48223a90f9
Fix spelling nit.
...
Make it obvious that INTO is a keyword and not part of the sentence
2015-10-14 15:16:27 +01:00
Sean Beckett
8e65f0c84f
Update server_test.go
2015-10-13 16:53:10 -07:00
Sean Beckett
9a9e04084f
Update config.go
2015-10-13 16:49:09 -07:00
Daniel Morsing
822af73f88
implement continuous queries as regular execs of into queries.
...
Now that we have into queries, we can implement them as regular
queries that are just run on a timer.
2015-10-13 15:51:19 +00:00
Daniel Morsing
62dff895e2
wire up INTO queries.
...
Since INTO queries need to have absolute information about the database
to work, we need to create a loopback interface back to the cluster
in order to perform them.
2015-10-13 15:00:36 +00:00
Cory LaNou
6787525912
fixes multiple selectors overwriting each other. fixes #4360
2015-10-12 21:40:57 -05:00
David Norton
512d6ac050
fix #4280 : only drop points matching WHERE clause
2015-10-09 18:34:32 -04:00
linearb
60d298936e
return error when database rename conflicts with continuous queries
2015-10-09 13:57:02 -04:00
linearb
668b5b9bfb
change syntax to ALTER DATABASE ... RENAME TO ...
2015-10-09 13:56:23 -04:00
linearb
d2afd881e6
add integration test for RENAME DATABASE
2015-10-09 13:55:38 -04:00
linearb
7212bfce83
add RENAME DATABASE
2015-10-09 13:55:38 -04:00
Philip O'Toole
5b0a8ed306
HH should not process dropped nodes
2015-10-08 18:23:12 -07:00
Nick Dawbarn
26f6d00668
Bugfix for #3429 String representations of RegexLiterals generated in influxql/ast.go add the / char as a start and end delimiter, but does not escape any / characters that may exist with the regex
2015-10-08 19:41:36 +10:00
David Norton
4375545064
fix #4276 : walk DropSeriesStatement
2015-10-05 19:56:30 -04:00
Philip O'Toole
d74e0690c7
Revert "Merge pull request #4233 from influxdb/drop-server"
...
This reverts commit 0bdb36f6dc
, reversing
changes made to 3085fbc138
.
2015-10-02 08:39:57 -07:00
Cory LaNou
99da67007d
no more shutdown
2015-10-01 15:39:15 -05:00
Cory LaNou
73372ed907
[Ee]xecuteShutdown -> [Mm]onitorShutdown
2015-10-01 15:39:15 -05:00
Cory LaNou
34bfb6b330
be sure to exit the go routine if we terminate normally
2015-10-01 15:39:15 -05:00
Cory LaNou
7a3e1f6b27
removing peer wip
2015-10-01 15:39:15 -05:00
Ben Johnson
343dd23ee7
refactor map functions to use list of values
...
This commit changes `tsdb.mapFunc` to use `tsdb.MapInput` instead
of an iterator. This will make it easier and faster to pass blocks
of values from the new storage engine into the engine.
2015-09-29 14:00:33 -06:00
Philip O'Toole
7cb8c2d2ec
Add build timestamp to version data
2015-09-24 23:40:53 -07:00
Cory LaNou
b1becfbcfc
more tests, simplify mapFunc signatures
2015-09-23 09:27:19 -05:00
Cory LaNou
78bc740434
full support for min/max/first/last
2015-09-23 09:03:57 -05:00
Ben Johnson
8e27cf1fd8
Merge remote-tracking branch 'upstream/master' into refactor-select-mapper
...
Conflicts:
tsdb/store.go
2015-09-22 13:58:24 -06:00
Ben Johnson
56cb2fae5d
fix integration tests
2015-09-22 13:10:13 -06:00
David Norton
8bd2408320
convert SHOW TAG KEYS to distributed query
2015-09-21 11:30:51 -04:00
Cory LaNou
72f6f7d268
Merge pull request #4134 from influxdb/issue-3447
...
Refactor Points and Rows to dedicated packages
2015-09-17 15:27:48 -05:00
Philip O'Toole
f73bc6ff19
Merge pull request #4140 from influxdb/engine_config
...
Make engine configurable
2015-09-16 21:17:43 -07:00
Philip O'Toole
7b1a4e6700
Control whether each query should be logged
...
Fixes issue #4138
2015-09-16 19:26:23 -07:00
Philip O'Toole
e4fde993f1
Make engine configurable
2015-09-16 19:09:25 -07:00
Cory LaNou
d19a510ad2
refactor Points and Rows to dedicated packages
2015-09-16 15:33:08 -05:00
Cory LaNou
bf955c7c11
Merge pull request #4112 from influxdb/issue-3457
...
Period in field name that matches measurement fails. Fixes #3457
2015-09-16 09:55:43 -05:00
Philip O'Toole
afe5cc67f4
Repeat the identical time aggregate test more;
2015-09-15 16:22:25 -07:00
Cory LaNou
f02d8eef4f
unskip test
2015-09-15 16:36:11 -05:00
Cory LaNou
5395ac7634
Period in field name that matches measurement fails. Fixes #3457
2015-09-15 16:26:39 -05:00
Philip O'Toole
69c9f28e2d
Fix compilation error in test code
2015-09-15 11:42:58 -07:00
Philip O'Toole
76e3552a95
Increase write-timeout to 30s during testing
...
This should hopefully reduce the rate of CI failures during testing.
2015-09-15 11:35:21 -07:00
Philip O'Toole
ed917aa7f8
Log each query before execution
...
If a query causes a server to panic, the query is nowhere in the logs,
which makes debug very difficult.
2015-09-10 10:52:51 -07:00
Cory LaNou
ef17dbb492
more tests
2015-09-10 11:32:30 -05:00
Cory LaNou
fa04b0ab20
add server integration tests
2015-09-09 15:46:21 -05:00
Philip O'Toole
0ea0a3a71b
Add build info to diagnostics
2015-09-09 12:43:51 -07:00
Philip O'Toole
402576bd93
Pass richer build information to Server
2015-09-09 12:36:32 -07:00
Philip O'Toole
ca07b86254
Prohibit dropping the default retention policy
...
This is to prevents users from putting their system into an awkward
state. It is a policy that all databases must have at least a default
retention policy.
Fixes issue #3699 .
2015-09-08 23:00:19 -07:00
Cory LaNou
62e9c24b25
fixes #3926
2015-09-08 14:15:48 -05:00
Jason Wilder
77d310337c
Clarify comment
2015-09-08 11:05:39 -06:00
Jason Wilder
dabb01691e
Close server is reverse order that it was started
...
The server was closing by stopping the most depended on services first
which causes various panics while higher level services are still processing
task when the server closes.
Fixes #3881
2015-09-08 11:04:00 -06:00
Philip O'Toole
bbc103305b
Support multiple Graphite inputs
...
Fixes issue #3636
2015-09-06 21:33:46 -07:00
Jason Wilder
b8da247b08
Open monitor server after metastore is ready
2015-09-05 09:06:51 -06:00
Philip O'Toole
267f8e6c11
Skipping race test
...
Issue #3997
2015-09-04 11:59:28 -07:00
Cory LaNou
3867fed0ff
one additional test for top
2015-09-04 13:30:42 -05:00
Cory LaNou
9703467171
refactor validateAggregates
2015-09-04 13:30:41 -05:00
Cory LaNou
347ffc70b4
wire up advanced top sorting/slicing
2015-09-04 13:30:41 -05:00
Cory LaNou
8c4595b345
top is coming together. filling out fields properly
2015-09-04 13:30:41 -05:00
Cory LaNou
ba79007960
wip
2015-09-04 13:30:41 -05:00
Cory LaNou
f3e557d943
more top test scenarios
2015-09-04 13:30:41 -05:00
Cory LaNou
5a66725054
refactoring/adding top integration testing
2015-09-04 13:30:40 -05:00
Cory LaNou
35b9215aa9
refactor processTopBottom - wip
2015-09-04 13:30:40 -05:00
Cory LaNou
046282249a
wip remapping top output
2015-09-04 13:30:40 -05:00
Cory LaNou
72fd115dc2
exposing tags on cursors, top/bottom are valid funcs now
2015-09-04 13:30:39 -05:00
dgnorton
a3def8d3a7
Merge pull request #3993 from influxdb/dgn-fix-cq-test
...
fix CQ test
2015-09-04 13:12:29 -04:00
David Norton
0d43fdb94c
fix CQ test
2015-09-04 12:35:41 -04:00
Jason Wilder
df70a1c8ce
Update tests to use Direction enum
2015-09-04 09:00:11 -06:00
Jason Wilder
b7c0d47008
Add aggregate order by desc test
2015-09-03 22:31:58 -06:00
Jason Wilder
266bdc1c2b
Support sort by time DESC in wal and bz1 engines
2015-09-03 22:28:36 -06:00
Cory LaNou
6592dcc699
EnableLogging -> LoggingEnabled
2015-09-03 16:56:07 -05:00
Cory LaNou
473c04dc0d
silence wal logging during testing
2015-09-03 15:17:03 -05:00
Ben Johnson
deff06f850
add copier service
...
This commit adds the copier service which allows one server to
copy shards from another server. This will be used for moving
shards in the cluster.
2015-09-03 13:07:35 -06:00
David Norton
4187fb4257
skip test instead of commenting out
2015-09-03 09:40:45 -04:00
David Norton
2739f5e688
temporarily disable a CQ test
2015-09-03 07:12:15 -04:00
David Norton
66001cfbb5
fix #2555 : add integration tests for CQs
2015-09-03 07:12:15 -04:00
Philip O'Toole
c0d61740a4
Ensure monitor database exists
...
This requires a leader in the cluster, so wait for that before
attempting the database creation.
2015-09-02 16:26:16 -07:00
Philip O'Toole
d820fa7649
Add PointsWriter to monitor
...
This will allow the monitor to persistently store statistics
2015-09-02 15:45:11 -07:00
Philip O'Toole
9165a0cf4c
Create statement_executor for monitor
2015-09-02 15:44:56 -07:00
Philip O'Toole
4e2ee1ea70
Rename MonitorService to just Monitor
...
monitor is not a service, it has more in common with meta, since it
provides functionality to the query layer. This names makes this
clearer.
2015-09-02 15:07:30 -07:00
Philip O'Toole
9df17409d3
Use monitor service with Graphite
2015-09-01 15:21:36 -07:00
Philip O'Toole
f05dc20b58
Hook new monitor service to server
...
u
2015-09-01 15:03:52 -07:00
Philip O'Toole
d87e668c78
Remove obsolete monitoring code
2015-09-01 15:03:52 -07:00
Philip O'Toole
1a55951f36
Backend support for database IF NOT EXISTS
2015-08-28 19:04:54 -07:00
Philip O'Toole
e0066760ba
Make the startup log message actually first
2015-08-28 15:14:20 -07:00
Philip O'Toole
191163c7c7
Move to Go 1.5
2015-08-27 09:58:15 -07:00
Philip O'Toole
94484067f3
Log Go runtime version
2015-08-26 14:47:59 -07:00
Philip O'Toole
10779c9634
Unit-test predictable first/last point ordering
2015-08-25 22:26:04 -07:00
Philip O'Toole
ca52a3ffd7
Allow queries to be looped
...
Some queries may be subject to race conditions. This variable allows the
test to request that a query is executed multiple times, increasing the
chance that any race will be exposed.
2015-08-25 15:16:13 -07:00
Philip O'Toole
20e5d5f3a9
Test explicitly SELECTing time as a field
2015-08-21 12:14:53 -07:00
Philip O'Toole
cd0ce4ac55
Re-enable chunking test post WAL updates
...
Fixes issue #3725 .
2015-08-20 12:54:48 -07:00
Jason Wilder
cd3ef17fc6
Merge pull request #3743 from influxdb/jw-env-config
...
Apply env overrideds for config command
2015-08-19 15:20:03 -06:00
Jason Wilder
0b2aa62172
Merge pull request #3737 from influxdb/jw-wal-dir
...
Ensure wal-dir has a default value
2015-08-19 13:53:37 -06:00
Jason Wilder
67c54ddc47
Apply env overrideds for config command
...
Matches the behavior of the run command and lets you test env
vars override config values more easily.
2015-08-19 13:52:28 -06:00
Jason Wilder
6bd9561de0
Ensure wal-dir has a default value
2015-08-19 13:39:22 -06:00
Philip O'Toole
de95a42d4e
Skip failing chunking test
...
Until https://github.com/influxdb/influxdb/issues/3725 is fixed.
2015-08-19 11:40:02 -07:00
Paul Dix
c31b88de60
Merge pull request #3569 from influxdb/pd-wal
...
Add initial WAL implementation and tests
2015-08-18 20:45:32 -04:00
Paul Dix
9df3b7d828
Add WAL configuration options
2015-08-18 16:59:54 -04:00
Philip O'Toole
28a6b1f3fd
Merge pull request #3697 from influxdb/chunking_10k
...
Merge same-series data if not chunking
2015-08-18 13:23:10 -07:00
Philip O'Toole
0eb93d675d
Add some unit tests related to partner testing
2015-08-17 14:36:13 -07:00
Philip O'Toole
487c336571
Correctly merge rows for identical series
...
If no chunking was requested by the user, the co-ordinating node buffers all
results in RAM before emitting a single result. However buffering was not
merging results for rows which had data for the same series. This change fixes this.
Fixes issue #3242 .
2015-08-17 13:43:17 -07:00
Daniel Morsing
29de960638
adjust granularity of block profile
...
32bit int platforms can't handle a constant this high, so cap it at
1 second instead.
2015-08-17 09:55:38 -07:00
Cory LaNou
014812d967
Merge pull request #3628 from influxdb/wildcard-expansion
...
Wildcard expansion
2015-08-14 15:29:14 -05:00