-
Notifications
You must be signed in to change notification settings - Fork 459
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
environmentd: panicked at 'port re-use', src/orchestrator-process/src/lib.rs:185:37 when restarted #13235
Comments
To reproduce, run this test a couple of times:
|
I tried giving ample sleeps between the steps but this does not fix the issue. |
I have not been able to reproduce this locally. Does it work if you remove the |
@jkosh44 Can you please try this test case:
|
Disable the ClusterCreate/ClusterDrop/ReplicateCreate/ReplicaDrop due to MaterializeInc#13235 that makes those checks incompatible with whole-Mz restart
@philip-stoev Is this on
|
It is now called |
No worries, that worked for me. That test also passes for me locally though.
|
I think the cause of the panic would be that there are multiple metadata files, each with the same ports in them. I'm not sure how we'd end up in that scenario though. One possibility is that we just need to call fsync after dropping the old files. |
Presumably fixed by #15810. |
Also reenable CreateCluster, DropCluster, CreateReplica, DropReplica as they appear fixed, see MaterializeInc#13235
Also reenable CreateCluster, DropCluster, CreateReplica, DropReplica as they appear fixed, see MaterializeInc#13235
Also reenable CreateCluster, DropCluster, CreateReplica, DropReplica as they appear fixed, see MaterializeInc#13235
Also reenable CreateCluster, DropCluster, CreateReplica, DropReplica as they appear fixed, see MaterializeInc#13235
Also reenable CreateCluster, DropCluster, CreateReplica, DropReplica as they appear fixed, see MaterializeInc#13235
What version of Materialize are you using?
v0.26.1-dev
How did you install Materialize?
Docker image
What is the issue?
If
environmentd
is restarted after aCREATE CLUSTER
command, it will panic.Relevant log output
The text was updated successfully, but these errors were encountered: