Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename GM:terminate/2 to GM:handle_terminate/2 so that it doesn't conflict ↵ | Simon MacMullen | 2014-09-17 | 1 | -5/+4 |
| | | | | with the same callback in gen_server. | ||||
* | go back to from members_changed/4 to /3 | Matthias Radestock | 2014-04-17 | 1 | -3/+3 |
| | |||||
* | drive remove_from_queue with DeadGMPids | Matthias Radestock | 2014-04-16 | 1 | -5/+5 |
| | | | | | | | | | | | | | | ...instead of LiveGMPids The latter may be out of date s.t. it contains fewer pids than are actually alive, due to new GMs having sprung into live recently. We'd then, incorrectly, remove the corresponding entries from the queue's mnesia record, causing havoc. DeadGMPids can be out of date too; it may contain fewer pids than have actually died, due to GMs having died more recently. That is harmless though since it never leads us to remove an entry that we shouldn't, and we will learn about any new deaths eventually. | ||||
* | Update copyright for 2014bug25940 | Simon MacMullen | 2014-03-17 | 1 | -1/+1 |
| | |||||
* | Revert changes to add proc_name via gen_server2, instead do it explicitly ↵bug25910 | Simon MacMullen | 2014-01-10 | 1 | -2/+2 |
| | | | | with a helper macro. | ||||
* | Add queue_coordinator / queue_syncer / gm. Shift to getting gen_server2 to ↵ | Simon MacMullen | 2013-12-10 | 1 | -1/+2 |
| | | | | store the name in most cases. | ||||
* | Merged stable into default | Emile Joubert | 2013-09-11 | 1 | -6/+7 |
|\ | |||||
| * | More consistent naming. | Simon MacMullen | 2013-09-11 | 1 | -5/+6 |
| | | |||||
| * | Take GM's view of the live members each time we have a death message; don't ↵ | Simon MacMullen | 2013-09-02 | 1 | -6/+6 |
| | | | | | | | | assume the master will always be able to write updates to Mnesia. | ||||
* | | Delay clearing of state in slaves | Emile Joubert | 2013-08-06 | 1 | -14/+13 |
|/ | | | | | until sender down notification is received from channel as well as GM in order to avoid messages being enqueued more than once | ||||
* | s/VMware/GoPivotal/g | Simon MacMullen | 2013-07-01 | 1 | -2/+2 |
| | |||||
* | Update copyright 2013bug25343 | Emile Joubert | 2013-01-23 | 1 | -1/+1 |
| | |||||
* | Rearrange order of args to gm:start_link/4 since it seems to make ↵bug25215 | Simon MacMullen | 2012-10-19 | 1 | -3/+2 |
| | | | | invocations more compact. Curiously I did not need to rearrange the spec as it was already that way round :-) | ||||
* | oops | Tim Watson | 2012-10-17 | 1 | -2/+2 |
| | |||||
* | do not couple gm with rabbit_misc | Tim Watson | 2012-10-17 | 1 | -1/+4 |
| | |||||
* | one less place to equate mirrors with nodes | Matthias Radestock | 2012-10-16 | 1 | -1/+1 |
| | |||||
* | correct essay & comments regarding the 'delayed confirm' rationale | Matthias Radestock | 2012-10-12 | 1 | -12/+18 |
| | | | | | | | | | | | Matthew has confirmed that the "we don't know the msg_seq_no until we receive the msg from the channel" reason is bogus. The msg_seq_no is allocated by the channel prior to routing and thus is the same across the master and all slaves. Hence the 'publish' via gm contains all the information we need to issue a confirm. Nevertheless we cannot actually issue the confirm until we've received the message from the channel. The essay now explains the real reason. | ||||
* | Merge defaultbug25195 | Simon MacMullen | 2012-10-10 | 1 | -2/+1 |
|\ | |||||
| * | WIP | Simon MacMullen | 2012-10-08 | 1 | -2/+1 |
| | | |||||
* | | Remove this master_changed nonsense. | Simon MacMullen | 2012-10-09 | 1 | -2/+0 |
|/ | |||||
* | consistency | Matthias Radestock | 2012-10-03 | 1 | -12/+12 |
| | |||||
* | Start new slaves in response to gm deaths a bit later, to prevent deadlock. ↵ | Simon MacMullen | 2012-09-20 | 1 | -1/+2 |
| | | | | Also remove {add,drop}_mirror/3 as not used, and don't export drop_mirror/2 as not used outside the module. | ||||
* | updated the essay to explain how the sync status works now | Francesco Mazzoli | 2012-09-13 | 1 | -19/+25 |
| | |||||
* | Rename HA heartbeat when master changes | Emile Joubert | 2012-07-11 | 1 | -1/+1 |
| | |||||
* | Remove unnecessary HA heartbeats | Emile Joubert | 2012-07-10 | 1 | -11/+0 |
| | |||||
* | Maybe better name? | Simon MacMullen | 2012-06-26 | 1 | -1/+1 |
| | |||||
* | OK, we do actually need a special way to determine the difference between: | Simon MacMullen | 2012-06-25 | 1 | -1/+1 |
| | | | | | | leave the group -> normal node shutting down -> shutdown queue deletion -> {shutdown, do_not_heal} | ||||
* | normal -> leaving the ring, change topology | Simon MacMullen | 2012-06-25 | 1 | -2/+2 |
| | | | | | | shutdown -> ring shutting down, do not change topology gm_tests now pass again. | ||||
* | Unused varbug24984 | Simon MacMullen | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Stop mirror coordinator gen_server when deleting queue | Emile Joubert | 2012-06-08 | 1 | -2/+6 |
| | |||||
* | Prevent coordinator process leakage | Emile Joubert | 2012-06-07 | 1 | -0/+2 |
| | |||||
* | cosmetic | Matthew Sackman | 2012-04-23 | 1 | -1/+1 |
| | |||||
* | use pmon in queue_coordinator | Matthias Radestock | 2012-03-23 | 1 | -15/+6 |
| | |||||
* | Update copyright 2012bug24606 | Emile Joubert | 2012-02-02 | 1 | -1/+1 |
| | |||||
* | cosmetic: ensure_gm_heartbeat is not a gm callbackbug24715 | Matthias Radestock | 2012-01-31 | 1 | -3/+3 |
| | |||||
* | Don't use timer:apply_interval/4. | Simon MacMullen | 2012-01-30 | 1 | -2/+9 |
| | |||||
* | Report queue slave events by name rather than by QPid. | Simon MacMullen | 2011-08-11 | 1 | -1/+1 |
| | |||||
* | Reworkings | Matthew Sackman | 2011-08-10 | 1 | -3/+4 |
| | |||||
* | I think we can be more assertful here. | Simon MacMullen | 2011-08-10 | 1 | -2/+2 |
| | |||||
* | Identify the (possibly former if it changed) master pid in the ↵ | Simon MacMullen | 2011-08-10 | 1 | -2/+3 |
| | | | | queue_mirror_deaths event. | ||||
* | Various improvements mainly to detection of and reporting of death | Matthew Sackman | 2011-08-10 | 1 | -6/+3 |
| | |||||
* | Merging default into bug24130 | Matthew Sackman | 2011-07-27 | 1 | -21/+48 |
|\ | |||||
| * | Merging default to bug24130 | Matthew Sackman | 2011-07-14 | 1 | -40/+1 |
| |\ | |||||
| * | | docs | Matthew Sackman | 2011-06-26 | 1 | -3/+22 |
| | | | |||||
| * | | Merge default into bug24130. Also add appropriate specs, and fix some bugs | Matthew Sackman | 2011-06-26 | 1 | -0/+11 |
| |\ \ | |||||
| * | | | Master responds to length_requests with length broadcast; slaves can ↵ | Matthew Sackman | 2011-06-26 | 1 | -18/+19 |
| | | | | | | | | | | | | | | | | determine their synchronised state correctly. | ||||
| * | | | Slaves request length when they join. | Matthew Sackman | 2011-06-26 | 1 | -0/+6 |
| | | | | |||||
* | | | | Correct boilerplate for the HA modules which were started in 2010 but failed ↵ | Matthew Sackman | 2011-07-15 | 1 | -1/+1 |
| |_|/ |/| | | | | | | | | to get updated to 2011. | ||||
* | | | merge default into bug24216 | Matthias Radestock | 2011-06-29 | 1 | -40/+1 |
|\ \ \ | |_|/ |/| | | |||||
| * | | s/run_backing_queue_async/run_backing_queue | Matthias Radestock | 2011-06-25 | 1 | -1/+1 |
| | | | | | | | | | | | | as well as removing some mroe tx remnants from mirror_queue_slave |