diff options
| author | Matthias Radestock <matthias@lshift.net> | 2009-09-10 00:04:14 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2009-09-10 00:04:14 +0100 |
| commit | eeb480d1e5d8fec0d98196f4332d115fa5c98c2a (patch) | |
| tree | 02c870423aa1dd4cddd2f51341dc768f8b58f724 /docs | |
| parent | cd6aed9e02dd24c59a4ddd62184ee7b0e290622c (diff) | |
| download | rabbitmq-server-git-eeb480d1e5d8fec0d98196f4332d115fa5c98c2a.tar.gz | |
initialise msg_store ref counts via a generator
This is more flexible than the previous ref_count function, allowing
the ref counts to be obtained w/o consuming any memory at the
supplying end in a variety of scenarios.
We use the dq_msg_loc ets/dets table to store the ref counts. That
table is later updated with the full details of the messages (their
file and position, etc). At the end we prune any entries that have a
ref count but no associated file - i.e. the referenced message
couldn't be found on disk.
This change should also fix the "All replicas on diskfull nodes are
not active yet" error observed in bug 21530 since we no longer need
the indices on the rabbit_disk_queue mnesia table which we identified
as the most likely cause of that error.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
