4 ms·
antirez mentions that this forks to save, but I'm not seeing that. The backgroundsave procedure makes a copy of db to dbcopy, but then never saves dbcopy. I won
by js2 10y ago
antirez mentions that this forks to save, but I'm not seeing that. The backgroundsave procedure makes a copy of db to dbcopy, but then never saves dbcopy. I wonder how much further the TCL implementation was extended before antirez switched to C.
BTW, I hadn't heard of LLOOGG (the L in LMDB) before. It was this:
"LLOGG was web service I (Salvatore Sanfilippo) and my co-founder Fabio Pitrola ran for seven years for free."
https://github.com/antirez/lloogg/blob/master/README.md https://github.com/antirez/lloogg/blob/master/README.md
- tyingq 10y agoLooks like the intention was there, they pull in TclX with a comment about it. https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e88a8#file-lmdb-tcl-L17 https://gist.github.com/antirez/6ca04dd191bdb82aad9fb241013e... Guessing he just found some interim version that wasn't the one he actually wanted to post.
- antirez 10y agoYou are right, the intention was that but now I'm reminding that, in the middle of doing it, I thought, ok I reached the limits of the Tcl prototype, let's rewrite in C.