diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-26 10:44:36 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-11-26 10:44:36 +0000 |
| commit | e3a5033d09468661d401ec465b509c7e8a14f638 (patch) | |
| tree | 6ab2313fa5a9ff9ddfb27b5b92bf0c56cee39e74 /include | |
| parent | 5c6785ffd469f781deed3968f5e8f316eb8782aa (diff) | |
| download | rabbitmq-server-git-e3a5033d09468661d401ec465b509c7e8a14f638.tar.gz | |
mark all messages enqueued in the slave as 'delivered'
which is a much better than the set_delivered logic, which we can now
get rid of.
In doing so it also becomes clear that having the 'delivered' flag in
the #message_properties is less than ideal. It is mutable and we never
bothered updating vq s.t. it sets the flag correctly. So lets get rid
of it and add a parameter to bq:publish instead
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index b2832b456d..0ccb80bf02 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -78,8 +78,7 @@ -record(event, {type, props, timestamp}). --record(message_properties, {expiry, needs_confirming = false, - delivered = false}). +-record(message_properties, {expiry, needs_confirming = false}). -record(plugin, {name, %% atom() version, %% string() |
