appy-one / acebase

A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
MIT License
481 stars 27 forks source link

Fix writing inline keys with unicode chars #212

Closed appy-one closed 1 year ago

appy-one commented 1 year ago

Fixes the issue where keys with unicode characters are not correctly written to the db causing them to become unreadable. This only was able to happen if the internal Key Index Table was full, or if IPC was used in clustering mode. This will not fix existing data, but does prevent it from happening in the future. If you have a broken db because of this issue and want it fixed, let me know. Fixes #209