Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Grab the msg from the cur ets file cache, thus avoiding having to send the ↵bug23152 | Matthew Sackman | 2010-08-19 | 1 | -2/+3 |
| | | | | same message many times | ||||
* | merge bug23150 into default | Alexandru Scvortov | 2010-08-19 | 1 | -1/+1 |
|\ | |||||
| * | Use string tokens, not re:splitbug23150 | Matthew Sackman | 2010-08-19 | 1 | -1/+1 |
|/ | |||||
* | Merging bug 23138 into default | Matthew Sackman | 2010-08-19 | 2 | -86/+126 |
|\ | |||||
| * | once again allow use of fhc w/o registeringbug23138 | Matthias Radestock | 2010-08-19 | 1 | -4/+7 |
| | | |||||
| * | refactor | Matthias Radestock | 2010-08-19 | 1 | -3/+5 |
| | | |||||
| * | rewrite | Matthias Radestock | 2010-08-19 | 2 | -103/+94 |
| | | |||||
| * | Correct monitoring and actions upon DOWN messages. Note this is especially ↵ | Matthew Sackman | 2010-08-17 | 1 | -65/+105 |
| | | | | | | | | subtle for obtains, which effectively implicitly allocates temporarily to the blocked caller (FromPid) whilst monitoring it, and then transfers this to the ForPid when possible. Note the ForPid can die before the obtains is processed, which which point the FromPid must be replied to immediately. | ||||
* | | Don't ever keep the recovery process waiting, regardless of whether the ↵ | Matthew Sackman | 2010-08-18 | 1 | -1/+2 |
| | | | | | | | | | | | | queue is going down or not (transplanted from 4c99ba7eedd4b28a096d0412bbbdacb1fa91daa3) | ||||
* | | A rather crucial infinity missing | Matthew Sackman | 2010-08-18 | 1 | -1/+2 |
| | | | | | | | | (transplanted from aaf79aa3cacefee1742eb7f257c6a16ec5720d59) | ||||
* | | re-merge rebased bug23145 into new head of default | Matthias Radestock | 2010-08-18 | 0 | -0/+0 |
|\ \ | |||||
* | | | Eliminate RABBITMQ_PLUGINS_EXPAND_DIRbug23145 | David Wragg | 2010-08-18 | 4 | -23/+13 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a number of issues with RABBITMQ_PLUGINS_EXPAND_DIR: - It was undocumented in the context of the generic unix package, and if unwisely set could do an effective "rm -rf" in an unintended location. - It did not take account of the possibility that multiple nodes could be starting at once, and so doing plugins activation simultanteously. Instead, use RABBITMQ_MNESIA_DIR/plugins-scratch. This avoids the need to extend the generic unix package documentation, the location is node-specific, and the distinctive plugins-scratch subdirectory reduces the risk of unintended file deletions. (transplanted from 064b8797493bb290156fb72a54f9e9276df0faed) | ||||
* | | small simplifying refactor | Matthias Radestock | 2010-08-18 | 1 | -15/+13 |
| | | |||||
* | | take current memory alarms status into account straight away | Matthias Radestock | 2010-08-18 | 1 | -3/+4 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | This does in fact not alter the behaviour at all due to the following: - if the alarm is active the alarm registration will call the handler straight way, which will send a {conserve_memory, true} message to the reader. - the reply to the alarm registration is sent after that, and from the same process - the alarm process - so by the time the reader loops around the mainloop again the {conserve_memory, true} message is guaranteed to be in the mailbox - on looping around, the reader request a frame_header from the socket. The reader has already sent connection.open_ok to the client, and the client may have started sending commands straight away. But all the reader is going to see of that to start with is an {inet_async, ...} message for a frame_header. That is guaranteed to end up in the mailbox after the {conserve_memory, true} message. Thus the reader is guaranteed to process the {conserve_memory, true} message before handling any more data from the socket. With this change it is rather more obvious that the memory alarm status gets taken into account before any more client data is processed. | ||||
* | merge bug23135 into default | Matthias Radestock | 2010-08-17 | 2 | -22/+23 |
|\ | |||||
| * | obtain_and_release_on_death => obtain, and minor refactor of tcp acceptorbug23135 | Matthew Sackman | 2010-08-17 | 2 | -16/+14 |
| | | |||||
| * | Combine obtains and release_on_death | Matthew Sackman | 2010-08-17 | 2 | -30/+33 |
|/ | |||||
* | merge bug23132 into default | Matthias Radestock | 2010-08-17 | 1 | -76/+165 |
|\ | |||||
| * | Minor correctionsbug23132 | Matthew Sackman | 2010-08-17 | 1 | -4/+5 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | tweak | Matthias Radestock | 2010-08-16 | 1 | -2/+2 |
| | | |||||
| * | tweak | Matthias Radestock | 2010-08-16 | 1 | -5/+5 |
| | | |||||
| * | tweak | Matthias Radestock | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | obtain_limit can be 'infinity' | Matthias Radestock | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | refactor: incorporate limit checking into maybe_reduce | Matthias Radestock | 2010-08-16 | 1 | -26/+22 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-16 | 1 | -26/+35 |
| | | |||||
| * | opens => open. obtains => obtain | Matthew Sackman | 2010-08-16 | 1 | -61/+61 |
| | | |||||
| * | Finally, it works. Important points: 1) remove elders from blocked clients ↵ | Matthew Sackman | 2010-08-16 | 1 | -18/+24 |
| | | | | | | | | so that we calculate average based on pids that can actually respond. 2) reduce whenever we have pending_opens to ensure we rotate the strike. | ||||
| * | Whoops. Be consistent about comparisons | Matthew Sackman | 2010-08-16 | 1 | -1/+2 |
| | | |||||
| * | Sockets have priority up to 90%. Processes have the full 100% but at lower ↵ | Matthew Sackman | 2010-08-16 | 2 | -55/+80 |
| | | | | | | | | priority. | ||||
| * | Make sure tests have enough file descriptors | Matthew Sackman | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | Whoops | Matthew Sackman | 2010-08-16 | 1 | -1/+1 |
| | | |||||
| * | Split obtains in two : one for open requests (higher priority) and one for ↵ | Matthew Sackman | 2010-08-16 | 1 | -39/+67 |
| | | | | | | | | obtains requests (lower priority, and a lower limit) | ||||
| * | Allow the fhc server to request the client closes file handles before ↵ | Matthew Sackman | 2010-08-16 | 1 | -31/+52 |
| | | | | | | | | granting an open - thus prevents deadlocks | ||||
| * | Merging default into bug 23132 | Matthew Sackman | 2010-08-16 | 1 | -18/+20 |
| |\ |/ / | |||||
| * | Obtain from the fhc sync, and obtain it before we actually open the file | Matthew Sackman | 2010-08-15 | 1 | -18/+20 |
| | | |||||
* | | bug23129 | Matthias Radestock | 2010-08-16 | 2 | -151/+86 |
|\ \ | |/ |/| | |||||
| * | minor refactorbug23129 | Matthias Radestock | 2010-08-16 | 1 | -4/+1 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-16 | 1 | -4/+3 |
| | | |||||
| * | don't log file summary recover error | Matthias Radestock | 2010-08-15 | 1 | -8/+5 |
| | | | | | | | | | | the details aren't that important and get in the way of a fresh startup | ||||
| * | don't attempt to recover file summary when we know there isn't one | Matthias Radestock | 2010-08-15 | 1 | -4/+3 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-15 | 1 | -4/+4 |
| | | |||||
| * | more refactoring | Matthias Radestock | 2010-08-15 | 1 | -17/+13 |
| | | |||||
| * | yet more refactoring | Matthias Radestock | 2010-08-15 | 1 | -35/+30 |
| | | |||||
| * | now it compiles | Matthias Radestock | 2010-08-15 | 1 | -12/+6 |
| | | |||||
| * | minor refactor | Matthias Radestock | 2010-08-15 | 1 | -12/+10 |
| | | |||||
| * | cosmetic | Matthias Radestock | 2010-08-15 | 1 | -1/+1 |
| | | |||||
| * | minor refactor | Matthias Radestock | 2010-08-15 | 1 | -1/+5 |
| | | |||||
| * | Refactorings and improvents to msg_store startup | Matthew Sackman | 2010-08-15 | 1 | -29/+39 |
| | |