Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Specifying fcrepo.ispn.repo.CacheDirPath=/tmp/FedoraRepostiroy FedoraRepo would result in a directory with LevelDB artifcatsartifacts, such as files 000003.log.

Currently, the default configuration outputs Fedora data to LevelDB (a fast filesystem based key-value store). When Fedora 4 is started, Modeshape ModeShape (actually Infinispan and LevelDB in the background) will create several directories on the filesystem. Currently, the directories created are:

...

Info
Specifying fcrepo.ispn.repo.CacheDirPath=/tmp/FedoraRepostiroy FedoraRepo would result in creating hundreds of binary files in that directory (e.g. 11333332.. , -2334002.. etc).

Using the Infinispan 6.x deprecated FileCacheStore (specified via file/infinispan.xml, currently our Modeshape ModeShape is on 5.x) results in creation of hundreds of binary files (compared to LevelDB). A hashing algorithm is used to map keys to buckets. The value files contain serialized Modeshape ModeShape objects. The key files can be read using org.infinispan.schematic.internal.document.BsonReader. (It does not seem possible to read these files using existing bson tools, like mongoDB bsondump, but further inspection is needed.)

...