Daniel Nephin
59206e38c7
rpc: cleanup exit and blocking condition logic in blockingQuery
...
Remove some unnecessary comments around query_blocking metric. The only
line that needs any comments in the atomic decrement.
Cleanup the block and return comments and logic. The old comment about
AbandonCh may have been relevant before, but it is expected behaviour
now.
The logic was simplified by inverting the err condition.
2022-01-17 16:59:25 -05:00
Daniel Nephin
a28d1268cb
rpc: extract rpcQueryTimeout method
...
This helps keep the logic in blockingQuery more focused. In the future we
may have a separate struct for RPC queries which may allow us to move this
off of Server.
2022-01-17 16:59:25 -05:00
Daniel Nephin
751bc2e7d3
rpc: move the index defaulting to setQueryMeta.
...
This safeguard should be safe to apply in general. We are already
applying it to non-blocking queries that call blockingQuery, so it
should be fine to apply it to others.
2022-01-17 16:59:25 -05:00
Daniel Nephin
95e471052b
rpc: add subtests to blockingQuery test
2022-01-17 16:59:25 -05:00
Daniel Nephin
6bf8efe607
rpc: refactor blocking query
...
To remove the TODO, and make it more readable.
In general this reduces the scope of variables, making them easier to reason about.
It also introduces more early returns so that we can see the flow from the structure
of the function.
2022-01-17 16:58:47 -05:00
Jared Kirschner
f6f28c4952
docs: show WAN fed with/without mesh gateways
2022-01-16 16:55:12 -08:00
Jared Kirschner
9d24242b73
Merge pull request #12004 from hashicorp/consul-doc-day-changes-chip
...
Docs: Updating HTTP API endpoints with CLI equivalent links
2022-01-15 12:40:46 -05:00
Jared Kirschner
fa6200bba3
docs: add missing link for intention list
2022-01-15 09:31:27 -08:00
Jared Kirschner
65d5836951
docs: don't treat CLI cmd cross-ref as info box
2022-01-15 09:29:35 -08:00
Thomas Kula
fdd196ae1c
docs: Minor grammar change to ingress-gateway.mdx ( #11365 )
...
Use plural form of "listeners", not possessive form of "listener's"
2022-01-14 16:36:02 -08:00
Preetha
6826923f32
Add new page on multi DC ACLs ( #12020 )
...
New docs page that details the steps needed to configure ACLS and replication in federated datacenters.
2022-01-14 18:32:44 -06:00
Melissa Kam
23da971e97
Merge pull request #12087 from hashicorp/cts-tf-1.1
...
docs/nia: CTS Terraform v1.1 compatibility
2022-01-14 16:04:42 -06:00
Mark Anderson
40c616e8d7
Update website for latest version ( #12099 )
...
Signed-off-by: Mark Anderson <manderson@hashicorp.com>
2022-01-14 13:45:56 -08:00
Evan Culver
9fee197904
Add changelog from latest releases ( #12095 )
2022-01-14 13:35:46 -08:00
trujillo-adam
23ac796406
Merge branch 'docs/service-mesh-config-entries-add-partitions--1.11.0' of github.com:hashicorp/consul into docs/service-mesh-config-entries-add-partitions--1.11.0
...
pre and post docs day merge
2022-01-14 11:34:36 -08:00
trujillo-adam
71907728ff
applying latest round of feedback
2022-01-14 09:51:57 -08:00
dependabot[bot]
0d0b55bd1b
build(deps): bump github.com/ryanuber/columnize ( #12062 )
...
Bumps [github.com/ryanuber/columnize](https://github.com/ryanuber/columnize ) from 2.1.0+incompatible to 2.1.2+incompatible.
- [Release notes](https://github.com/ryanuber/columnize/releases )
- [Commits](https://github.com/ryanuber/columnize/compare/v2.1.0...v2.1.2 )
---
updated-dependencies:
- dependency-name: github.com/ryanuber/columnize
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 12:39:13 -05:00
dependabot[bot]
761c286d62
build(deps): bump github.com/kr/text from 0.1.0 to 0.2.0 ( #12063 )
...
Bumps [github.com/kr/text](https://github.com/kr/text ) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/kr/text/releases )
- [Commits](https://github.com/kr/text/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: github.com/kr/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 12:35:00 -05:00
Blake Covarrubias
6e9ff354f2
docs: Add HCL examples to agent config options
2022-01-14 09:22:29 -08:00
Melissa Kam
9a774eac67
docs/nia: CTS Terraform v1.1 compatibility
2022-01-14 11:16:04 -06:00
Matt Keeler
4970a715b1
Updating the docs to point out that 1.10.7 should be used instead of 1.10.6 ( #12086 )
2022-01-14 12:03:20 -05:00
dependabot[bot]
a6ae87f1a7
build(deps): bump github.com/mitchellh/pointerstructure ( #12072 )
...
Bumps [github.com/mitchellh/pointerstructure](https://github.com/mitchellh/pointerstructure ) from 1.0.0 to 1.2.1.
- [Release notes](https://github.com/mitchellh/pointerstructure/releases )
- [Commits](https://github.com/mitchellh/pointerstructure/compare/v1.0.0...v1.2.1 )
---
updated-dependencies:
- dependency-name: github.com/mitchellh/pointerstructure
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:56:26 -05:00
dependabot[bot]
6c7379d58e
Bump github.com/aws/aws-sdk-go from 1.25.41 to 1.42.34 ( #12083 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.25.41 to 1.42.34.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.25.41...v1.42.34 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-14 11:54:41 -05:00
Blake Covarrubias
ef9c36fa31
docs: Show `consul intention list` in nav sidebar
...
Ensure `consul intention list` command is displayed in the navigation
sidebar.
Fixes #12036
2022-01-13 20:21:10 -08:00
Anthony
2ee084969b
Merge pull request #12074 from hashicorp/agent-docs-updates
...
Update Web Components for Agent pages
2022-01-13 17:10:15 -05:00
Anthony
b003fd93d7
Apply suggestions from code review
2022-01-13 17:04:19 -05:00
Anthony
3f01f2fe12
Apply suggestions from code review
...
Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>
2022-01-13 16:55:07 -05:00
Daniel Nephin
1971a58b29
Merge pull request #11661 from hashicorp/dnephin/ca-remove-one-call-to-active-root
...
ca: remove one call to Provider.ActiveRoot
2022-01-13 16:48:12 -05:00
Anthony
5ffa877cdb
Added hcl language to snippet.
2022-01-13 16:34:37 -05:00
Anthony
e62c21e136
Removed extra comment.
2022-01-13 16:26:40 -05:00
Anthony
cd9c843e07
Missed CodeBlockConfig tag.
2022-01-13 16:22:57 -05:00
Kevin Wang
3561dfb5f2
feat: versioned-docs ( #11327 )
...
This PR introduces versioned docs
2022-01-13 16:10:33 -05:00
Anthony
8b18b4394c
Added CodeBlockConfig tags and $ to shell examples missing it.
2022-01-13 16:07:11 -05:00
dependabot[bot]
5c1a491cd4
Bump github.com/hashicorp/go-memdb from 1.3.1 to 1.3.2 ( #11066 )
...
Bumps [github.com/hashicorp/go-memdb](https://github.com/hashicorp/go-memdb ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/hashicorp/go-memdb/releases )
- [Changelog](https://github.com/hashicorp/go-memdb/blob/master/changes.go )
- [Commits](https://github.com/hashicorp/go-memdb/compare/v1.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-memdb
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 10:54:36 -08:00
dependabot[bot]
1ea48ec523
Bump github.com/hashicorp/go-raftchunking from 0.6.1 to 0.6.2 ( #11065 )
...
Bumps [github.com/hashicorp/go-raftchunking](https://github.com/hashicorp/go-raftchunking ) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/hashicorp/go-raftchunking/releases )
- [Commits](https://github.com/hashicorp/go-raftchunking/compare/v0.6.1...v0.6.2 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-raftchunking
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 10:28:49 -08:00
Daniel Nephin
72db158eb9
Merge pull request #12066 from hashicorp/dependabot/go_modules/github.com/hashicorp/go-multierror-1.1.1
...
build(deps): bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
2022-01-13 13:09:46 -05:00
dependabot[bot]
12a148f0d3
build(deps): bump github.com/hashicorp/go-multierror from 1.1.0 to 1.1.1
...
Bumps [github.com/hashicorp/go-multierror](https://github.com/hashicorp/go-multierror ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/hashicorp/go-multierror/releases )
- [Commits](https://github.com/hashicorp/go-multierror/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-multierror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-13 17:41:15 +00:00
Daniel Nephin
dae7288008
Merge pull request #12059 from hashicorp/dnephin/update-dependabot-config
...
remove api, sdk, and ui packages from dependabot
2022-01-13 12:39:45 -05:00
Daniel Nephin
709b807c7a
remove api, sdk, and ui packages from dependabot
...
sdk and api are removed because those two are libraries, and updating libraries to the latest
dependency versions only serves to make the library harder to use. A
library which uses all the latest versions requires every application
which uses it to update all its dependencies in a single batch, which is
not great.
It is applications that need the latest version of dependencies.
Remove UI at the request as jc, since javascript libraries are updated so frequently it ends up
being too much noise.
Also update the number of PRs for gomod to 10, so we have a few more to
work with.
2022-01-13 12:37:49 -05:00
Krastin Krastev
c61afe74fa
Merge pull request #12039 from hashicorp/krastin/docs-telemetry-consulversion
...
docs: Clarify consul.version telemetry description
2022-01-13 12:47:33 +01:00
Blake Covarrubias
5a12f2cf20
docs: Use long form of CLI flags ( #12030 )
...
Use long form of CLI flags in all example commands.
Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>
Co-authored-by: David Yu <dyu@hashicorp.com>
2022-01-12 15:05:01 -08:00
trujillo-adam
2e90c9075d
moved consul api gateway to top of nav hierarchy
2022-01-12 14:04:03 -08:00
Kyle Havlovitz
3a19174b1c
Merge pull request #12049 from hashicorp/term-gateway-vips
...
OSS: Add virtual IP generation for terminating gateway backed services
2022-01-12 13:16:08 -08:00
Dhia Ayachi
2a0e15cd69
CA certificates relationship HL diagram ( #12022 )
...
* add diagram and text to explain certificates in consul
* use bullet points instead of enumeration
* Apply suggestions from code review
Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>
* remove non needed text and improve image
* fix cert naming
* move section to the right place
* rename DC
Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>
2022-01-12 16:10:00 -05:00
Kyle Havlovitz
d32928a98b
Add changelog note
2022-01-12 12:31:28 -08:00
Kyle Havlovitz
2ba76486d0
Add virtual IP generation for term gateway backed services
2022-01-12 12:08:49 -08:00
trujillo-adam
1fdc74c7d7
fixes to the params table
2022-01-12 11:53:32 -08:00
trujillo-adam
0d69bb1902
added beta flag to nav link
2022-01-12 11:32:32 -08:00
trujillo-adam
c9f2cc370c
missed a cmd block when adding dollar signs
2022-01-12 11:24:36 -08:00
trujillo-adam
77cecf9755
forgot to update the image version
2022-01-12 11:23:22 -08:00