OpenHFT / Chronicle-Map

Replicate your Key Value Store across your network, with consistency, persistance and performance.
http://chronicle.software/products/chronicle-map/
Apache License 2.0
2.73k stars 467 forks source link

The way getFileStores() is used poses problems in a containerized application #518

Closed Sax388 closed 3 months ago

Sax388 commented 4 months ago

I don't understand why the following doesn't use Files.getFileStore(this.file.toPath()). This retrieves the overlay correctly but the current implementation doesn't, which prevents the creation of a persisted chronicle map.

https://github.com/OpenHFT/Chronicle-Map/blob/79e6e29ebe15a7a72302310738298ac8fabec840/src/main/java/net/openhft/chronicle/hash/impl/VanillaChronicleHash.java#L1100-L1113

JerryShea commented 3 months ago

Fixed by #519