-
Notifications
You must be signed in to change notification settings - Fork 1k
make initdb
slows to a crawl/fails when docker-compose
is compose v2
#10772
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
Comments
Are you able to narrow down which of the I'm guessing it's probably this one: |
Parts of #9993 might be a potential solution for this. |
Yep, it's that one. My guess is that compose V2 has broken/buggy pipe behavior, since that's been a consistent problem across |
I can give that changeset a try in a moment! |
If the pipe behavior is the culprit, did this fix it? #10978 |
I'll re-try this afternoon and find out. |
@woodruffw Have you been able to determine if this is resolved? |
Sorry, this fell off my radar! Trying now (as soon as Docker Desktop finishes updating...) |
It appears to be working now! I see this in my logs:
...but Warehouse does appear to come up correctly and the commands all still exit successfully. Closing. |
For that last message, I've supplied #11182 to fix it. |
Awesome. I can test that PR tonight.
Sent from mobile. Please excuse my brevity.
… On Apr 14, 2022, at 4:36 PM, Mike Fiedler ***@***.***> wrote:
For that last message, I've supplied #11182 to fix it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you modified the open/close state.
|
Noticed this while trying to stand up a local instance of Warehouse with compose v2 enabled:
Observed behavior:
Running
make initdb
produces much more output on the terminal than it normally doesThe console scrollback for the
db
service is filled with lots of SQL syntax errors, e.g.:I let
make initdb
run for about ~5 minutes, which is several times longer than it takes to complete when using compose v1, without visible progress beyond the initial SQL load phase.Reproduction steps:
These steps are for macOS.
Cmd + ,
)make serve
make initdb
(in a separate window)The text was updated successfully, but these errors were encountered: