-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
storage: fatal error on windows related to rocksdb sst files while handling sideload event #37427
Comments
#37315 looks related. we have an independent report on ZD as well I'll link. Should we close 37315 as duplicate? |
I think it is related, i also do lot of batch inserts in my process. |
i do rerun my app with sql logs |
@mdiazpsl to clarify: are you running a single node when this happens? |
yes this time it was a single node |
RocksDB provides different delete folder methods depending on the environment (windows, posix etc). Unfortunatelly the implementations treat any error returned as I/O error and convert the error codes to strings. So on CockroachDB side we can only distinguish a serious error (disk corruption) from a harmless error (file or folder doesn't exist) by parsing the error as a string. Different platforms will return different strings and in case of Windows the string wasn't in the list that we used to recognize folder not found. Fixes cockroachdb#37819 Fixes cockroachdb#37427 Release justification: bug fix for existing functionality Release note: None
41160: rocksdb: incorrectly identifying not found folder error on windows r=darinpp a=darinpp RocksDB provides different delete folder methods depending on the environment (windows, posix etc). Unfortunatelly the implementations treat any error returned as I/O error and convert the error codes to strings. So on CockroachDB side we can only distinguish a serious error (disk corruption) from a harmless error (file or folder doesn't exist) by parsing the error as a string. Different platforms will return different strings and in case of Windows the string wasn't in the list that we used to recognize folder not found. Fixes #37819 Fixes #37427 Release justification: bug fix for existing functionality Release note: None Co-authored-by: Darin <[email protected]>
Describe the problem
no idea how to reproduce(except with my app) i just run an app that make los of queries.
Environment:
org.postgresql
postgresql
42.2.5
The text was updated successfully, but these errors were encountered: