Skip to content
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

Error on windows when getting object #325

Closed
lfdversluis opened this issue Jan 4, 2016 · 1 comment
Closed

Error on windows when getting object #325

lfdversluis opened this issue Jan 4, 2016 · 1 comment

Comments

@lfdversluis
Copy link

I am getting an IO error: ...\000005.sst: Could not create random access file. on Windows, but not on any other platform. It seems to be reported here as well, but no fix for this to be found. Is there any way to fix this error?

@cmumford
Copy link
Contributor

cmumford commented Jan 4, 2016

leveldb doesn't directly do any file I/O. It requires that the port implement an leveldb::Env class - so that's up to whoever made this port. leveldb does provide a POSIX Env (src/util/env_posix.cc), but most ports do not use that. leveldb does not provide a Windows Env.

I think to solve this somebody will need to debug the actual Env used in your product. If it's a Windows only bug then look for UNICODE/utf8 path encoding issues, paths which are too long, or permissions issues.

@cmumford cmumford closed this as completed Jan 4, 2016
maochongxin pushed a commit to maochongxin/leveldb that referenced this issue Jul 21, 2022
…ark. (google#466)

Describe how to use the cpupower command to disable CPU frequency scaling.
Document this, since there are other ways that don't see to have the same
effect. See google#325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants