Skip to content

Add support for IPv6#1472

Merged
wxing1292 merged 2 commits intotemporalio:masterfrom
aromanovich:ipv6
Apr 22, 2021
Merged

Add support for IPv6#1472
wxing1292 merged 2 commits intotemporalio:masterfrom
aromanovich:ipv6

Conversation

@aromanovich
Copy link
Contributor

What changed?
Temporal server can now listen on an IPv6 address.

Why?
I'd like to use Temporal in an IPv6-only environment.

How did you test it?

  • Started several Docker containers of temporal-server image with the following env vars:
BIND_ON_IP=<my-ipv6-address>
PUBLIC_FRONTEND_ADDRESS=[<my-ipv6-address>]:7233
  • Started Docker container of temporal-web image with TEMPORAL_GRPC_ENDPOINT=[<my-ipv6-address>]:7233
  • Run several workflows, viewed them using web UI — everything seemed fine.

I couldn't manage to run all the tests according to the manual: some of them fail with seemingly random Cassandra errors regardless of my changes.

Potential risks
I might have missed other temporal components that also rely on IP addresses being v4.
The required SQL migration will probably lock the entire cluster_membership table for writes during execution, but I doubt this table ever grows large enough to make this an issue.

@aromanovich aromanovich requested a review from a team April 18, 2021 19:09
@CLAassistant
Copy link

CLAassistant commented Apr 18, 2021

CLA assistant check
All committers have signed the CLA.

@wxing1292 wxing1292 self-requested a review April 18, 2021 23:42
@aromanovich
Copy link
Contributor Author

The build is failing, but I can't see its output:

You don't appear to be a member of the required organization on GitHub.

@wxing1292
Copy link
Contributor

the test should work after the comments are addressed

@wxing1292 wxing1292 requested review from alexshtin and underrun April 20, 2021 17:58
Copy link
Contributor

@alexshtin alexshtin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contribution! Please address comments and we will merge it.

@aromanovich aromanovich force-pushed the ipv6 branch 2 times, most recently from f843a5a to 573fb1f Compare April 20, 2021 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants