krestenkrab / hanoidb

Erlang LSM BTree Storage
Apache License 2.0
307 stars 58 forks source link

got terminate({function_clause,[{hanoidb_nursery,transact1 ... #13

Closed norton closed 12 years ago

norton commented 12 years ago

Testing hanoidb's transact API.

The fix for Issue #12 has a problem.

got terminate({function_clause,[{hanoidb_nursery,transact1,[[{put,<key1>>,<<"val1">>},{put,<<key2>>,<<"val2">>}],{ok,{nursery,{file_descriptor,prim_file,{#Port<0.3091>,28}},"data/iodb_nonode@nohost",{0,nil},0,0,{1348,538134,43229},8,[{expiry_secs,0},{compress,snappy},{page_size,8192},{read_buffer_size,524288},{write_buffer_size,524288},{merge_strategy,predictable},{sync_strategy,none},{expiry_secs,undefined}],0,0}},<0.109.0],[{file,"src/hanoidb_nursery.erl"},{line,278}]}

Please review and merge this fix:

https://github.com/norton/hanoidb/commit/1bbea4b87d61099c8022002bde4e2408c83510bb

krestenkrab commented 12 years ago

Integrated in 4023ecf01351e2eeae84053bfa6f5e02debd1247