LevelDB introduction #51
Loading…
Reference in a new issue
No description provided.
Delete branch "ku/eleveldb"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Recently we have admitted we need a simple persistent metadata store in each flu server. Maybe it could be used for other places, but for now it just replaces checksum table only.
This pull request may include several new test failures.
This pull request won't include no new feature, nor fix to known bugs.
Related work: https://github.com/basho/sext/pull/2
Hrm, I'm seeing three eunit test failures at commit 18cb14f6c9403edec2c847bc28c739f8ac1ed5bf
machi_pb_high_client_test
machi_pb_high_client_test: smoke_test_ (module 'machi_pb_high_client_test')...failed
in function machi_pb_high_client_test:'-smoke_test2/0-fun-4-'/2 (test/machi_pb_high_client_test.erl, line 125)
in call from machi_pb_high_client_test:'-smoke_test2/0-lc$^8/1-11-'/2 (test/machi_pb_high_client_test.erl, line 124)
in call from machi_pb_high_client_test:smoke_test2/0 (test/machi_pb_high_client_test.erl, line 122)
**error:{assertEqual_failed,[{module,machi_pb_high_client_test},
{line,125},
{expression,"file : list_dir ( filename : join ( [ Dir , "data" ] ) )"},
{expected,{ok,[]}},
{value,{ok,["prefix^3643d878-1b7a-4f9a-98c5-7244cc760074^1"]}}]}
machi_markle_tree_test:
machi_merkle_tree_test: basic_test (module 'machi_merkle_tree_test')...failed
in function machi_merkle_tree_test:'-basic_test/0-fun-1-'/3 (test/machi_merkle_tree_test.erl, line 45)
**error:{assertEqual_failed,[{module,machi_merkle_tree_test},
{line,45},
{expression,"length ( machi_merkle_tree : naive_diff ( T1 , T2 ) )"},
{expected,1},
{value,8}]}
machi_ap_repair_eqc: known bug (#43)
Also, there are several Dialyzer warnings to clean up. ^_^
I think that failing test 2, in machi_markle_tree_test.erl, is a separate, non-deterministic problem. I'll open a ticket about that.
Fixed all tests except double write one, but dialyzer check is still failing.
Scott, I've fixed all test failures. This is ready again and thank you for initial review. btw I haven't seen any test failure around merkle trees.
todo later:
We'll have some file handle sharing limitations to work around, but yes, we should be thinking about that.
Meanwhile, +1, many thanks!