-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Windows bwcTestSnapshots unable to upgrade a node due to assertion failing #85725
Comments
Pinging @elastic/es-distributed (Team:Distributed) |
Not sure what you mean. They did work. Is it possible we've introduced a regression here that only manifests on Windows? |
Any updates here? This has been failing for about two weeks now. |
I've been checking this and I think that frozen file preallocation is not working correctly in Windows.
It calls SetFileInformationByHandle using |
If I understand correctly before #85638 bwc upgrade tests passed successfully but without using a shared cached file at all (as its computed size was The assertion was introduced by #79447 which speeds up the shared cache file creation. I remember the Anyway, it seems that creating the file using |
Your summary is correct.
I haven't checked with a Windows machine, but I agree that we can adjust the assertion for Windows. I'll open a PR shortly. |
…indows In Windows, if there's a pre-existing shared cache file with the expected size we were deleting the existing cache file as the flag controlling the shared cache file creation wasn't populated in that case. Closes elastic#85725
CI Link
https://gradle-enterprise.elastic.co/s/vn4gmfzui5s3q
Repro line
NONE
Does it reproduce?
Didn't try
Applicable branches
master, 8.2
Failure history
No response
Failure excerpt
The text was updated successfully, but these errors were encountered: