diff options
| author | Matthew Sackman <matthew@lshift.net> | 2009-07-08 12:35:10 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2009-07-08 12:35:10 +0100 |
| commit | cc9b1438b2441ebc7bc3c345fbc2b2b1f528821a (patch) | |
| tree | 84723017598b55dcb63d2bc8a1dad99aa163eec5 /docs | |
| parent | 9e722b4cb4f1a49a3cc3f50b9e1e4fcf442996fd (diff) | |
| download | rabbitmq-server-git-cc9b1438b2441ebc7bc3c345fbc2b2b1f528821a.tar.gz | |
found a bug in the memory reports in combination with hibernation in that if a process comes out of hibernation, then does under 10 second's work before hibernating again then it'll only issue a memory report when it goes back to hibernation, thus it'll always claim to the queue_mode_manager that it's hibernating. Thus now, when hibernating, or when receiving the report_memory message, we set state so that when the next normal message comes in, we always send a memory report after that message. This ensures that when a process wakes up and does some real work, the queue_mode_manager will be informed.
Applied this, and the ability to hibernate to the disk_queue too. Plus some minor refactoring and better state field names. All tests pass, and the disk_queue really does hibernate with the binary backoff as I wanted.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
