summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2012-11-26 10:44:36 +0000
committerMatthias Radestock <matthias@rabbitmq.com>2012-11-26 10:44:36 +0000
commitab9ab903487244bcbcb50b982f1c44cfcfbe20f0 (patch)
tree6ab2313fa5a9ff9ddfb27b5b92bf0c56cee39e74 /include
parentbf87506cea0640482af76fcb580229bed2e2c74e (diff)
downloadrabbitmq-server-ab9ab903487244bcbcb50b982f1c44cfcfbe20f0.tar.gz
mark all messages enqueued in the slave as 'delivered'bug25323
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.hrl3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index b2832b45..0ccb80bf 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()