--
You received this message because you are subscribed to the Google Groups "MapDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapdb+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Markus,
sorry for late response. There could be two problems:
1) Storage is not correctly closed and gets corrupted. Transaction disabled settings will also disable crash protection and there is 90% chance of corruption with unclean shutdown.
2) The kryo serializer uses 'stream' of data approach. Ie it
reads until data are available. MapDB expects serializer to read and write the same amount of data. It is performance optimalization.
I think 2) is most likely the cause. For now solution is to wrap your serializer in something which does data copy on deserialization and provides limits. There is no such thing yet, except Serializer.CompressionWrapper.
I expect to fix this behavior before stable 2.0 release. This performance
optimalization will be only available to 'trusted' serializers, which are bundled with MapDB.
Regards,
Jan Kotek
--
I expect to fix this behavior before stable 2.0 release. This performance
optimalization will be only available to 'trusted' serializers, which are bundled with MapDB.
--Dmitriy Shabanov