Commit Graph

208 Commits (ba5dc411df19a3817b0bace15e3e1f05a06cec7c)

Author SHA1 Message Date
Johnny Steenbergen f6dbfec346 feat: import jsteenb2/testttp directly into pkg 2019-11-12 14:14:40 -08:00
docmerlin (j. Emrys Landivar) 56d406afe8 fix(tasks): fix every parsing 2019-11-12 14:46:19 -06:00
Christopher M. Wolff 291f7b3e19
build(flux): update Flux to v0.54.0 (#15851) 2019-11-12 08:38:57 -08:00
Johnny Steenbergen 2902638c8a feat(pkger): add pgker http server to the api handler 2019-11-07 09:44:24 -08:00
Johnny Steenbergen 515b3f542a feat(pkger): add support for the dry run and apply pkger http endpoints
not included is the pretty error handling for the pkger.ParseErr handling
2019-11-07 09:44:24 -08:00
Johnny Steenbergen 848875e64b feat(pkger): add create service and http functionality for a package
supports as of this just the basic metadata being setup on the initial post
2019-11-07 09:44:24 -08:00
jlapacik 1d4c7e811d
build(flux): update Flux to v0.53.0 (#15754) 2019-11-04 16:52:17 -08:00
Johnny Steenbergen a03c497015 feat(pkger): add dry run functionality
does not apply to mappings, will apply mappings no matter what. we need to
remedy the uniqueness of resources from the API side. Applies to labels,
label mappings,
2019-11-01 11:59:09 -07:00
Johnny Steenbergen 52647af79e feat(pkger): add groundwork for manifest to support bucket resource 2019-11-01 11:59:09 -07:00
Lorenzo Affetti b8dfd5a2f3 build(flux): update Flux to v0.52.0 2019-10-30 16:47:03 +01:00
Yiqun Zhang 2be19560a9 build(flux): update Flux to v0.51.0 2019-10-28 11:24:12 -04:00
Jonathan A. Sternberg 06f7418ab6
build(flux): update Flux to v0.50.2 (#15566) 2019-10-24 14:35:31 -07:00
Jonathan A. Sternberg 10247e7849
build(flux): update Flux to v0.50.0 2019-10-15 09:18:39 -05:00
Jonathan A. Sternberg 74829b025c
refactor(query/stdlib): update flux end to end tests for package subtests (#15392) 2019-10-15 09:18:21 -05:00
Jonathan A. Sternberg 8ac8ecdb31
feat(query/control): include variable memory limits for the controller (#15300)
The controller now supports setting an initial memory limit and setting
a maximum amount of memory that the controller may use separately from
the memory quota per query and the concurrency quota.

This allows the controller to increase the concurrency quota to a larger
number while setting the maximum amount of memory to a lower amount than
would be required for all queries to use 100% of their allowable memory.

Functionally, this means that a query will have a soft limit for an
initial memory byte quota that a query is guaranteed to have, a shared
pool that it is allowed access to in the case it uses more, and a hard
limit that no query may exceed to prevent runaway queries from taking
over the entire pool.

This change is completely backwards compatible with older configurations
as the new options will default to values that mimic the old behavior
where a query is allocated the full amount of its memory quota and the
maximum amount of memory is based on the concurrency quota and this
maximum memory quota.

In addition to the above, this also fixes a bug in the controller that
allowed it to run more than its concurrency as executing queries. This
happened when the results had finished being sent by the executor, but
the query had not yet been read and/or serialized. The executor would be
freed up and would take the next query even though the previous query
hadn't yet been finalized with `Done()`.
2019-10-15 09:18:00 -05:00
docmerlin (j. Emrys Landivar) 4b732acb3b feat(tasks): switch the new scheduler to use clock instead of custom time mocker 2019-10-14 14:02:25 -05:00
j. Emrys Landivar (docmerlin) 3fd94cbb69 feat(task): new scheduler now with more tests 2019-10-14 14:02:25 -05:00
Jonathan A. Sternberg 7f5a72539f
build(flux): update Flux to v0.49.0 2019-09-24 09:54:54 -05:00
Lorenzo Affetti df9e20eb28 build(flux): update to Flux v0.48.0 2019-09-20 17:43:46 +02:00
Lorenzo Affetti 2a6cfe3c78 fix(query): inject dependencies in context for BucketAccessed 2019-09-19 17:31:13 +02:00
Lorenzo Affetti ab835c8e0e
refactor(dependencies): use new dependency injection framework (#15174)
refactor(dependencies): use new dependency injection framework
2019-09-19 17:01:17 +02:00
Edd Robinson 5040dc7036
Merge pull request #15144 from influxdata/er-nats
fix(tests): ensure NATS server port free
2019-09-13 21:10:40 +01:00
Edd Robinson 080943a9f5 fix(tests): ensure NATS server port free 2019-09-13 19:33:19 +01:00
Lorenzo Affetti 7cca079c5a build(flux): update Flux to v0.47.0 2019-09-13 18:18:48 +02:00
Lorenzo Affetti 8788636229 build(flux): update Flux to v0.46.2 2019-09-12 17:52:24 +02:00
jlapacik 669439d08a build(flux): update Flux to v0.46.1 2019-09-12 07:22:16 -07:00
Christopher M. Wolff b0b3121517
build(flux): update to Flux v0.45.1 (#15082) 2019-09-10 09:03:33 -07:00
Nathaniel Cook 83cb7fce3b build(flux): update to Flux v0.44.1 2019-09-06 11:37:32 -06:00
Nathaniel Cook cd2d9cb031 build(flux): update to Flux v0.44.0 2019-09-05 16:51:33 -06:00
Nathaniel Cook ed01f5a16f build(flux): update to Flux v0.43.1 2019-09-05 14:22:56 -06:00
Mark Rushakoff 91864a3afa chore: upgrade editorconfig-checker
This avoids a module error in Go 1.13 from a poorly tagged transitive
test dependency that looks like:

gopkg.in/stretchr/testify.v1/assert: go.mod has non-....v1 module path
"github.com/stretchr/testify" at revision v1.4.0
2019-09-05 08:55:49 -07:00
Mark Rushakoff c2f847299c ci: use latest staticcheck
We were still referring to megacheck in tools.go; this confused
dependent projects also using staticcheck.
2019-09-04 16:34:45 -07:00
Nathaniel Cook 4cd136721c build(flux): update to Flux v0.43.0 2019-09-04 13:01:08 -06:00
Nathaniel Cook 454003841a build(flux): upgrade to Flux v0.42.0
Skips a test that requires special dependencies to pass.
2019-08-30 13:02:30 -06:00
Nathaniel Cook 3e16be7c14 build(flux): update to Flux v0.41.0 2019-08-26 16:46:17 -06:00
Nathaniel Cook dfc28335ea refactor(query/dependencies): update to new Flux dependencies defaults 2019-08-26 16:46:17 -06:00
Jonathan A. Sternberg c7bbfbe293 refactor(notification): rename alerts package to monitor in flux (#14788) 2019-08-26 16:46:17 -06:00
Adam fcfdd2b1ef build(flux): update to latest flux master 2019-08-26 16:46:17 -06:00
Adam 945b68b8fd fix(query): finish refactoring the repl and inject the secret service as a dependency 2019-08-26 16:46:17 -06:00
Adam a91a8df501 build(flux): get latest flux 2019-08-26 16:46:17 -06:00
Nathaniel Cook 3c314a999c build(flux): update to Flux v0.40.2 2019-08-22 13:11:13 -06:00
docmerlin (j. Emrys Landivar) 19fe098888 chore(ci): update go-tools 2019-08-22 10:55:05 -05:00
Nathaniel Cook cfebb3b5a0 build(flux): update to Flux v0.40.1 2019-08-21 09:59:01 -06:00
Nathaniel Cook 402068cdac build(flux): update to Flux v0.40.0 2019-08-21 09:59:01 -06:00
Nathaniel Cook 1b8ab3c2f2 fix(query): remove http.to and update test cases that used it 2019-08-21 09:59:01 -06:00
Christopher M. Wolff c61646d0f4 feat(query/stdlib): add an experimental "to" function (#14664) 2019-08-21 09:59:01 -06:00
Nathaniel Cook cd2bfb9b22 refactor(query/stdlib): update tests for new Flux test name conventions (#14669) 2019-08-21 09:59:01 -06:00
Christopher Wolff 92bb511982 chore: update to latest Flux 2019-08-21 09:59:01 -06:00
Nathaniel Cook 25d6de0ba8 build(flux): update Flux to v0.39.0 2019-08-13 13:54:34 -06:00
Lorenzo Affetti bf4cddac15 chore: update Flux to v0.38.0 2019-08-06 12:48:04 +02:00