Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting versions of Netty #2775

Closed
saig0 opened this issue Jul 2, 2019 · 3 comments · Fixed by #2797
Closed

Conflicting versions of Netty #2775

saig0 opened this issue Jul 2, 2019 · 3 comments · Fixed by #2797
Assignees
Labels
kind/bug Categorizes an issue or PR as a bug

Comments

@saig0
Copy link
Member

saig0 commented Jul 2, 2019

Problem

Using the zeebe-client-java and zeebe-test in version 0.19.0 can lead to the following ClassNotFoundException:

SEVERE: [Channel<4>: (0.0.0.0:25600)] Uncaught exception in the SynchronizationContext. Panic!
java.lang.NoClassDefFoundError: io/netty/util/internal/ReferenceCountUpdater
	at io.netty.buffer.Unpooled.wrappedBuffer(Unpooled.java:157)
	at io.netty.handler.codec.http2.Http2ConnectionHandler.<clinit>(Http2ConnectionHandler.java:74)
	at io.grpc.netty.NettyClientTransport.start(NettyClientTransport.java:205)
	at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33)
	at io.grpc.internal.ForwardingConnectionClientTransport.start(ForwardingConnectionClientTransport.java:33)
	at io.grpc.internal.InternalSubchannel.startNewTransport(InternalSubchannel.java:271)
	at io.grpc.internal.InternalSubchannel.obtainActiveTransport(InternalSubchannel.java:216)
	at io.grpc.internal.ManagedChannelImpl$SubchannelImpl.requestConnection(ManagedChannelImpl.java:1508)
	at io.grpc.internal.PickFirstLoadBalancer.handleResolvedAddresses(PickFirstLoadBalancer.java:59)
	at io.grpc.internal.AutoConfiguredLoadBalancerFactory$AutoConfiguredLoadBalancer.handleResolvedAddresses(AutoConfiguredLoadBalancerFactory.java:155)
	at io.grpc.internal.ManagedChannelImpl$NameResolverListener$1NamesResolved.run(ManagedChannelImpl.java:1378)
	at io.grpc.SynchronizationContext.drain(SynchronizationContext.java:88)
	at io.grpc.SynchronizationContext.execute(SynchronizationContext.java:120)
	at io.grpc.internal.ManagedChannelImpl$NameResolverListener.onResult(ManagedChannelImpl.java:1388)
	at io.grpc.internal.DnsNameResolver$Resolve.resolveInternal(DnsNameResolver.java:311)
	at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:213)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: io.netty.util.internal.ReferenceCountUpdater

The problem is caused by different versions of Netty libraries.

  • io.grpc:grpc-netty:jar:1.21.0 -> io.netty:netty-codec-http2:jar:4.1.34.Final
  • io.zeebe:broker-core -> io.netty:netty-codec-http:jar:4.1.36.Final
  • io.zeebe:atomix-cluster -> io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.27.Final

Possible Solution

  • upgrade to grpc-netty version (1.22.0) when it's released
  • downgrade version in broker-core to 4.1.34.Final

Workaround

In addition to zeebe-bom, also include the netty-bom.

<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>io.zeebe</groupId>
				<artifactId>zeebe-bom</artifactId>
				<version>0.19.0-alpha3</version>
				<scope>import</scope>
				<type>pom</type>
			</dependency>
			<dependency>
				<groupId>io.netty</groupId>
				<artifactId>netty-bom</artifactId>
				<version>4.1.37.Final</version>
				<scope>import</scope>
				<type>pom</type>
			</dependency>
		</dependencies>
	</dependencyManagement>
@saig0 saig0 added kind/bug Categorizes an issue or PR as a bug Status: Ready labels Jul 2, 2019
@saig0 saig0 added this to the GA Release readiness milestone Jul 2, 2019
@saig0
Copy link
Member Author

saig0 commented Jul 2, 2019

Should be fixed by #2779 🎉

@Zelldon
Copy link
Member

Zelldon commented Jul 3, 2019

Could you please check if this is fixed now?

@saig0
Copy link
Member Author

saig0 commented Jul 3, 2019

Well, the error has changed to

java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: io.netty.util.concurrent.SingleThreadEventExecutor.<init>(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_212]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_212]
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:961) ~[?:1.8.0_212]
	at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:926) ~[?:1.8.0_212]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_212]
	at io.atomix.utils.concurrent.SingleThreadContext$1.lambda$execute$0(SingleThreadContext.java:53) ~[atomix-utils-3.2.0-alpha2.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_212]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_212]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_212]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_212]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_212]
	at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_212]
Caused by: java.lang.NoSuchMethodError: io.netty.util.concurrent.SingleThreadEventExecutor.<init>(Lio/netty/util/concurrent/EventExecutorGroup;Ljava/util/concurrent/Executor;ZLjava/util/Queue;Lio/netty/util/concurrent/RejectedExecutionHandler;)V
	at io.netty.channel.SingleThreadEventLoop.<init>(SingleThreadEventLoop.java:65) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoop.<init>(NioEventLoop.java:137) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:138) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoopGroup.newChild(NioEventLoopGroup.java:37) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:84) ~[netty-common-4.1.34.Final.jar:4.1.34.Final]
	at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:58) ~[netty-common-4.1.34.Final.jar:4.1.34.Final]
	at io.netty.util.concurrent.MultithreadEventExecutorGroup.<init>(MultithreadEventExecutorGroup.java:47) ~[netty-common-4.1.34.Final.jar:4.1.34.Final]
	at io.netty.channel.MultithreadEventLoopGroup.<init>(MultithreadEventLoopGroup.java:59) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:78) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:73) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.netty.channel.nio.NioEventLoopGroup.<init>(NioEventLoopGroup.java:60) ~[netty-transport-4.1.37.Final.jar:4.1.37.Final]
	at io.atomix.cluster.messaging.impl.NettyUnicastService.start(NettyUnicastService.java:181) ~[atomix-cluster-3.2.0-alpha2.jar:?]
	at io.atomix.cluster.AtomixCluster.lambda$startServices$2(AtomixCluster.java:300) ~[atomix-cluster-3.2.0-alpha2.jar:?]
	at java.util.concurrent.CompletableFuture.uniCompose(CompletableFuture.java:952) ~[?:1.8.0_212]
	... 10 more

It seems that we need to upgrade the netty version also in Atomix 🎈

zeebe-bors bot added a commit that referenced this issue Jul 5, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
@menski menski self-assigned this Jul 5, 2019
zeebe-bors bot added a commit that referenced this issue Jul 8, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
zeebe-bors bot added a commit that referenced this issue Jul 8, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
zeebe-bors bot added a commit that referenced this issue Jul 8, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2797: chore(bom): import netty bom in Zeebe bom to enforce downstream version r=saig0 a=menski

I decided to do the unusual step to import netty in the Zeebe BOM as otherwise there are to many edge cases which are hard to manage with at least 3 other dependencies using netty. With this we enforce in all dependencies the same netty version even in third party apps. For now I assume this is our safest bet to not run it to this problem again.

closes #2775


Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2797: chore(bom): import netty bom in Zeebe bom to enforce downstream version r=saig0 a=menski

I decided to do the unusual step to import netty in the Zeebe BOM as otherwise there are to many edge cases which are hard to manage with at least 3 other dependencies using netty. With this we enforce in all dependencies the same netty version even in third party apps. For now I assume this is our safest bet to not run it to this problem again.

closes #2775


Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2797: chore(bom): import netty bom in Zeebe bom to enforce downstream version r=saig0 a=menski

I decided to do the unusual step to import netty in the Zeebe BOM as otherwise there are to many edge cases which are hard to manage with at least 3 other dependencies using netty. With this we enforce in all dependencies the same netty version even in third party apps. For now I assume this is our safest bet to not run it to this problem again.

closes #2775


Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

2808: chore(deps): bump mockito-core from 2.28.2 to 3.0.0 r=menski a=dependabot-preview[bot]

Bumps [mockito-core](https://github.com/mockito/mockito) from 2.28.2 to 3.0.0.
<details>
<summary>Release notes</summary>

*Sourced from [mockito-core's releases](https://github.com/mockito/mockito/releases).*

> ## v3.0.0
> <sup><sup>*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*</sup></sup>
> 
> #### 3.0.0
>  - 2019-07-08 - [2 commits](mockito/mockito@v3.0.0-beta.2...v3.0.0) by [Tim van der Lippe](https://github.com/TimvdLippe) (1), [William Collishaw](https://github.com/WilliamCollishaw) (1) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.0.0-green.svg)](https://bintray.com/mockito/maven/mockito/3.0.0)
>  - [3.x] Fix missing README logo and other broken links [([#1727](https://github-redirect.dependabot.com/mockito/mockito/issues/1727))](https://github-redirect.dependabot.com/mockito/mockito/pull/1727)
> 
> ## v3.0.0-beta.1
> <sup><sup>*Release notes were automatically generated by [Shipkit](http://shipkit.org/)*</sup></sup>
> 
> #### 3.0.0-beta.1
>  - 2019-04-25 - [5 commits](mockito/mockito@v2.27.0...v3.0.0-beta.1) by [Tim van der Lippe](https://github.com/TimvdLippe) - published to [![Bintray](https://img.shields.io/badge/Bintray-3.0.0-beta.1-green.svg)](https://bintray.com/mockito/maven/mockito-development/3.0.0-beta.1)
>  - No pull requests referenced in commit messages.
</details>
<details>
<summary>Commits</summary>

- [`885e694`](mockito/mockito@885e694) 3.0.0 release (previous 3.0.0-beta.2) + release notes updated by CI build 4141
- [`732d996`](mockito/mockito@732d996) Release 3.0.0
- [`08203aa`](mockito/mockito@08203aa) Fix missing README logo and other broken links ([#1727](https://github-redirect.dependabot.com/mockito/mockito/issues/1727))
- [`1f27cb6`](mockito/mockito@1f27cb6) 3.0.0-beta.2 release (previous 3.0.0-beta.1) + release notes updated by CI bu...
- [`68e98d2`](mockito/mockito@68e98d2) Fix version number
- [`1f14413`](mockito/mockito@1f14413) 3.0.0 release (previous 3.0.0-beta.1) + release notes updated by CI build 4127
- [`b11d8de`](mockito/mockito@b11d8de) Merge branch 'release/2.x' into release/3.x
- See full diff in [compare view](mockito/mockito@v2.28.2...v3.0.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=org.mockito:mockito-core&package-manager=maven&previous-version=2.28.2&new-version=3.0.0)](https://dependabot.com/compatibility-score.html?dependency-name=org.mockito:mockito-core&package-manager=maven&previous-version=2.28.2&new-version=3.0.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2797: chore(bom): import netty bom in Zeebe bom to enforce downstream version r=menski a=menski

I decided to do the unusual step to import netty in the Zeebe BOM as otherwise there are to many edge cases which are hard to manage with at least 3 other dependencies using netty. With this we enforce in all dependencies the same netty version even in third party apps. For now I assume this is our safest bet to not run it to this problem again.

closes #2775


Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2797: chore(bom): import netty bom in Zeebe bom to enforce downstream version r=menski a=menski

I decided to do the unusual step to import netty in the Zeebe BOM as otherwise there are to many edge cases which are hard to manage with at least 3 other dependencies using netty. With this we enforce in all dependencies the same netty version even in third party apps. For now I assume this is our safest bet to not run it to this problem again.

closes #2775


Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
@zeebe-bors zeebe-bors bot closed this as completed in #2797 Jul 9, 2019
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
zeebe-bors bot added a commit that referenced this issue Jul 9, 2019
2786: chore(deps): bump google.golang.org/grpc from 1.21.1 to 1.22.0 in /clients/go r=menski a=dependabot-preview[bot]

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.21.1 to 1.22.0.
<details>
<summary>Release notes</summary>

*Sourced from [google.golang.org/grpc's releases](https://github.com/grpc/grpc-go/releases).*

> ## Release 1.22.0
> # New Features
> 
>  * balancer/resolver: add loadBalancingConfig and pre-parsing support ([#2732](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2732))
> 
> # Performance Improvements
> 
>  * transport: share recv buffers ([#2813](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2813))
>  * Remove call to proto.Clone() in http2Server.WriteStatus. ([#2842](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2842))
> 
> # Bug Fixes
> 
>  * balancer: stop using picker from old balancer when switching balancers ([#2833](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2833))
>  * server: fix race causing streams to be terminated by GracefulStop ([#2857](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2857))
>  * grpclb: only force update picker when cache is used ([#2843](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2843))
>  * metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
>    - Special Thanks: [@&#8203;elvizlai](https://github.com/elvizlai)
>  * transport: fix bug leading to hang when invalid headers are received ([#2818](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2818))
>  * client: don't reset backoff if updating addresses while in TransientFailure ([#2740](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2740))
> 
> # Documentation
> 
>  * examples: note about ALTS special access permission on GCP ([#2846](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2846))
</details>
<details>
<summary>Commits</summary>

- [`1d89a3c`](grpc/grpc-go@1d89a3c) Change version to 1.22.0 ([#2890](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2890))
- [`73b304d`](grpc/grpc-go@73b304d) xds: bazel proto gen code generation scripts ([#2775](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2775))
- [`95da23b`](grpc/grpc-go@95da23b) xds: load report for server loads (from trailer) ([#2870](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2870))
- [`5caf962`](grpc/grpc-go@5caf962) client: addrConn NewStream and health check cleanup ([#2848](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2848))
- [`915d20d`](grpc/grpc-go@915d20d) grpc: change type of Server.conns
- [`7472edc`](grpc/grpc-go@7472edc) metadata: write original md before appended md ([#2879](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2879))
- [`70e8b38`](grpc/grpc-go@70e8b38) test: end2end test improvements separate server and client configs. ([#2877](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2877))
- [`e8b58ff`](grpc/grpc-go@e8b58ff) [xds_ignore_weight_0_localities] xds: ignore localities with weight 0 ([#2875](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2875))
- [`43c0599`](grpc/grpc-go@43c0599) test: fix flaky grpclb TestDropRequest ([#2865](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2865))
- [`ecb921d`](grpc/grpc-go@ecb921d) test: end2end test cleanup http handler server ([#2876](https://github-redirect.dependabot.com/grpc/grpc-go/issues/2876))
- Additional commits viewable in [compare view](grpc/grpc-go@v1.21.1...v1.22.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)](https://dependabot.com/compatibility-score.html?dependency-name=google.golang.org/grpc&package-manager=dep&previous-version=1.21.1&new-version=1.22.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Menski <sebastian.menski@camunda.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes an issue or PR as a bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants