Closed Tazinho closed 3 years ago
Thanks! I'll try to reproduce this
Sorry, I was a bit too quick. After I posted here, I reran the code above several times and couldn't reproduce the error anymore...(I edited the post accordingly, but hope to come up with a better reprex at some point...).
Don't worry I found the problem I think
I think it is fixed now...
No it isn't :(
OK I think this really fixes it: https://github.com/jeroen/mongolite/commit/a3cbda0af70a4aa3b4584e506238b35df9db3c0b
Many thanks for your quick support!
I've sent it off to CRAN. I really hope this problem is finally fixed.
I think so. Updating to the current DEV-branch seems to have solved this error for me.
Edit: Unfortunately the example below doesn't reproduce the error anymore.
I am having a similar issue as posted in #178, #162 and #184: "Error in mongo_get_default_database(client) : Client has been destroyed." It appears when I "use" mongo in different processes or sequentially write to it and I have no idea how to avoid it.
It's not straight forward to reproduce, but it gets relatively reliable triggered with the following code.