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
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
f72313edd9
Support retention policy auto-creation
2015-03-09 16:24:03 -07:00
Philip O'Toole
d802829946
Review feedback
2015-03-07 22:55:23 -08: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
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
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
Philip O'Toole
a00c3d1a60
Print running version and commit in log
2015-02-24 09:47:07 -08: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
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
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
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
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
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
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
0b349baaac
Return both broker and server from call to run()
2015-02-09 16:35:28 -08:00
Cory LaNou
1604d7f604
refactor how we default authentication enabled
2015-02-05 15:54:32 -07:00
Cory LaNou
f4dfb87acc
first pass at hardening authorize
2015-02-05 14:39:40 -07:00
Cory LaNou
4dc5f3ab86
ensure server is spun up before existing run function
2015-02-05 08:50:07 -07:00
Cory LaNou
0e818f46d4
wip
2015-02-05 08:50:07 -07:00
Philip O'Toole
b191b1f044
Remove superfluous blank line from help output
2015-01-30 13:09:38 -08:00
Philip O'Toole
9943f86cf4
Enable module-level logging
2015-01-29 15:07:58 -08:00
Philip O'Toole
ce0cc84ec1
Create, and use, standard path for log file
2015-01-29 14:29:21 -08:00
Philip O'Toole
c05d4bf292
Open log file
2015-01-29 14:12:56 -08:00
Philip O'Toole
2aa9b6ea33
Ensure PID directory tree exists
2015-01-26 18:33:06 -08:00
Philip O'Toole
3c3792f670
Push "joinURLs" into config file
...
Command-line still take precedence.
2015-01-26 17:53:56 -08:00
Philip O'Toole
d5c0ea396b
Remove redundant option 'role'
2015-01-26 17:15:47 -08:00
Cory LaNou
6ecb96ebfa
clarifying a comment on starting up servers
2015-01-26 17:16:05 -07:00
Cory LaNou
107d2135a4
make sure we handle home directories properly in config
2015-01-26 11:03:49 -07:00
Cory LaNou
eeb502fbd5
allowing a broker/client to spin up more than once
2015-01-26 10:37:29 -07:00
Cory LaNou
fd626de462
refactoring the refactoring
2015-01-21 18:13:51 -07:00
Cory LaNou
5421285be2
added version to server struct
2015-01-21 12:53:18 -07:00
Cory LaNou
f52d9aa582
wip - added filters. added the concept of routes. more to come
2015-01-20 17:10:45 -07:00
Cory LaNou
3ab277214d
first pass at moving handlers to httpd package
2015-01-20 10:50:13 -07:00
Cory LaNou
1950f38fc1
removing unecessary method
2015-01-18 16:27:52 -07:00