For my project, I need released maven dependencies to point at, so I can't move up to trunk yet.
If I'm understanding things correctly, the default behavior of in the trunk code, is that if I only want the latest version, then, I just do nothing special, and it only keeps the latest version.
Is that also true in the 1.4.197 release? I've been calling the setVersionsToKeep(0), as despite the documentation, it seems to be used for some things in the file store.... but that's just from a cursory look at the code.
That's really all I want, is the disk-backed ConcurrentHashMap behavior, not the version store.
I tried not calling compactMoveChunks(), but in my use pattern, it leaves the DB way too big.
It seems to be ok, if I only call it when there aren't any other threads hitting the data store. If I call it when other things are happening, it breaks the MVStore pretty reliably, per the other thread I started. So there are obviously some multi-threading issues in the 1.4.197 line.
I could do some testing at some point with your trunk code, if you want me to see if the multithread issues are fixed in trunk.
Thanks,
Dan