--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Q4M - a Message Queue for MySQL" group.
To post to this group, send email to q4m-g...@googlegroups.com
To unsubscribe from this group, send email to q4m-general...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/q4m-general?hl=en
-~----------~----~----~----~------~----~------~--~---
Sorry for my late response.
The bug has been identified and a fix has been committed and will be
included in upcoming Q4M 0.9.0.
The details of the bug (and the fix) is as follows. In your case,
thread 5 and 78 were causing deadlocks.
Thank you very much for your report and sorry to respond so late.
$ svn log -r 276
------------------------------------------------------------------------
r276 | kazuho | 2010-01-06 15:30:30 +0900 (水, 06 1 2010) | 13 lines
fix deadlock on listener_mutex on a1 -> b3 -> a2 (by do not triggering
compaction from queue_wait)
queue_wait(...) does the following:
a1) _queue_wait_core locks listener_mutex
a2) queue_share_t::unlock_reader triggers compaction (if necessary),
and waits for completion
a3) unlock listener_mutex
writer thread does the following:
b1) commit to disk
b2) if requested, perform compaction
b3) lock(listener_mutex) -> notify waiting conns. -> unlock(listener_mutex)
b4) goto b1
------------------------------------------------------------------------
2009/12/22 James McGill <jbmc...@gmail.com>:
> --
>
> You received this message because you are subscribed to the Google Groups
> "Q4M - a Message Queue for MySQL" group.
> To post to this group, send email to q4m-g...@googlegroups.com.
> To unsubscribe from this group, send email to
> q4m-general...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/q4m-general?hl=en.
>
--
Kazuho Oku