codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

Unlink retrieved data from indexes when using DiskPersistence #194

Closed codingchili closed 6 years ago

codingchili commented 6 years ago

CQEngine keeps references to objects when using DiskPersitence. This means that all indexes will break when an object is retrieved and modified. To fix this we will use kryo to clone indexed objects.

codingchili commented 6 years ago

Note that kryo is not thread safe.

codingchili commented 6 years ago

Done for IndexedMapPersisted.