-
Notifications
You must be signed in to change notification settings - Fork 649
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
WSL Fault under Ubuntu impacting Docker #144
Comments
Same issue with etcd on WSL:
|
is this a boltdb issue or a WSL issue? |
WSL. It seems to be fixed in 18912 (prerelease). |
thanks. then i will close the issue on boltdb side. |
This issue is not fixed. The problem is caused by creating the DB with 16 KiB of data then calling mmap() with a size of 32 KiB. That's legal on most UNIX implementations but not WSL. Forcing the initial file size to be 32 KiB by doubling the the number of meta pages "fixes" the problem. That is changing the Lines 426 to 428 in 68cc10a
That is obviously a hack but it illustrates that the code is relying on being able to |
Noted from here microsoft/WSL#3162 it seems BBolt is falling apart under WSL.
This is impacting docker boot-up.
The text was updated successfully, but these errors were encountered: