summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* move channel lookups into handle_ methodsbug23626Matthias Radestock2011-01-201-43/+29
| | | | | | | This avoids double lookup in some paths and unnecessary invocations of run_message_queue. Also inline recorde_current_channel_tx, which eliminates some lookup. And allow rollback to trigger the forgetting of a channel record.
* Deal with the possibility of a ch DOWN overtaking other messages from the ↵Matthew Sackman2011-01-201-14/+26
| | | | channel
* Merge this to stop it danglingSimon MacMullen2011-01-200-0/+0
|\
| * start confirm sequence numbering at 1 instead of 0bug23671Matthias Radestock2011-01-111-1/+1
| | | | | | | | in order to avoid conflict with special meaning of deliver_tag=0 in basic.ack
* | Merged bug23434 into defaultEmile Joubert2011-01-190-0/+0
|\ \
* | | Correct all remaining copyright noticesbug23434Matthew Sackman2011-01-1913-382/+155
| | |
* | | Correct copyright messageMatthew Sackman2011-01-191-1/+1
| | |
* | | Update .erl and .hrl license boilerplatesMatthew Sackman2011-01-1993-2323/+997
|/ /
* | merge bug23705 into defaultMatthias Radestock2011-01-180-0/+0
|\ \
* | | sync_timer => sync_timeoutbug23705Matthew Sackman2011-01-182-8/+8
| | |
* | | Specialise the sync_timer in order to permit us to unset the sync_timer_refMatthew Sackman2011-01-182-5/+13
|/ /
* | merge bug23631 into defaultMatthias Radestock2011-01-186-58/+99
|\ \
| * \ Merging heads of defaultMatthew Sackman2011-01-183-9/+13
| |\ \
| | * | Correct specsMatthew Sackman2011-01-183-9/+13
| | | |
| * | | Fix surprisingly long-lived mistake.Simon MacMullen2011-01-181-1/+1
| |/ /
| * | Merging bug23698 into defaultMatthew Sackman2011-01-183-34/+45
| |\ \
| | * | Or notSimon MacMullen2011-01-181-1/+0
| | | |
| | * | Merge bug23689 into default.Simon MacMullen2011-01-184-33/+27
| | |\ \
| | | * | small simplifying refactorMatthias Radestock2011-01-181-19/+15
| | | | |
| | | * | cosmeticMatthias Radestock2011-01-181-4/+3
| | | | |
| | | * | cosmeticMatthias Radestock2011-01-181-4/+1
| | | | |
| | * | | indicate absence of config files more clearlybug23689Matthias Radestock2011-01-181-1/+1
| | | | |
| | * | | oopsMatthias Radestock2011-01-161-2/+0
| | | | |
| | * | | display config file locations on startupMatthias Radestock2011-01-162-2/+22
| | | | |
| * | | | Inliningbug23698Matthew Sackman2011-01-181-5/+3
| | | | |
| * | | | A little more abstraction never hurtMatthew Sackman2011-01-181-23/+16
| | | | |
| * | | | Some might say this is a touch over abstracted. It's quite pretty thoughMatthew Sackman2011-01-181-6/+27
| | | | |
| * | | | don't send routing-failure-induced confirms straight awayMatthias Radestock2011-01-171-5/+6
| | | | | | | | | | | | | | | | | | | | to allow for coalescing with preceding confirms.
| * | | | prioritise confirms and coalesce them until we see another commandMatthias Radestock2011-01-171-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As well as sending confirms when the channel goes idle we also send them on the first non-confirm (Erlang) message. I.e. coalescing is restriced to adjacent confirms in the channel's mailbox. By prioritising the 'confirm' erlang messages we shuffle all confirms to (near) the top of the mailbox, adjacent to each other. With this change we get our 'confirms will be sent eventually' guarantee back. And performance appears to remain unchanged.
| * | | | coalesce confirms in channel, for better performanceMatthias Radestock2011-01-171-8/+22
| | | | | | | | | | | | | | | | | | | | | | | | | We accumulate confirms in the channel and only send them when the channel goes idle.
* | | | | cosmeticbug23631Matthias Radestock2011-01-181-3/+2
| | | | |
* | | | | correct specsMatthias Radestock2011-01-181-3/+2
| | | | |
* | | | | Added a test which will, timing dependent, hit the close_fds callback stuff. ↵Matthew Sackman2011-01-171-0/+30
| | | | | | | | | | | | | | | | | | | | Code coverage in tests bares this out
* | | | | Merging default into bug23631Matthew Sackman2011-01-172-7/+8
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Every msg in a queue should have a different guid. SighMatthew Sackman2011-01-171-6/+7
| |/ / /
| * | | allow hibernation after confirmMatthias Radestock2011-01-171-1/+1
| |/ /
* | | refactor: extract helper for initialising test msg store clientMatthias Radestock2011-01-161-16/+12
| | |
* | | cosmeticMatthias Radestock2011-01-161-4/+4
| | |
* | | cosmetic: get rid of intermediate var and save some spaceMatthias Radestock2011-01-161-8/+7
| | |
* | | make recover_index_and_client_refs do what it saysMatthias Radestock2011-01-161-8/+8
| | |
* | | cosmeticMatthias Radestock2011-01-161-10/+8
| | |
* | | some cosmetic and minor refactoring for clarityMatthias Radestock2011-01-161-22/+25
| | |
* | | refactor: extract helper fun for updating the pending confirm mappingMatthias Radestock2011-01-161-43/+35
| | | | | | | | | | | | and invoking the MsgOnDiskFun client callback
* | | simplifying refactorMatthias Radestock2011-01-161-13/+11
| | |
* | | merging default into bug23631Matthew Sackman2011-01-153-155/+59
|\ \ \ | |/ /
| * | Merge bug23675Simon MacMullen2011-01-141-8/+17
| |\ \
| | * \ Merge with defaultbug23675Rob Harrop2011-01-141-8/+17
| | |\ \
| | | * \ Merge with defaultRob Harrop2011-01-139-290/+298
| | | |\ \
| | | * | | Honour the requeue flag in basic.nackRob Harrop2011-01-121-2/+3
| | | | | |
| | | * | | Merge with defaultRob Harrop2011-01-111-8/+16
| | | |\ \ \