Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinity loop in synchronisation when priorities are higher than maximum in slave restart #795

Closed
dcorbacho opened this issue May 13, 2016 · 1 comment
Assignees
Milestone

Comments

@dcorbacho
Copy link
Contributor

dcorbacho commented May 13, 2016

When pushing messages with a priority higher than the maximum, mirror node process(es) will crash when a slave node is restarted. That causes an infinity loop as synchronization is not able to finish.

=ERROR REPORT==== 12-May-2016::17:04:02 ===
** Generic server <0.30173.0> terminating  
** Last message in was {'$gen_cast',
                           {sync_start,#Ref<8977.0.524290.86024>,
                               <8977.24530.3>}}
** When Server state == {state,
                         {amqqueue,
                          {resource,<<"/">>,queue,<<"p_2">>},
                          true,false,none,
                          [{<<"x-max-priority">>,long,3}],
                          <8977.18865.3>,
                          [<0.30135.0>,<8978.24713.6>],
                          [],
                          ['rabbit@t-srv-rabbit06','rabbit@t-srv-rabbit05'],
                          [{vhost,<<"/">>},
                           {name,<<"ha.all">>},

.......
                         {dict,0,16,16,8,80,48,
                          {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                          {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
                         {dict,0,16,16,8,80,48,
                          {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                          {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}},
                         {state,
                          {dict,1,16,16,8,80,48,
                           {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
                           {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],
                             [[<8977.22136.3>|{delegate_12,<8977.22136.3>}]],
                             []}}},
                          delegate},
                         9462}
** Reason for termination ==
** {not_found,5}

Found while analyzing #687

@michaelklishin
Copy link
Member

Nevermind my earlier comment, I now see a couple of recent comments in #687.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants