DB files incompatible with non-debian files
We've found that a database files written on Debian are not readable on CentOS, and vice versa.
The issue stems from a very old commit from close to with tokyocabinet came to Debian:
From what I can tell, this commit did little more than ensure that the files no longer conform to the spec (http://
The Tokyocabinet code seems to default to I/O in host order, and this change makes all Debian platforms write files in anti-host order. A change aimed at portable files (as the comment implies) would have made byte-swapping conditional on the architecture.
This is all water under the bridge because it's been this way since 2007. But should there be a package variant which offers portable files conforming to the spec (little-endian)?
Can you help with this problem?
Provide an answer of your own, or ask Josh Littlefield for more information if necessary.