On May 21, 2010, at 10:52 PM, Marc MERLIN wrote:
> Right. So it sounds like
> 1) __db* files can't be turned off since for most users they are useful (not
> for us though).
I'm not sure how you arrive at this conclusion. Dataabses (with concurrent access) locks,
the locks are in __db* files, and only userst need locks?!?
But there are many alternatives, including just disabling all locks.
> 2) I could hack rpm to find all the exit paths or wrap it and auto delete
> the db files on exit
Its easier than that. There is code that removed __db* files at end-of
execution. It very much was not the right thing to do, but Have fun!
> 3) if I have an rpmdb synced over a machine that has non matching __db*
> files, nothing really bad will happen, but rpm may act weird and it's
> just better not to get in that situation, potentially via #2 or other
Why sync files that aren't useful in the first place?
73 de jeff
Received on Sat May 22 05:20:27 2010