hornetq/hornetq — pull request #341 by FranciscoBorges (2012-07-12 12:14:49+00:00)
Title: Fix dead-lock between StorageManager and PagingStore.

Caused by a revert of changes when code was merged from 2_2. Namely, using the
PagingStore.page(...) directly instead of StorageManager.addToPage(...).

The lesson here is:
All writes of persistent data MUST go through StorageManager, otherwise locks are
not acquired in the right order and that leads to dead-locks.

[...]

Some dead code related to the StorageManager interface was also deleted.