-
Notifications
You must be signed in to change notification settings - Fork 91
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
Locked databases #17
Comments
I'm glad you like it! As for opening the DB in a read-only mode, I'm going to have to do some research into that and see what I can come up with. Thanks! |
This issue has been resolved for a while, I just forgot to close it. |
When trying the steps to reproduce the issue, the terminal still hangs, but there is this output:
This is with Neither When setting
I used this command to build and install boltbrowser:
Using Go 1.11, on 64-bit Arch Linux. |
Does it still work if the web server isn't running? Or are you getting garbage on the display regardless of if the DB is locked? |
By the way, people have generally had more luck with boltbrowser using a console type of I tested a locked database with the newest commit and, by default, it'll timeout trying to connect after a second. |
Hi,
First of all, thanks for creating boltbrowser, it's the shit. 👍
When creating a database with algernon, with the following command:
And then closing the web server by typing
exit
or pressing ctrl-d, accessing the database with boltbrowser works fine:Adding keys and values (on the Algernon Lua prompt) and then examining them in boltbrowser (after exiting the webserver) also works great:
However, if accessing the database while the web server is running, there is no error message and no timeout and the console interface just goes into black and hangs (can't be closed with
esc
,q
orctrl-c
), until the web server has quit and released the lock on the database.This is a feature request for adding a timeout and/or a way to exit boltbrowser when the database is locked. Ignoring the database lock and entering some sort of read-only mode would also be interesting, if possible.
Cheers,
Alexander F Rødseth
The text was updated successfully, but these errors were encountered: