Issues with riak_core and pending handoff

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Issues with riak_core and pending handoff

Chris Jimison
Hello all,

I am having an issue with integrating riak_core into my elixir application.  I can run my app and join the cluster however all the handoff's are getting stuck.

iex([hidden email])25> :riak_core_console.member_status([])
================================= Membership ==================================
Status     Ring    Pending    Node
-------------------------------------------------------------------------------
valid     100.0%     50.0%    '[hidden email]'
valid       0.0%     50.0%    '[hidden email]'
-------------------------------------------------------------------------------
Valid:2 / Leaving:0 / Exiting:0 / Joining:0 / Down:0
:ok

iex([hidden email])26> :riak_core_console.ring_status([])
================================== Claimant ===================================
Claimant:  '[hidden email]'
Status:     up
Ring Ready: true

============================== Ownership Handoff ==============================
Owner:      [hidden email]
Next Owner: [hidden email]

Index: 22835963083295358096932575511191922182123945984
  Waiting on: ['Elixir.Pingring.Vnode']

Index: 45671926166590716193865151022383844364247891968
  Waiting on: ['Elixir.Pingring.Vnode']

Index: 114179815416476790484662877555959610910619729920
  Waiting on: ['Elixir.Pingring.Vnode']
 
(with may more waiting)


and any help would be GREATLY appreciated!

Thanks!

-Chris

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Issues with riak_core and pending handoff

Gianluca Padovani
Hi Chris,
I suggest you to put some logs on this function that are involved in handoff like handoff_starting and is_empty. What commands did you use to join the nodes? :riak_core.join('[hidden email]')? Did you try to run all nodes on single machine? Do you have some errors in logs?

Now, I'm not able to run the example so I can't go in details now sorry :-(.

If you want I'm writing a series of posts about using riak_core in elixir. You can find it here http://medium.com/@gpad and an example of an application at https://github.com/gpad/no_slides

Let me know

bye
Gianluca

_______________________________________________
riak-users mailing list
[hidden email]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
Loading...