incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Zhengji <>
Subject DB compaction on Windows
Date Wed, 20 May 2009 11:26:56 GMT
As we know, BEAM emulator need to add a share mode bit when calling
CreateFile (GENERIC_SHARE_DELETE) for DB compaction.

It's difficult for me to compile the emulator, so I have tried IDA instead.

Here is a quick fix for R13B(5.7.1) beam.smp.dll (MD5:

Change the byte at 0xB5720 from 0x03 to 0x07. Enjoy DB compaction.

For a better solution, could someone here ask the Erlang/OTP team to
modify the emulator?

Li Zhengji

View raw message