-
Notifications
You must be signed in to change notification settings - Fork 10
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
[question] can only be used with a log that provides a directory #13
Comments
normally, you have a flumelog which is a file, and then a bunch of flumeviews, which also probably have files. To avoid a configuration nightmare, the views just created files or directories based on their name, next to the log. flumelog-memory doesn't have a log, it just creates a temporary log in memory. some other views (such as flumeview-reduce) notice this, and when used with a memory log, provide a memory view, but flumeview-level doesn't have an easy way to do this, so it throws an error instead, because it doesn't know where to put the file. really the memory log thing is just for testing, but to make sure that it really really works, I usually test with a real log anyway. |
Would it be appropriate to default to |
@christianbundy yes that would work. sometimes maybe print something in that case though because accidentially passing a memory log when you ment not to could be a mistake |
I was wondering if anyone could explain this restriction, where the flumelog must have a local directory. It seems like the dir name is only used to create the location for the leveldb, but is there another reason for this design?
https:/flumedb/flumeview-level/blob/master/index.js#L27
The text was updated successfully, but these errors were encountered: