Skip to content

mv iter close fix

Matthew Von-Maszewski edited this page Jun 19, 2014 · 5 revisions

Status

  • merged to master
  • code complete - June 18, 2014
  • development started - June 17, 2014

History / Context

This is an eleveldb branch fixing problems in basho/eleveldb repository.

The primary goal of the mv-tuning7 branch in the basho/eleveldb repository was to fix a segfault problem caused by keeping a C++ class object on the Erlang heap. This goal is achieved in the branch. A secondary goal was to make the database close and interator close APIs asynchronous. The code for the secondary goal was close, but contained a race condition that could lead to new segfaults. The mv-iter-close-fix corrects the asynchronous race conditions and adds a few defensive measures.

Branch description

Clone this wiki locally