Jason Wilder
070bb3ccc6
Add logger to RunCommand
2015-04-06 16:37:59 -06:00
Jason Wilder
82b3108f6d
Refactor execRun to RunCommand
2015-04-06 16:37:59 -06:00
Jason Wilder
88f9810ea9
Refactor help into command
2015-04-06 16:37:59 -06:00
Jason Wilder
c356ff6483
Return fmt.Errorf()
2015-04-06 16:29:00 -06:00
Mark Rushakoff
a13af0483a
Use fmt.Println, not log.Println to print usage
...
The previous behavior caused "[srvr]" to print out during usage, e.g. in
`influxd help run`:
```
[srvr] 2015/04/06 11:58:04 usage: run [flags]
run starts the broker and data node server....
```
2015-04-06 13:12:00 -07:00
Philip O'Toole
dbb7d2a319
Tweak openTSDB changes and update CHANGELOG
2015-04-06 11:10:50 -07:00
Tristan Colgate-McFarlane
32d6433c04
OpenTSDB server interface
...
Add an input collector for the OpenTSDB telnet protcol
2015-04-05 10:29:49 +01:00
Jari Sukanen
a56ea6f191
client: rename client.Results type to client.Response (issue: #2050 )
...
Rename client.Results to client.Response as it already has Results
property itself. Renaming it to Response makes code look much less
ugly.
2015-04-04 11:43:53 +03:00
Jason Wilder
9ee0f6445e
Fix broker connect race at startup
...
When a data node starts up, the broker URLs were not set before
they were actually being used. The call to client.Open() in
turn triggers the raft streamer and heartbeat which try to connect
to the broker. If those started before the subsequent client.SetURLs()
call, you would see the following error in the logs at startup:
[messaging] 2015/04/01 11:59:22 reconnecting to broker: url={ <nil> /messaging/messages index=2&streaming=true&topicID=0 }, err=Get /messaging/messages?index=2&streaming=true&topicID=0: unsupported protocol scheme ""
Fixing this race uncovered another bug where the join urls would be
cleared the first time the broker was started. In this case, the
join urls should be left alone since they were set properly w/ SetURLs.
Fixes #2152
2015-04-03 21:04:42 -06:00
Jason Wilder
6d4c7e9cd5
Handle broker and data node endpoints regardless of role
...
This is a pre-requisite for #1934 . When running separate
broker and data nodes, you currently need to know what role
a host is performing. This complicates cluster setup in
that you must configure separate broker URLs and data node
URLs.
This change allows a broker only node to redirect data nodes endpoints
to a valid data node and a data only node to redirect broker
endpoints to a valid broker.
2015-04-03 21:00:43 -06:00
Todd Persen
82bf75c691
Merge pull request #2150 from runner-mei/connection_refused
...
Make InfluxDB win32 friendly, fix unit test is failed on the windows and it is for connection refused.
2015-04-03 16:31:51 -07:00
Philip O'Toole
84d590ce44
Monitoring database should not be configurable
2015-04-03 14:40:36 -07:00
Philip O'Toole
5df05d1256
It's for stats and diags, not just diags
2015-04-03 14:26:17 -07:00
Philip O'Toole
a8559cc37d
Unit test OR tags
2015-04-03 11:41:16 -07:00
runner.mei
6a7cb61f6d
fix unit test is failed with connection refused on the win32
2015-04-03 13:48:52 +08:00
Paul Dix
f3dce09621
uncoment raw ordering test
2015-04-02 15:22:27 -07:00
Paul Dix
c4b780d8b2
remove xxx before integration test
2015-04-02 15:22:27 -07:00
Paul Dix
6c46a5c83b
Add chunked responses and streaming of raw queries.
...
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.
Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.
Fixes #2029 and fixes #2030
2015-04-02 15:22:27 -07:00
Philip O'Toole
7b720b6169
Unit-test two queries in a single request
2015-04-02 11:38:39 -07:00
Philip O'Toole
8a9f8d0eda
Add simple test that results in entries in values
2015-04-02 11:36:02 -07:00
Jason Wilder
91fb7e3756
Track data node urls on brokers
...
This sends data node urls via the broker heartbeat from each data
node. The urls are tracked on the broker to support simpler
cluster setup as well as distributed queries.
2015-04-02 11:27:53 -06:00
Jason Wilder
0af6d1006d
Move RestoreCommandTest to integration tests
2015-04-02 10:22:28 -06:00
Cory LaNou
8fa3571782
only need max procs for running
2015-04-02 10:27:35 -05:00
Cory LaNou
e7866d3600
Set Go Max procs in a better location
2015-04-02 09:33:09 -05:00
Cory LaNou
87c3c46208
encode toml durations correctly
2015-04-01 20:20:04 -05:00
Philip O'Toole
a7d904778a
Correctly filter series for NEQREGEX
...
Series that do not have any tags are considered matching in the NEQREGEX
case so the must be explicitly added.
2015-03-31 16:14:30 -07:00
Philip O'Toole
60149cf7b5
Unit test EQ and NEQ tag query
2015-03-31 16:14:30 -07:00
Philip O'Toole
26b2a2662c
Add unit test showing issue #1604 is fixed
2015-03-31 16:14:30 -07:00
Philip O'Toole
70d57d399d
Check if the tag filter is a NOT
...
If so, then return all series IDs which do not match.
Fix for issue #2097
2015-03-31 16:14:30 -07:00
Paul Dix
d8aca6029d
Remove logo output on startup and output gomaxprocs setting
2015-03-29 19:01:38 -04:00
Ben Johnson
24db5f23e1
Set GOMAXPROCS.
2015-03-29 15:39:43 -06:00
Philip O'Toole
1b700264a7
Also include NEQ in filters
...
This fixes != for field value comparisons.
2015-03-27 23:07:57 -07:00
Philip O'Toole
a0e9daee63
SHOW DATABASES returns series name "databases"
2015-03-27 16:24:57 -07:00
Philip O'Toole
3e59dac0fb
Allow integration tests to be skipped
2015-03-27 11:28:19 -07:00
Philip O'Toole
8fe4e428a7
Bring 3-node test back online
2015-03-27 10:45:38 -07:00
Philip O'Toole
a23984a840
Allow int tests to query only 1 node
2015-03-27 10:45:38 -07:00
Philip O'Toole
5e08351a27
Merge pull request #2087 from influxdb/_internal_not_internal
...
Use _internal as default self-monitoring database
2015-03-26 17:13:44 -07:00
Philip O'Toole
efdb7e89e2
Disable snapshot endpoint during testing
...
Once we have proper endpoint layering, this can be re-enabled.
2015-03-26 16:25:30 -07:00
Philip O'Toole
f829355e3e
Allow snapshot endpoint to be disabled
...
Fix isse #2086
2015-03-26 16:13:23 -07:00
Philip O'Toole
1e10c46ea1
Remove all backup test paths
2015-03-26 14:58:07 -07:00
Philip O'Toole
7a5f66c75a
Use _internal as default self-monitoring database
2015-03-26 14:12:14 -07:00
Philip O'Toole
f22778a41f
Merge pull request #2085 from influxdb/leading_underscores
...
Test leading underscores
2015-03-26 13:52:59 -07:00
Philip O'Toole
ed918304c4
Test tags with leading underscores
2015-03-26 13:48:26 -07:00
Philip O'Toole
2a2c8ecddb
Remove redundant writes from WHERE testing
2015-03-26 13:41:22 -07:00
Cory LaNou
d653e41712
support fractional time on graphite endpoint
2015-03-26 14:18:40 -06:00
Cory LaNou
524eb78a69
graphite logs in seconds, not milliseconds
2015-03-26 14:18:40 -06:00
Philip O'Toole
c461c7e7b4
Remove logging to specific file
2015-03-25 17:41:39 -07:00
Philip O'Toole
225459b25c
Always write the logo to stdout
...
This change means it will always go to stdout, regardless of the log
setting.
2015-03-25 15:56:03 -07:00
Paul Dix
7076b9ea9a
Merge pull request #2067 from influxdb/relative-times-off-2045
...
Fixing intervals for group by.
2015-03-24 22:17:12 -04:00
Cory LaNou
805cba71a4
clarify test name
2015-03-24 20:14:05 -06:00
Cory Lanou
7be574534c
Fixing intervals for group by. Fixing bad PR
2015-03-24 20:13:05 -06:00
Ben Johnson
21782c0a67
Merge branch 'master' of https://github.com/influxdb/influxdb into backup-restore
2015-03-24 16:05:49 -06:00
Ben Johnson
4bc92c3018
Code review fixes.
2015-03-24 16:04:39 -06:00
Ben Johnson
2401e69f58
Add incremental backups.
...
This commit adds incremental backup support. Snapshotting from the server
now creates a full backup if one does not exist and creates numbered
incremental backups after that.
For example, if you ran:
$ influxd backup /tmp/snapshot
Then you'll see a full snapshot in /tmp/snapshot. If you run the same
command again then an incremental snapshot will be created at
/tmp/snapshot.0. Running it again will create /tmp/snapshot.1.
2015-03-24 15:57:03 -06:00
Philip O'Toole
fba41df82b
Push version and commit hash onto Server
2015-03-23 23:45:57 -07:00
Ben Johnson
29cb550d95
Code review fixes.
2015-03-23 16:06:29 -06:00
Philip O'Toole
14585db38b
Move TestServer_RawDataReturnsInOrder to int tests
...
Fix #2052
2015-03-23 12:14:15 -07: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
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
566b2b62af
Support writing test data via a function
2015-03-20 16:11:00 -07:00
Philip O'Toole
1cb60bdb62
Add help for 'config' command
2015-03-20 15:58:17 -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
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
Ben Johnson
0461f401f6
Add SnapshotWriter.
2015-03-19 22:23:52 -06:00
Philip O'Toole
05fb2842ba
Use _id for Series IDs
...
Fix issue #2008
2015-03-19 19:04:07 -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
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
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
Cory LaNou
c13bdd5e86
refactor, bug fix, move tests to integration
2015-03-19 14:33:47 -06:00
Cory LaNou
a6171b3382
refactor of limit/offset
2015-03-19 13:31:46 -06:00
Paul Dix
56281fbfd5
WIP: add IsRawQuery to select and fix LIMIT and OFFSET on GROUP BY time
2015-03-19 11:41:18 -04:00
Jonathan Nutzmann
105d0aa503
fixing failed integration tests - change how number of points calculated and the expected result of the server
2015-03-19 10:28:47 -05:00
Todd Persen
8425c0c578
Final cleanups based on review feedback.
2015-03-18 23:02:11 -07:00
Philip O'Toole
521cddb2a7
Move TestServer_ExecuteWildcardGroupBy
2015-03-18 17:37:08 -07:00
Philip O'Toole
c95af24e43
Move TestServer_ExecuteWildcardQuery
2015-03-18 17:27:20 -07:00
Philip O'Toole
b5d5ce070f
Move TestServer_DropMeasurementSeriesTagsPreserved
2015-03-18 17:21:10 -07:00
Philip O'Toole
82136aab65
Move TestServer_ExecuteQuery to integration tests
2015-03-18 16:53:06 -07:00
Philip O'Toole
fdc44be5e9
Add comment for precision-write tests
2015-03-18 16:16:52 -07:00
Joseph Rothrock
21fd2e2662
dump cmd
...
rename dump flag
put an error response body if json marshalling breaks.
detect and respond to http error codes in the client.
2015-03-18 14:10:36 -07:00
Philip O'Toole
d06d9627f1
Use "internal" for self-monitoring database
...
Parser doesn't like database names that start with "_".
2015-03-18 12:43:04 -07:00
Todd Persen
4ee1216052
Merge pull request #1978 from influxdb/fix-1832
...
fix #1832 : support regex in FROM clause
2015-03-18 11:20:30 -07:00
Grégory Starck
0c7e062a18
Also print the broker path.
...
So to know/see where it's actually located.
2015-03-18 11:58:56 -04:00
Joseph Rothrock
5df3e8c3aa
suppress more client msgs
2015-03-17 14:44:15 -07:00
Joseph Rothrock
9b3f0399af
oops, left in some cruft
2015-03-17 13:57:47 -07:00
Joseph Rothrock
5156a10e9e
Merge branch 'master' of github.com:influxdb/influxdb into export
2015-03-17 10:52:09 -07:00
David Norton
f338e8212c
remove debugging change from tests
2015-03-17 12:46:27 -04:00
Cory LaNou
20b0c52484
fixing config print startup statement
2015-03-17 07:37:08 -06:00
David Norton
62ae32b0ce
wire up regex in FROM clause
2015-03-16 19:40:59 -04:00
Joseph Rothrock
53d99637b7
Merge branch 'master' of github.com:influxdb/influxdb into export
2015-03-16 15:31:47 -07:00
Joseph Rothrock
d7420683ae
tweaking in response to various PR comments
2015-03-16 15:31:41 -07:00
Cory LaNou
031490fff1
function -> method
2015-03-16 16:25:13 -06:00
Cory LaNou
961e2ee944
Print config
2015-03-16 16:24:44 -06:00
Philip O'Toole
50d2470041
Write totals, not diff, of internal stats
2015-03-15 14:32:46 -07:00
Philip O'Toole
d627634991
Ensure internal retention policy exists
2015-03-15 14:32:46 -07:00
Philip O'Toole
f4b3e3da9f
Fix final 'go vet' errors
2015-03-15 14:32:46 -07:00
Philip O'Toole
ae3b3d5252
Rename "metrics" to "stats"
2015-03-15 14:32:46 -07:00
Philip O'Toole
ea7b7be534
Fix 'go vet' errors
2015-03-15 14:32:11 -07:00
Philip O'Toole
5240151517
Actually start self-monitoring if requested
2015-03-15 14:32:11 -07:00
Philip O'Toole
d95c9454d2
Better names for statistics config options
2015-03-15 14:32:11 -07:00
Philip O'Toole
95f7a006a3
Fix test config for _internal database
2015-03-15 14:32:11 -07:00
Philip O'Toole
f730257ee4
Implement self-monitoring
2015-03-15 14:31:16 -07:00
Ben Johnson
06d839223e
Integration test delay.
2015-03-14 14:31:25 -06:00
Ben Johnson
53dbec8232
Add config notifications and increased test coverage.
2015-03-14 13:36:06 -06:00
Cory LaNou
a19f81d3e9
Graphite numbers are always float64
2015-03-14 09:59:33 -06:00
Joseph Rothrock
a342a1e3fd
remove commented line
2015-03-13 16:11:31 -07:00
Joseph Rothrock
4aa47dbe07
Merge branch 'master' of github.com:influxdb/influxdb into export
...
and update changelog
2015-03-13 16:07:47 -07:00
Cory LaNou
a37a303852
added tests for writing multiple values/fields for client
2015-03-13 17:00:57 -06:00
Joseph Rothrock
4aabcd907c
Dump cmd
...
Issue: 1909
move dump cmd to an http endpoint.
Add dump cmd on client to call the endpoint.
2015-03-13 15:37:23 -07:00
Ben Johnson
4b9a93d924
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
2015-03-12 15:46:04 -06:00
Philip O'Toole
d82d040e59
Create databases for Graphite at higher level
...
By doing this the SeriesWriter interface stays focused and just has
methods for writing data. Its name then remains coherent.
2015-03-12 13:33:25 -07:00
Philip O'Toole
7717b11e6b
Factor common code into Graphite package
2015-03-12 12:21:27 -07:00
Todd Persen
3e4e56d31f
Fix merge conflict in CHANGELOG.md
2015-03-12 11:41:30 -07:00
Ben Johnson
7880bc2452
Add zero length data checks.
2015-03-12 12:12:26 -06:00
Ben Johnson
7ab19b9f91
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
2015-03-12 11:59:55 -06:00
Cory LaNou
b0be24beb1
less header lines
2015-03-12 11:17:28 -06:00
Cory LaNou
5ce7307f31
append line separator in correct spot
2015-03-12 11:17:28 -06:00
Cory LaNou
15e1f9acca
add trailing line separator for column format
2015-03-12 11:17:09 -06:00
Cory LaNou
04ed8a8fef
sort tags for consistency
2015-03-12 11:17:09 -06:00
Cory LaNou
b18ac070b9
no need to pass arg
2015-03-12 11:17:09 -06:00
Cory LaNou
24804036ef
no need to pass arg
2015-03-12 11:17:08 -06:00
Cory LaNou
f0f3be9aa7
refactoring column format to be much more intelligent, fixed typo seperator -> separator
2015-03-12 11:17:08 -06:00
Cory LaNou
891a15662a
no more line headers
2015-03-12 11:17:08 -06:00
Cory LaNou
b94027fb84
add line separator between result outputs
2015-03-12 11:17:08 -06:00
Cory LaNou
b36217cecd
fixing bug with headers output
2015-03-12 11:17:08 -06:00
Cory LaNou
96856ffb19
stop writing blank columns, repeate headers as necessary
2015-03-12 11:17:08 -06:00
Cory LaNou
291de444f3
update integration test
2015-03-12 11:09:14 -06:00
Cory LaNou
ddc6e119ab
Add default column to SHOW RETENTION POLICIES
2015-03-12 11:07:51 -06:00
Cory LaNou
58dac30fd5
auto create database for graphite if not specified
2015-03-12 10:20:49 -06:00
Paul Dix
b4e1795e0b
Merge pull request #1925 from influxdb/fill-options
...
Add fill to select statements.
2015-03-11 19:32:15 -07:00
Paul Dix
06e8c1b3e8
Add fill to select statements.
...
Fixes #1913
Add fill(none), fill(<num>), and fill(previous) options
2015-03-11 18:05:31 -07:00
Joseph Rothrock
12760b9023
turn a 'Row' into distinct points
2015-03-11 16:54:17 -07:00
Cory LaNou
41607c2115
Merge pull request #1758 from influxdb/start-graphite
...
Add Graphite Integration Test
2015-03-11 16:13:25 -06:00
Cory LaNou
c46caf8503
go faster!
2015-03-11 15:26:37 -06:00
Cory LaNou
98484b613b
the right way to wait for data
2015-03-11 14:43:50 -06:00
Philip O'Toole
8baf5fa184
Merge pull request #1923 from influxdb/int_timestamp_0_select
...
Some integration-testing of 'count()'
2015-03-11 13:42:13 -07:00
Philip O'Toole
239a10c679
Some integration-testing of 'count()'
2015-03-11 13:38:21 -07:00
Cory LaNou
5f8b176fd2
enable graphite endpiont test
2015-03-11 14:05:02 -06:00
Cory LaNou
174a3007bb
clarify broker failed start messages
2015-03-11 14:05:02 -06:00
Cory LaNou
c7068b77e9
better error for starting server so we can find what line it was
2015-03-11 14:05:01 -06:00
Cory LaNou
019b9de54e
adding graphite integration test: skipped as it currently fails
2015-03-11 14:05:01 -06:00
Cory LaNou
e3d74f6666
allow integration tests to take a custom config
2015-03-11 14:05:01 -06:00
Philip O'Toole
6ca09c40bb
Merge pull request #1921 from influxdb/int_timestamp_0_select
...
Integration-test precision timestamps
2015-03-11 12:59:19 -07:00
Philip O'Toole
4e876a3106
Integration-test precision timestamps
2015-03-11 12:57:19 -07:00
Ben Johnson
5f6bcf523f
Fix broker integration bugs.
2015-03-11 12:00:45 -06:00
Philip O'Toole
403b05abae
Merge pull request #1914 from Mosibi/master
...
typo: prototcol should be protocol
2015-03-11 10:57:44 -07:00
Philip O'Toole
184f67b857
Integration test retention policy control
2015-03-11 09:36:33 -07:00
Richard Arends
2948d6f464
typo: prototcol should be protocol
2015-03-11 13:05:14 +01:00
Joseph Rothrock
3193e2129b
make a dump command
2015-03-10 16:30:43 -07:00
Ben Johnson
66115f95ca
Merge branch 'master' of https://github.com/influxdb/influxdb into stateless-broker
...
Conflicts:
cmd/influxd/run.go
messaging/broker.go
messaging/client.go
messaging/client_test.go
messaging/intg_test.go
server.go
tx_test.go
2015-03-10 16:27:37 -06:00
Ben Johnson
27e9132796
Integrate stateless broker into remaining packages.
2015-03-10 14:53:45 -06:00
Todd Persen
031ea1d2d3
Merge pull request #1900 from influxdb/update-limit-and-offset
...
Update LIMIT/OFFSET and SLIMIT/SOFFSET
2015-03-09 20:14:54 -07:00
Paul Dix
a12f028de4
Wire up limit and offset per series.
...
Fixes #1709 and fixes #1103
2015-03-09 19:17:03 -07:00
Cory LaNou
436d20fec1
Merge pull request #1897 from influxdb/proactively-create-shard-groups
...
Pre-create shard groups
2015-03-09 20:03:12 -06:00
Paul Dix
0f98a605e2
Merge pull request #1600 from influxdb/fix-raw-ordering
...
Query engine rewrite
2015-03-09 18:32:55 -07:00
Cory LaNou
7495e6eb1c
fix comments, some renaming, adding rlock
2015-03-09 18:05:39 -06:00
Cory LaNou
67f03ef26b
Pre-create shard groups
...
1) Pre create shard groups
2) Calculate and save the ShardGroupDuration for Retention Policies. This should never change even if they alter a retention policy in the future
2015-03-09 17:30:17 -06:00
Philip O'Toole
95040c2cec
Test auto-create of retention policy
2015-03-09 16:24:06 -07:00
Philip O'Toole
f72313edd9
Support retention policy auto-creation
2015-03-09 16:24:03 -07:00
Paul Dix
b173e6a380
Fix bug with where clauses on tags, time, and fields
2015-03-09 16:00:20 -07:00
Philip O'Toole
5a796afcda
Merge pull request #1894 from influxdb/minor_int_fixes
...
Use template DB and RP variables
2015-03-09 15:14:17 -07:00
Cory LaNou
6efa090ddb
Merge pull request #1893 from influxdb/update-client-write
...
Update client write
2015-03-09 16:13:39 -06:00
Philip O'Toole
4ad4ce3140
Use template DB and RP variables
2015-03-09 15:12:24 -07:00
Paul Dix
744e6a2aec
Merge branch 'master' into fix-raw-ordering
2015-03-09 11:18:35 -07:00
Paul Dix
08ecaabc16
Fix decodes on multiple fields. Remove debug info. Update tests to match new query engine output.
2015-03-09 11:17:36 -07:00
Philip O'Toole
45d8642189
Add better test of string field WHERE
2015-03-09 11:15:04 -07:00
Philip O'Toole
c714f147e8
Merge pull request #1875 from influxdb/raft_log_trace
...
Support control of Raft debug logging
2015-03-09 08:31:06 -07:00
Cory LaNou
2b4f155407
return no results if successful. update tests. add comments
2015-03-09 09:08:14 -06:00
Philip O'Toole
d802829946
Review feedback
2015-03-07 22:55:23 -08:00
Cory LaNou
20aee9bf85
refactor client integration tests
2015-03-07 07:12:22 -07:00
Cory LaNou
b4194e98c0
increment port for testing
2015-03-07 07:12:22 -07:00
Cory LaNou
01721aad0d
skip test if not short testing
2015-03-07 07:12:22 -07:00
Cory LaNou
f01ee5eb51
adding integration tests for client library. misc bug fixes
2015-03-07 07:12:22 -07:00
Philip O'Toole
fb618cb385
Support control of Raft debug logging
2015-03-06 15:13:33 -08:00
Joseph Rothrock
9b63eed767
Merge branch 'master' of github.com:influxdb/influxdb into 1753
...
Conflicts:
CHANGELOG.md
2015-03-06 12:37:15 -08:00
Joseph Rothrock
771ef1cec3
Don't Panic on Missing Dirs
...
Issue: 1753
Figure out what's missing, create it, and keep going.
2015-03-06 12:11:02 -08:00
Philip O'Toole
2402467e63
Add trace-level logging of write to handler
2015-03-05 17:38:03 -08:00
Philip O'Toole
76c255a3c8
Add trace-level logging to server write path
2015-03-05 17:35:57 -08:00
Philip O'Toole
60c2852d31
Add support for enabling write-tracing
2015-03-05 17:35:57 -08:00
Todd Persen
0b8017ed1e
Add integration test for missing measurements with `GROUP BY *`.
2015-03-05 17:27:54 -08:00
Joseph Rothrock
1efde69c69
JSON via UDP
...
Issue: 1755
Bind the server to a UDP listener to accept series data.
2015-03-04 16:36:06 -08:00
Joseph Rothrock
2e3ed5a089
Merge branch 'master' of github.com:influxdb/influxdb into 1755
2015-03-04 15:37:37 -08:00
Joseph Rothrock
6bb2ad6b95
JSON via UDP
...
Issue: 1755
Bind the server to a UDP listener.
2015-03-04 13:36:21 -08:00
Philip O'Toole
86b29b1908
Transplant 'SHOW FIELD KEYS' tests
2015-03-04 13:01:35 -08:00
Philip O'Toole
a8a2da3194
Transplan 'SHOW TAG VALUES' tests
2015-03-04 12:54:44 -08:00
Philip O'Toole
e84b338018
Transplant 'SHOW TAG KEYS' tests
2015-03-04 12:44:56 -08:00
Philip O'Toole
c485c63c77
Transplant 'SHOW MEASUREMENTS' series tests
2015-03-04 12:33:11 -08:00
Philip O'Toole
10217cc323
Transplant 'SHOW SERIES' tests
2015-03-04 12:21:39 -08:00
Philip O'Toole
8480a1829a
Move string and bool data write to integration
2015-03-03 17:11:09 -08:00
Philip O'Toole
2ecae19874
Replace literal "myrp" with %RP% in tests
2015-03-03 16:48:40 -08:00
Philip O'Toole
bbb6df0dcf
Merge pull request #1838 from influxdb/where_and
...
Add unit test of parenthesis and WHERE on fields
2015-03-03 16:46:42 -08:00
Philip O'Toole
372949fee4
Add unit test of parenthesis and WHERE on fields
2015-03-03 15:58:25 -08:00
Philip O'Toole
a22f1043a2
Merge pull request #1835 from influxdb/where_and
...
Add failing test case for WHERE AND
2015-03-03 15:49:55 -08:00
Philip O'Toole
0e3e0f6a38
Transplant more tests from httpd
2015-03-03 15:48:03 -08:00
Philip O'Toole
89bed24505
Tighten WHERE fields test case
2015-03-03 15:26:02 -08:00
Philip O'Toole
adee51c4e0
Merge pull request #1836 from hawson/fix-1760-history_file
...
Fix for #1760 : influx doesn't create $HOME/.influx_history
2015-03-03 15:16:48 -08:00
Philip O'Toole
6ceae8ba3c
Add WHERE field test, on 1 field
2015-03-03 15:02:42 -08:00
Philip O'Toole
f422fbdebe
Support only running certain integration tests
2015-03-03 14:53:31 -08:00
Philip O'Toole
b69dc160ea
Add failing test case for WHERE AND
2015-03-03 14:30:59 -08:00
Jesse Becker (NCBI)
0f7c69c587
Fix for #1760 : influx doesn't create $HOME/.influx_history
2015-03-03 17:12:19 -05:00
Philip O'Toole
585ab410ba
3-node cluster tests disabled
...
Cluster testing is racy right now, possibly due to the underlying
implementation.
2015-03-03 14:06:39 -08:00
Philip O'Toole
0d03998dc3
Move tests from HTTP handlers to integration
2015-03-03 14:03:49 -08:00
Philip O'Toole
1ba6d8a4f9
Add initial version of table-driven int. tests
2015-03-03 13:28:09 -08:00
Kai Zhang
ef262171d6
trim command line before parse it
...
This can avoid some errors caused by an additional space at the end of
the command line.
For example: 'use db ' will be trimed to 'use db' and parsed correctly.
Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Todd Persen
06bfd9c496
Remove unused syslog.go
2015-02-27 15:41:40 -08:00
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
Mark Rushakoff
6954090024
Merge pull request #1574 from influxdb/client-user-agent
...
Client user agent is configurable
2015-02-18 12:10:53 -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
Mark Rushakoff
f6b26d30dd
Shell includes version in user agent string
...
Note on how overriding the version works:
If you just run `go run cmd/influx/main.go` you'll see the shell print
out "Influx DB shell 0.9" as this commit sets the package-level variable
`version` to the string "0.9".
Running `go run -ldflags "-X main.version 123" cmd/influx/main.go` will
print out "Influx DB shell 123". (`-ldflags` works for `go install` and
`go build`, too.)
2015-02-11 22:08:21 -08: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