Jim Garlick

Results 537 comments of Jim Garlick

Let's not do a loopback mount. The fact that our admins are inexplicably resistant to cordoning off space on elcapi doesn't seem like justification for adding this to Flux, and...

> just trying to throw out whatever I can think of in hopes maybe we'll come up with something better. Gotcha. We might try again asking for a proper file...

Oh that's a good idea! Couldn't we just pre-allocate whatever large amount of space we want, then if we ever get ENOSPC, turn off the WAL and try again?

> Maybe that's something to look at, alternate storage hooks backend for sqlite that would let just point it at a pre-allocated file? Will do some digging. The first hit...

Yeah, that's kind of what I meant. I have no idea if the transition is safe. Might have to close the database (which I assume would fully process the WAL)...

Well if we have space reserved, we should be OK I would think! We should try it.

Maybe `flux config reload` could trigger a database close/open when necessary to set new pragmas OR when config says/implies that WAL should be in use but it is not (e.g....

I haven't really looked at the code closely so you might already be doing this but: - using `zeroblob` to create the data https://stackoverflow.com/questions/827010/sqlite-pre-allocating-database-size - disable the journal since WAL...

This caught my eye and I didn't want to let it go by without comment > However, philosophically I as a user should not be able to break flux (or...

I'm not sure what we could do. BTW is this missing some small connective words or quotes? I'm not parsing it. > Though echo'ing JohnG's RUNPATH is evil so use...