summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Grab the msg from the cur ets file cache, thus avoiding having to send the ↵bug23152Matthew Sackman2010-08-191-2/+3
| | | | same message many times
* merge bug23150 into defaultAlexandru Scvortov2010-08-191-1/+1
|\
| * Use string tokens, not re:splitbug23150Matthew Sackman2010-08-191-1/+1
|/
* Merging bug 23138 into defaultMatthew Sackman2010-08-192-86/+126
|\
| * once again allow use of fhc w/o registeringbug23138Matthias Radestock2010-08-191-4/+7
| |
| * refactorMatthias Radestock2010-08-191-3/+5
| |
| * rewriteMatthias Radestock2010-08-192-103/+94
| |
| * Correct monitoring and actions upon DOWN messages. Note this is especially ↵Matthew Sackman2010-08-171-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 Sackman2010-08-181-1/+2
| | | | | | | | | | | | queue is going down or not (transplanted from 4c99ba7eedd4b28a096d0412bbbdacb1fa91daa3)
* | A rather crucial infinity missingMatthew Sackman2010-08-181-1/+2
| | | | | | | | (transplanted from aaf79aa3cacefee1742eb7f257c6a16ec5720d59)
* | re-merge rebased bug23145 into new head of defaultMatthias Radestock2010-08-180-0/+0
|\ \
* | | Eliminate RABBITMQ_PLUGINS_EXPAND_DIRbug23145David Wragg2010-08-184-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 refactorMatthias Radestock2010-08-181-15/+13
| |
* | take current memory alarms status into account straight awayMatthias Radestock2010-08-181-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 defaultMatthias Radestock2010-08-172-22/+23
|\
| * obtain_and_release_on_death => obtain, and minor refactor of tcp acceptorbug23135Matthew Sackman2010-08-172-16/+14
| |
| * Combine obtains and release_on_deathMatthew Sackman2010-08-172-30/+33
|/
* merge bug23132 into defaultMatthias Radestock2010-08-171-76/+165
|\
| * Minor correctionsbug23132Matthew Sackman2010-08-171-4/+5
| |
| * cosmeticMatthias Radestock2010-08-161-1/+1
| |
| * tweakMatthias Radestock2010-08-161-2/+2
| |
| * tweakMatthias Radestock2010-08-161-5/+5
| |
| * tweakMatthias Radestock2010-08-161-1/+1
| |
| * obtain_limit can be 'infinity'Matthias Radestock2010-08-161-1/+1
| |
| * cosmeticMatthias Radestock2010-08-161-1/+1
| |
| * refactor: incorporate limit checking into maybe_reduceMatthias Radestock2010-08-161-26/+22
| |
| * cosmeticMatthias Radestock2010-08-161-26/+35
| |
| * opens => open. obtains => obtainMatthew Sackman2010-08-161-61/+61
| |
| * Finally, it works. Important points: 1) remove elders from blocked clients ↵Matthew Sackman2010-08-161-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 comparisonsMatthew Sackman2010-08-161-1/+2
| |
| * Sockets have priority up to 90%. Processes have the full 100% but at lower ↵Matthew Sackman2010-08-162-55/+80
| | | | | | | | priority.
| * Make sure tests have enough file descriptorsMatthew Sackman2010-08-161-1/+1
| |
| * WhoopsMatthew Sackman2010-08-161-1/+1
| |
| * Split obtains in two : one for open requests (higher priority) and one for ↵Matthew Sackman2010-08-161-39/+67
| | | | | | | | obtains requests (lower priority, and a lower limit)
| * Allow the fhc server to request the client closes file handles before ↵Matthew Sackman2010-08-161-31/+52
| | | | | | | | granting an open - thus prevents deadlocks
| * Merging default into bug 23132Matthew Sackman2010-08-161-18/+20
| |\ |/ /
| * Obtain from the fhc sync, and obtain it before we actually open the fileMatthew Sackman2010-08-151-18/+20
| |
* | bug23129Matthias Radestock2010-08-162-151/+86
|\ \ | |/ |/|
| * minor refactorbug23129Matthias Radestock2010-08-161-4/+1
| |
| * cosmeticMatthias Radestock2010-08-161-4/+3
| |
| * don't log file summary recover errorMatthias Radestock2010-08-151-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 oneMatthias Radestock2010-08-151-4/+3
| |
| * cosmeticMatthias Radestock2010-08-151-4/+4
| |
| * more refactoringMatthias Radestock2010-08-151-17/+13
| |
| * yet more refactoringMatthias Radestock2010-08-151-35/+30
| |
| * now it compilesMatthias Radestock2010-08-151-12/+6
| |
| * minor refactorMatthias Radestock2010-08-151-12/+10
| |
| * cosmeticMatthias Radestock2010-08-151-1/+1
| |
| * minor refactorMatthias Radestock2010-08-151-1/+5
| |
| * Refactorings and improvents to msg_store startupMatthew Sackman2010-08-151-29/+39
| |