macan / Pomegranate

An Efficient Distributed File/Blob/Key-Value Store for Billions of Small Files
http://github.com/macan/Pomegranate/wiki
121 stars 8 forks source link

ITB_JUST_SPLIT Assertion failed #10

Closed macan closed 12 years ago

macan commented 12 years ago

Enable memory limit, run unit test. After running a few TXGs, mds.ut crashed with ITB reference assertion failure.

It is a conflict between txg_wb() and aur_itb_split(). The usage of itb_put() should be revised.

macan commented 12 years ago

In aur_itb_split(), do not free the ITB when the flag is ITB_JUST_SPLIT.

macan commented 12 years ago

fix it in commit 4a05022