l***@googlecode.com
2013-05-11 09:57:58 UTC
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 167 by ***@googlemail.com: Error if directory we're
trying to create the database in doesn't exist
http://code.google.com/p/leveldb/issues/detail?id=167
What steps will reproduce the problem?
1. open a database
2. bazinga!
(we should ditch the standard questions here..)
/*What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.*/
When a database is being opened in a folder which itself does not exist,
LevelDB errors with a dubious error message:
OpenError: IO error: ./db/root.db/LOCK: No such file or directory
at [..]/levelup.js:113:25
As this came up quite some times, we discussed the process here; either the
path will recursively be created or instead an error being thrown
indicating the specific issue.
We've been talking about this issue on GitHub regarding LevelDOWN / UP [the
NodeJS bindings for LDB] (https://github.com/rvagg/node-levelup/issues/135)
and came to the conclusion this would have to be implemented in LevelDB
itself.
Of course, I'd welcome a discussion here — thanks!
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 167 by ***@googlemail.com: Error if directory we're
trying to create the database in doesn't exist
http://code.google.com/p/leveldb/issues/detail?id=167
What steps will reproduce the problem?
1. open a database
2. bazinga!
(we should ditch the standard questions here..)
/*What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.*/
When a database is being opened in a folder which itself does not exist,
LevelDB errors with a dubious error message:
OpenError: IO error: ./db/root.db/LOCK: No such file or directory
at [..]/levelup.js:113:25
As this came up quite some times, we discussed the process here; either the
path will recursively be created or instead an error being thrown
indicating the specific issue.
We've been talking about this issue on GitHub regarding LevelDOWN / UP [the
NodeJS bindings for LDB] (https://github.com/rvagg/node-levelup/issues/135)
and came to the conclusion this would have to be implemented in LevelDB
itself.
Of course, I'd welcome a discussion here — thanks!
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.