jjzhang / booth

The Booth Cluster Ticket Manager
GNU General Public License v2.0
16 stars 37 forks source link

Fixed:booth daemons may cause a dead-lock. #25

Closed seinocluster2 closed 12 years ago

seinocluster2 commented 12 years ago

Problem: When two or more booth daemons was started at the same time, then booth daemons is stopped by pacemaker to cause time-out. this situation is caused by a dead-lock among booth daemons. then booth daemons is waiting a received message each other. And this problem happen the process of "catch up ticket".

Solution: I make a thread in the process of "catch up ticket". As booth daemons is waiting a received message, we can sent a message to a another node.

seinocluster2 commented 12 years ago

I could update a pull request after git had been rebase. Could you merge without a problem?