summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Typeo in spec, and simplify delete_queues as order of operations here ↵Matthew Sackman2010-10-112-8/+6
| | | | doesn't matter
* Reworked binding / exchange autodeletion with better abstracted and cleaner APIMatthew Sackman2010-10-113-117/+115
|
* Minimised the number of calls to the XTs on deletionMatthew Sackman2010-10-083-37/+93
|
* remove R14ismMatthew Sackman2010-10-081-2/+2
|
* Gratuitous refactoringMatthew Sackman2010-10-081-8/+6
|
* XT:publish => XT:routeMatthew Sackman2010-10-087-15/+15
|
* refactorMatthias Radestock2010-10-071-27/+22
|
* merge default into bug21377Matthias Radestock2010-10-078-121/+144
|\
| * cosmeticMatthias Radestock2010-10-071-15/+12
| |
| * merge bug23133 into defaultMatthias Radestock2010-10-064-27/+29
| |\
| | * Merging bug 23156 onto defaultMatthew Sackman2010-10-051-3/+5
| | |\
| | | * Refresh expiry on stat call as used by queue redeclarationMatthew Sackman2010-10-051-3/+5
| | |/
| | * add missing exportMatthias Radestock2010-10-051-1/+1
| | |
| | * correct type spec, and cosmeticsMatthias Radestock2010-10-051-2/+1
| | |
| | * cosmeticMatthias Radestock2010-10-052-21/+22
| | |
| * | refactor file summary updating in write/removeMatthias Radestock2010-10-061-32/+20
| | | | | | | | | | | | | | | This change makes it more obvious what is going on and also nicely aligns the structure of the 'write' handler and remove_message/2.
| * | cosmeticMatthias Radestock2010-10-051-11/+10
| | |
| * | cosmeticMatthias Radestock2010-10-051-6/+5
| | |
| * | Use delete_object, not match_deleteMatthew Sackman2010-10-041-1/+1
| | |
| * | Introduce delete_object and use it to solve raceMatthew Sackman2010-10-043-19/+23
| | |
| * | Merging default into bug 23133Matthew Sackman2010-10-0219-130/+401
| |\ \ | | |/
| * | Merging default into bug23133Matthew Sackman2010-09-2435-709/+962
| |\ \
| * | | when a message is written the ref_count is always 1Matthias Radestock2010-09-091-4/+4
| | | |
| * | | adjust function name for consistencyMatthias Radestock2010-09-091-5/+5
| | | |
| * | | oopsMatthias Radestock2010-09-091-1/+1
| | | |
| * | | minor refactorMatthias Radestock2010-09-091-9/+7
| | | |
| * | | tweakMatthias Radestock2010-09-091-25/+24
| | | |
| * | | cosmetic tweaks and minor simplificationsMatthias Radestock2010-09-091-36/+31
| | | |
| * | | Merging bug 23233 into bug 23133Matthew Sackman2010-09-081-63/+50
| |\ \ \
| * | | | Scan the file and remove from the index as necessary on file delete rather ↵Matthew Sackman2010-09-081-1/+4
| | | | | | | | | | | | | | | | | | | | than index_delete_by_file
| * | | | Merging default into bug 23133Matthew Sackman2010-09-0841-1391/+1696
| |\ \ \ \
| * | | | | Fixed the bug. The problem was that I was not removing msgs from the index ↵Matthew Sackman2010-09-081-43/+27
| | | | | | | | | | | | | | | | | | | | | | | | for the dest in a gc if they had a refcount of 0. Thus they could later be reincremented. I was also thoughtlessly doing an index_delete_by_file on the src post gc, which should be unnecessary - 0 refcounts are now removed as they're discovered, and non-zero will be updated to be in the dest. This leaves only 1 worrying use of index_delete_by_file which is now in delete_file_if_empty. Here, scanning and deleting as we find msgs will be constant time and simple. Note this also features a very rough hacking out of the use of contiguous top in GC which turns out to be essential for this bug. However the real fix for that will be in bug 23233 which will block this bug.
| * | | | | Merging default into bug 23133Matthew Sackman2010-08-1911-130/+161
| |\ \ \ \ \
| * | | | | | Abstract refcount == 0 to imply not_found for appropriate call sitesMatthew Sackman2010-08-181-9/+13
| | | | | | |
| * | | | | | By this stage of the client-read, we know a GC can't start and can't be in ↵Matthew Sackman2010-08-181-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | progress. Thus even if the refcount is 0, we're still safe to read it. What's more, this area of code has never made provision for the index_lookup to return a not_found - it will crash if that happens. Thus if the implicit assumption is that the message must exist, then by the same token, we know the refcount will always be > 0
| * | | | | | Abstraction of the inner write functionMatthew Sackman2010-08-181-28/+26
| | | | | | |
| * | | | | | cosmeticMatthew Sackman2010-08-181-9/+8
| | | | | | |
| * | | | | | Because we can increment the refcount back above 0, the calculation of the ↵Matthew Sackman2010-08-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | contiguous top needs to be contiguousTop + totalSize, because the validtotalsize can contain data that's well beyond the old contiguous top
| * | | | | | Backed out changeset c47670da4830 - I decided the dedup cache shouldn't be ↵Matthew Sackman2010-08-181-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mangled with.
| * | | | | | treat the dedup cache the same way as the index - permit 0 ref_counts and ↵Matthew Sackman2010-08-171-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | prune on file roll
| * | | | | | Merging default into bug 23133Matthew Sackman2010-08-173-97/+183
| |\ \ \ \ \ \
| * | | | | | | Permit 0 ref counts and don't actually forget about messages until the file ↵Matthew Sackman2010-08-161-40/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gets removed
* | | | | | | | Revert unnecessary reformattingMatthew Sackman2010-10-051-3/+3
| | | | | | | |
* | | | | | | | Merging default into bug21377Matthew Sackman2010-10-049-81/+331
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | cosmetic and minor refactoringMatthias Radestock2010-10-011-40/+37
| | | | | | | |
| * | | | | | | Merging bug 22902 into defaultMatthew Sackman2010-10-015-11/+222
| |\ \ \ \ \ \ \
| | * | | | | | | It's binary up until it goes through public_key:pkix_decode_cert, at which ↵Matthew Sackman2010-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | point it becomes an #'OTPCertificate'{}
| | * | | | | | | support for R14B; fix utf8 bugAlexandru Scvortov2010-10-011-4/+8
| | | | | | | | |
| | * | | | | | | merge default into bug22902Alexandru Scvortov2010-10-0133-816/+1020
| | |\ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | merge bug23190 into defaultMatthias Radestock2010-09-301-23/+44
| |\ \ \ \ \ \ \ \