summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-04-16 17:38:01 +0100
committerMatthias Radestock <matthias@lshift.net>2010-04-16 17:38:01 +0100
commit0d8d542ced01c0ff63abb2336cd963e9acb237b4 (patch)
treee934ebc9cf130f92d5f54dc11cdcc5ca06715d86 /include
parent77001fd4df8f02954d3c3c24ef636f997c228aab (diff)
downloadrabbitmq-server-git-0d8d542ced01c0ff63abb2336cd963e9acb237b4.tar.gz
tweak tx API on amqqueue
commit_all and rollback_all take the channel pid as an additional arg. This brings these functions in line with deliver and ack, which also take both a txn and ch_pid. In the queue process this saves us some book keeping. Also, in the queue process we need to clear the txn field in the ch record on commit/rollback, since otherwise a subsequent channel 'DOWN' results in some suprising and unnecessary, though perfectly safe, control flow. Finally, there is no need to check that a commit relates to a channel the queue process knows about - this is always guaranteed to be the case. All these changes were cherry-picked from the bug21673 branch and bring default closer to that branch.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions