Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| | * | | | | | | | | remove unnecessary begin/end | Matthew Sackman | 2010-10-26 | 1 | -3/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Improve passing of state in tests (and correct some wrong state numbering at ↵ | Matthew Sackman | 2010-10-26 | 1 | -41/+44 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the same time. Oh for some monads...) | |||||
| | * | | | | | | | | undo incorrect fix | Matthew Sackman | 2010-10-26 | 1 | -1/+0 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | msg_store:write does not alter the msg_store client state | Matthew Sackman | 2010-10-26 | 3 | -40/+35 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | If Terms differs from Terms1, then it'll be because there was an issue in ↵ | Matthew Sackman | 2010-10-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recovering the msg_store client refs from Terms. Now given that the terms are stored in the clean_file_name, there's a possibility that we crashed _during_ writing the clean_file_name (e.g. ran out of disk space). Thus we could then read in a corrupted terms file, set Terms1 to [], but still think we terminated cleanly (as we could delete the file). However, in that case, qi:recover/1 will detect the error when reading the terms file and will not try and present those terms as client_refs to the msg_store on startup. At which point, the msg_store will record dirty shutdown in its state, and then qi:recover/4, at which point the qi will do a dirty recovery. Thus in conclusion, the structure of the term file essentially forms its own checksum: if it's parsable then the data in it is trustable. Consequently, it doesn't actually matter if we pass in Terms or Terms1 here, but Terms1 is more intuitively correct | |||||
| | * | | | | | | | | whitespace | Matthew Sackman | 2010-10-26 | 2 | -2/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | merge default into bug23408 | Matthias Radestock | 2010-10-25 | 4 | -261/+351 | |
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | | | ||||||
| | | * | | | | | | | merge default into bug23408 | Matthias Radestock | 2010-10-23 | 1 | -17/+15 | |
| | | |\ \ \ \ \ \ \ | ||||||
| | | * \ \ \ \ \ \ \ | merge default into bug23408 | Matthias Radestock | 2010-10-23 | 4 | -280/+376 | |
| | | |\ \ \ \ \ \ \ \ | ||||||
| | | | * \ \ \ \ \ \ \ | merge default into bug23408 | Matthias Radestock | 2010-10-23 | 4 | -273/+370 | |
| | | | |\ \ \ \ \ \ \ \ | ||||||
| | | | | * | | | | | | | | adapt vq to new msg_store and qi APIs | Matthias Radestock | 2010-10-21 | 1 | -143/+186 | |
| | | | | | | | | | | | | | ||||||
| | | | | * | | | | | | | | fix tests | Matthias Radestock | 2010-10-20 | 1 | -58/+85 | |
| | | | | | | | | | | | | | ||||||
| | | | | * | | | | | | | | rejig qi initialisation, separating clean init and recovery | Matthias Radestock | 2010-10-20 | 1 | -19/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that vq can get hold of the shutdown terms and thus the persistent client ref and use the latter in the ContainsCheckFun | |||||
| | | | | * | | | | | | | | add a fun to get hold of the client_ref from the client_msstate | Matthias Radestock | 2010-10-20 | 1 | -0/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So we don't have to carry around the client_ref separately | |||||
| | | | | * | | | | | | | | move msg_store server identity and client identity into client state. | Matthias Radestock | 2010-10-20 | 1 | -48/+58 | |
| | | | | | |_|_|/ / / / | | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still need to update vq | |||||
| * | | | | | | | | | | | Use the protocol field to indicate something useful.bug23442 | Simon MacMullen | 2010-10-28 | 1 | -10/+10 | |
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | ||||||
| * | | | | | | | | | | Merging bug 23429 into default | Matthew Sackman | 2010-10-26 | 7 | -276/+283 | |
| |\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | Use two pools of delegates, one for each of outgoing and incoming messages. ↵bug23429 | Simon MacMullen | 2010-10-25 | 2 | -13/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents deadlocks. | |||||
* | | | | | | | | | | | | remove repetition + formattingbug23416 | Marek Majkowski | 2010-11-02 | 1 | -8/+3 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Missed update to rabbit_types. | Marek Majkowski | 2010-11-02 | 1 | -3/+3 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Don't add the name MD5, don't base64 encode. | Simon MacMullen | 2010-11-02 | 1 | -5/+5 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Revert the change to check_vhost_access/2 | Simon MacMullen | 2010-11-01 | 2 | -4/+3 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Add change_password_hash/2, rename hash_password/2 as it has little in ↵ | Simon MacMullen | 2010-11-01 | 1 | -3/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | common with hash_password/1. | |||||
* | | | | | | | | | | | | Use MD5 rather than SHA2 to avoid embedding anything. Indicate hashing ↵ | Simon MacMullen | 2010-11-01 | 2 | -505/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function in the hashed PW, just in case we change our minds in future. | |||||
* | | | | | | | | | | | | Various API changes | Simon MacMullen | 2010-10-26 | 2 | -11/+21 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | Hash passwords. | Simon MacMullen | 2010-10-26 | 3 | -8/+527 | |
| |/ / / / / / / / / / |/| | | | | | | | | | | ||||||
* | | | | | | | | | | | Merge bug23319 into default (remove client scope) | Simon MacMullen | 2010-10-26 | 5 | -73/+31 | |
|\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / |/| | | | | | | | | | | ||||||
| * | | | | | | | | | | merge default into bug23319bug23319 | Alexandru Scvortov | 2010-10-18 | 22 | -421/+550 | |
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|/ / | | |/| | | | | | | | | ||||||
| * | | | | | | | | | | remove scope from permissions tuple | Alexandru Scvortov | 2010-10-13 | 1 | -1/+1 | |
| | | | | | | | | | | | ||||||
| * | | | | | | | | | | merge default into bug23319 | Alexandru Scvortov | 2010-10-13 | 22 | -270/+566 | |
| |\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | | updated docs | Alexandru Scvortov | 2010-09-30 | 1 | -11/+1 | |
| | | | | | | | | | | | | ||||||
| * | | | | | | | | | | | remove client scope and scopes | Alexandru Scvortov | 2010-09-30 | 3 | -61/+29 | |
| | | | | | | | | | | | | ||||||
* | | | | | | | | | | | | merge bug23344 into default | Matthias Radestock | 2010-10-25 | 14 | -317/+614 | |
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / | |/| | | | | | | | | | | ||||||
| * | | | | | | | | | | | refactoring: comprehensions are easier to comprehend than folds | Matthias Radestock | 2010-10-24 | 1 | -5/+2 | |
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | ||||||
| * | | | | | | | | | | cosmetic: whitespace changes only | Matthias Radestock | 2010-10-23 | 2 | -34/+38 | |
| | |_|_|/ / / / / / | |/| | | | | | | | | ||||||
| * | | | | | | | | | cosmetics and minor refactoring on code from recently merged bug23111 | Matthias Radestock | 2010-10-23 | 6 | -122/+95 | |
| | |_|_|/ / / / / | |/| | | | | | | | ||||||
| * | | | | | | | | Merging bug23111 to default (again) | Matthew Sackman | 2010-10-22 | 1 | -6/+6 | |
| |\ \ \ \ \ \ \ \ | ||||||
| | * | | | | | | | | Rather than kicking off the ttl timer on recovery, actually drop expired ↵bug23111 | Matthew Sackman | 2010-10-22 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msgs. Also, drop_expired_msgs when we get a stat call, which comes in from queue (re)declaration: i.e. ensure that at the point of queue (re)declaration, the counts are correct | |||||
| | * | | | | | | | | Ensure at start up, if we have msgs (i.e. recovery, not creation), and a ↵ | Matthew Sackman | 2010-10-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TTL, then we should kick off the expiry timer | |||||
| * | | | | | | | | | Merging bug23111 into default | Matthew Sackman | 2010-10-22 | 11 | -283/+597 | |
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | ||||||
| | * | | | | | | | | Correct spec for sync(), and some cosmetics | Matthew Sackman | 2010-10-21 | 2 | -11/+9 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Cosmetic | Matthew Sackman | 2010-10-21 | 1 | -2/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Textuality | Matthew Sackman | 2010-10-21 | 1 | -2/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Whitespace | Matthew Sackman | 2010-10-21 | 1 | -3/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Minor refactor | Matthew Sackman | 2010-10-21 | 1 | -7/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Remove unused variable and remove peek_result() type which is unused | Matthew Sackman | 2010-10-21 | 2 | -4/+2 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | Merging default into bug23111 | Matthew Sackman | 2010-10-21 | 27 | -487/+648 | |
| | |\ \ \ \ \ \ \ \ | | | | |_|_|/ / / / | | | |/| | | | | | | ||||||
| | * | | | | | | | | tweaked RamIndexCount accounting again, now it doesn't get decremented twice ↵ | Rob Harrop | 2010-10-08 | 1 | -26/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when reinserting into the queue. Also moved transactional msgpropsfun application to tx_commit_index | |||||
| | * | | | | | | | | fixed RamIndexMsgCount accounting | Rob Harrop | 2010-10-08 | 1 | -10/+8 | |
| | | | | | | | | | | ||||||
| | * | | | | | | | | merge with default | Rob Harrop | 2010-10-08 | 1 | -15/+12 | |
| | |\ \ \ \ \ \ \ \ |