On 4 Jun 2009, at 03:55, Li Zhengji wrote:

For DB compaction, I think that besides to ask Erlang/OTP team to
modify BEAM VM, a patch to the VM is also easy and possible.

For example, I have sent a patch to user list:

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

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

This is a pretty cool hack (if it works, I haven't tried), but byte- patching binaries is not a solution I'd like to support :) -- It's good however to know
that it works and we can go find out what source to change to get to the
same behaviour.

Cheers
Jan
--




On Thu, Jun 4, 2009 at 1:27 AM, Damien Katz <[email protected]> wrote:
I was once again reminded we need to add proper Windows support for CouchDB when Mark Hammond provided a very nice patch to provide a windows version of
a couchdb unix script. (Thanks Mark!)


--
Li Zhengji


Reply via email to