https://bugs.kde.org/show_bug.cgi?id=404057

--- Comment #38 from Kai Krakow <k...@kaishome.de> ---
(In reply to Martin Steigerwald from comment #35)
> I like the idea to use one DB per filesystem. This way you can save the
> complete filesystem UUID and/or other identifying information *once* and use
> the full 64 bit for the inode number thing.

Such things are always difficult (the same for your hidden ID file in the root
of an FS): It requires permissions you may not have, thus you may decide to use
the most top-level directory you have write permissions to. And at that point
I'd define that the storage path is undefined.

Other solution: Name the index files by UUID and store it at a defined
location. We'll have other problems now:

Do you really want multiple multi-GB mmaps LMDB files mapped at once in RAM?
With even more chaotic random access patterns (and their potential to push your
precious cache out of memory)? Also, multi-file databases are hard to sync with
each other: At some point we may need to ensure integrity between all the
files. This won't end well. I'm all in for a single-DB approach.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to