Kyorai / riak_core

Distributed systems infrastructure used by Riak.
Apache License 2.0
101 stars 23 forks source link

Format Error #3

Closed imetallica closed 7 years ago

imetallica commented 8 years ago

Hi, everytime I try to add a new node to form a cluster I've this message and vnodes are never transfered.

22:41:06.199 [debug] started riak_core_metadata_manager exchange with 'hi@127.0.0.1' (<0.793.0>)
22:41:06.202 [debug] FORMAT ERROR: "Tree ~p level ~p bucket ~p\nL=~p\nR=~p\nD=\n" [{state,<<0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0>>,eleveldb,cluster_meta,3,65536,256,0,{dict,0,16,16,8,80,48,{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},<<>>,"stuff/data/ho/cluster_meta/trees",undefined,full,[],0,{array,2428,0,0,10000}},1,0,[],[],[]]
22:41:06.202 [debug] completed metadata exchange with 'hi@127.0.0.1'. nothing repaired

I'm trying to build a distributed queue. Any ideas on why this is happening?

Licenser commented 8 years ago

The message is a simple format error (it is fixed in the latest version I think?), it has nothing to do with handoffs however lager is smart enough not to crash on those.

imetallica commented 8 years ago

@Licenser so, what is the problem with my code?

https://gist.github.com/imetallica/83ac425410dfe5cf3c57b96e898896a1