summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | | | | | Don't be so keep to call upgrade_mode/1, it can die in all sorts of ways.Simon MacMullen2014-11-272-30/+35
| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | Rearrange things a bit. We now have something that seems to work.Simon MacMullen2014-11-273-21/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merging a modified database back into a running cluster seems to be a bit of a non-starter; Mnesia blows up with "Failed to merge schema: Incompatible schema cookies." So instead we do something similar to if we were doing upgrades: we always create the modified backup, but only load it if we are the first node in the cluster to start; if not we reset our mnesia state, resync with the cluster, then tell the cluster to forget our old incarnation and update its queue records for the new one. This also has the advantage that we don't need two rename commands, we just have the local offline one. Which is hopefully nicer operationally. It does mean that we go to the trouble of taking the backup and modifying it only to throw it away if we turn out to be a secondary node, but it should not be too expensive.
| | | * | | | | | | | | | | | | WIP towards rabbitmqctl rename_other_node.Simon MacMullen2014-11-262-1/+29
| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | OopsSimon MacMullen2014-11-261-1/+1
| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | Create a way to mutate pids and use that rather than creating "fake" pids.Simon MacMullen2014-11-263-11/+24
| | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | First pass at "rabbitmqctl rename_current_node"Simon MacMullen2014-11-262-3/+139
| | | | |_|_|_|/ / / / / / / / | | | |/| | | | | | | | | | |
| | | * | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-2617-187/+507
| | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ \ \ \ \ Merge bug26471Simon MacMullen2014-11-2616-178/+493
| | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | * | | | | | | | | | | | Removed tag rabbitmq_v3_4_2Simon MacMullen2014-11-260-0/+0
| | | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | | Added tag rabbitmq_v3_4_2 for changeset d472925bb786Simon MacMullen2014-11-260-0/+0
| | | | | | |_|_|_|_|_|_|_|_|_|/ | | | | | |/| | | | | | | | | |
| | | | | * | | | | | | | | | | stable to defaultSimon MacMullen2014-11-251-0/+6
| | | | | |\ \ \ \ \ \ \ \ \ \ \
| | | | | * \ \ \ \ \ \ \ \ \ \ \ stable to defaultSimon MacMullen2014-11-251-7/+29
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \
| | | | | * \ \ \ \ \ \ \ \ \ \ \ \ Merge heads of defaultJean-Sebastien Pedron2014-11-241-4/+4
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ Merge bug26257 (again)Jean-Sebastien Pedron2014-11-244-7/+23
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * | | | | | | | | | | | | | When reporting invalid cluster node names, keep configuration orderbug26257Jean-Sebastien Pedron2014-11-241-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While here, fix an unused variable warning.
| | | | | * | | | | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-2416-178/+493
| | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | |/ / / / / / / / / / / / / | | | | | | |/| | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | Merge bug26257Simon MacMullen2014-11-211-14/+34
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | |/ / / / / / / / / / / / /
| | | | | | | * | | | | | | | | | | | | Detect other invalid 'cluster_nodes' valuesJean-Sebastien Pedron2014-11-211-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In all cases, abort startup with an explanatory message.
| | | | | | | * | | | | | | | | | | | | Remove support for the legacy 'cluster_nodes' valuesJean-S?bastien P?dron2014-11-201-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, a list of nodes without the node type was accepted. In this case, the node type was guessed and a warning suggesting how to update the configuration was logged. Now, the node type is mandatory and the RabbitMQ server refuses to start if the node type is unspecified.
| | | | | | * | | | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-203-15/+13
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ stable to defaultSimon MacMullen2014-11-201-1/+13
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ stable to defaultSimon MacMullen2014-11-201-1/+7
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | |_|_|/ / / / / / / / / / / / / | | | | | | |/| | | | | | | | | | | | | | |
| | | | | | * | | | | | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-191-0/+5
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge bug26469Simon MacMullen2014-11-1411-96/+201
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | * | | | | | | | | | | | | | | | | Tweak the APIs again, so that authz plugins aren't expected to create a ↵bug26469Simon MacMullen2014-11-148-71/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #auth_user record in the first place, just whatever impl they want. Which necessitates seperate login functions for authz and authn, and if we're going to do that we might as well split the behaviours so that we have the possibility of making an authz-only plugin.
| | | | | | | * | | | | | | | | | | | | | | | | Rename.Simon MacMullen2014-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | Fix tests.Simon MacMullen2014-11-141-4/+6
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | Never pass the #user{} record into auth backends, they should only see their ↵Simon MacMullen2014-11-137-62/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | own stuff. Get rid of authN_backend, it has little reason for existing. Flatten case of authZ_backend.
| | | | | | | * | | | | | | | | | | | | | | | | Cosmetic.Simon MacMullen2014-11-131-31/+30
| | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | Import changes from ↵Simon MacMullen2014-11-1310-66/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/gotthardp/rabbitmq-server/tree/multi_authorization
| | | | | | * | | | | | | | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-144-68/+258
| | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | |/ / / / / / / / / / / / / / / / /
| | | | | | | * | | | | | | | | | | | | | | | | Merge bug26457Simon MacMullen2014-11-131-2/+10
| | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | * | | | | | | | | | | | | | | | | R13B03 compatibility.Simon MacMullen2014-11-131-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | Remove a couple of TODOs, make the read buffer size configurable, and don't ↵bug26457Simon MacMullen2014-11-132-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use the read buffer for the QI or msg store transform since they already read in decent sized chunks.
| | | | | | | * | | | | | | | | | | | | | | | | | Small refactor suggested by Matthias.Simon MacMullen2014-11-131-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | Be a bit more systematic about reseting the read buffer.Simon MacMullen2014-11-131-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | If they ask to read more than the buffer size, do so.Simon MacMullen2014-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | Merge in defaultSimon MacMullen2014-11-125-14/+31
| | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | |/ / / / / / / / / / / / / / / / /
| | | | | | | | * | | | | | | | | | | | | | | | | Merge bug24781Simon MacMullen2014-11-123-5/+10
| | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ stable to defaultSimon MacMullen2014-11-121-30/+72
| | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ stable to defaultSimon MacMullen2014-11-071-30/+72
| | | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | * | | | | | | | | | | | | | | | | | | | Emit stats on FHC recycling.bug24781Simon MacMullen2014-11-112-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | * | | | | | | | | | | | | | | | | | | | Also generate stats on seek.Simon MacMullen2014-11-112-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | | | | First pass at adding a read buffer to file_handle_cache.Simon MacMullen2014-11-101-22/+82
| | | | | | | |/ / / / / / / / / / / / / / / / / / / /
| | | | | | | * | | | | | | | | | | | | | | | | | | | Move this formatting up to the agent.Simon MacMullen2014-11-061-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | | | Forgot to add that...Simon MacMullen2014-11-061-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | | | Simple statistics about reads, writes and syncs through the FHC.Simon MacMullen2014-11-061-5/+17
| | | | | | | | |_|/ / / / / / / / / / / / / / / / / | | | | | | | |/| | | | | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | | | | | | | | | | | | stable to defaultSimon MacMullen2014-11-031-30/+72
| | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge bug26444 (again)Simon MacMullen2014-11-030-0/+0
| | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | | | | | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge bug26444 (again)Simon MacMullen2014-11-031-3/+2
| | | | | | | | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \