Michael Klishin
5e2145b090
Merge branch 'v3.7.x'
...
Conflicts:
.travis.yml
2018-03-08 04:14:49 +03:00
Michael Klishin
46f257b0ae
Swap these tests
...
Troubleshooting a Concourse failure.
2018-03-07 04:54:15 +03:00
Jean-Sébastien Pédron
c1c1b5ea29
Update erlang.mk
2018-03-02 19:05:49 +01:00
Jean-Sébastien Pédron
f1cc1de7b2
Update erlang.mk
2018-03-02 18:38:02 +01:00
Michael Klishin
c4835ae646
Coerce upstream definition to a proplist
...
So that maps do not fail validation.
References #68 .
Closes #70 .
(cherry picked from commit 8b0c5dbbd99df79045e766033f47dd74a98707a2)
2018-02-06 17:57:06 +01:00
Michael Klishin
4e42529af4
Coerce upstream definition to a proplist
...
So that maps do not fail validation.
References #68 .
Closes #70 .
2018-02-06 17:54:49 +01:00
Michael Klishin
3ea21a6e65
Coerce upstream set definition to proplists
...
So that it passes validation.
Closes #67 .
[#154751618 ]
2018-01-31 15:50:52 +03:00
Michael Klishin
dcc78781b7
Coerce upstream set definition to proplists
...
So that it passes validation.
Closes #67 .
[#154751618 ]
2018-01-31 15:49:42 +03:00
Jean-Sébastien Pédron
a9d99070c9
Update rabbitmq-components.mk
2018-01-30 16:37:27 +01:00
Jean-Sébastien Pédron
b0666f47bc
Update rabbitmq-components.mk
2018-01-30 15:23:38 +01:00
Luke Bakken
2d9c673dfc
Update rabbitmq-components.mk
2018-01-29 16:22:13 -08:00
Jean-Sébastien Pédron
39146af95a
Update rabbitmq-components.mk
2018-01-23 18:02:50 +01:00
Jean-Sébastien Pédron
79b37e2646
Update rabbitmq-components.mk
2018-01-23 17:21:28 +01:00
Jean-Sébastien Pédron
8a72acd8c6
Update rabbitmq-components.mk
2018-01-23 15:31:17 +01:00
Diana Corbacho
35fe9908eb
Update rabbitmq-components.mk
2018-01-22 22:13:22 +00:00
Jean-Sébastien Pédron
c865289bbd
Travis CI: Update config from rabbitmq-common
2017-12-15 15:12:14 +01:00
Jean-Sébastien Pédron
a5d37f30d2
Travis CI: Update config from rabbitmq-common
2017-12-15 14:53:05 +01:00
Jean-Sébastien Pédron
5f14a780a2
Update rabbitmq-components.mk
2017-12-01 15:16:27 +01:00
Jean-Sébastien Pédron
bf7b2efc16
Update rabbitmq-components.mk
2017-12-01 11:06:29 +01:00
Jean-Sébastien Pédron
65432bfcd0
Merge branch 'rabbitmq-federation-63' into v3.7.x
2017-11-29 12:35:07 +01:00
Jean-Sébastien Pédron
5348c433fb
Merge pull request #64 from rabbitmq/rabbitmq-federation-63
...
Cleanup internal exchanges and queues when links are removed
2017-11-29 12:33:21 +01:00
Diana Corbacho
44d2f3895c
Use assert macros. Wait for link to be recreated
...
rabbitmq-federation#63
[#153011041 ]
2017-11-29 10:33:38 +00:00
Jean-Sébastien Pédron
8145fea83a
Update rabbitmq-components.mk
2017-11-28 14:00:49 +01:00
Jean-Sébastien Pédron
9c1261338f
Update rabbitmq-components.mk
2017-11-28 13:28:51 +01:00
Diana Corbacho
a8953cd6ce
Cleanup internal exchanges and queues after plugin is disabled or policy removed
...
rabbitmq-federation#63
[#153011041 ]
2017-11-27 11:24:14 +00:00
Jean-Sébastien Pédron
f6949e37e8
Travis CI: Update config from rabbitmq-common
2017-11-07 18:54:45 +01:00
Luke Bakken
f8e2121fc0
Add GitHub templates and contributing doc
2017-10-13 15:55:50 -07:00
Jean-Sébastien Pédron
21cc1449a8
Merge branch 'stable'
2017-10-13 15:08:05 +02:00
Jean-Sébastien Pédron
0673533894
Update rabbitmq-components.mk
2017-10-13 14:33:08 +02:00
Jean-Sébastien Pédron
b8e75fd6b3
Update rabbitmq-components.mk
2017-10-13 14:13:07 +02:00
Jean-Sébastien Pédron
ee366396b1
Update rabbitmq-components.mk
2017-10-13 12:15:43 +02:00
Michael Klishin
67531af421
Update rabbitmq-components.mk
2017-09-13 17:54:19 -04:00
Michael Klishin
acabc37eb3
Update rabbitmq-components.mk
2017-09-13 17:45:30 -04:00
Michael Klishin
bba2eafb11
Update rabbitmq-components.mk
2017-09-12 19:53:10 -04:00
Michael Klishin
66dcb2c834
Update rabbitmq-components.mk
2017-09-12 12:41:51 -04:00
Daniil Fedotov
247f58317f
Merge branch 'stable'
2017-08-30 19:20:34 +01:00
Daniil Fedotov
5a9ec72c9f
Update erlang.mk
2017-08-30 18:46:44 +01:00
Daniil Fedotov
c90d9cf13f
Use lager sink API for logs.
...
Lager sink parse-transform allows us to use a fake module name
to select sinks.
The parse-transform will fail if a sink is not defined, making sure
log is working.
[#149634975 ]
2017-08-07 14:47:19 +01:00
Jean-Sébastien Pédron
f80c8e2db6
Merge branch 'stable'
2017-07-31 10:12:08 +02:00
Jean-Sébastien Pédron
3e3ebdf081
exchange_SUITE: Cleanup policies at the end of `restart_upstream` testcase
...
Without this cleanup, the `cycle_detection` testcase which follows fails
with the following error:
** Reason for termination ==
** {function_clause,
[{rabbit_federation_exchange_link,
'-ensure_internal_exchange/2-fun-0-',
[406,
<<"PRECONDITION_FAILED - inequivalent arg 'x-max-hops' for exchange 'federation: cycle -> rmq-ct-with_disambiguate-cluster_size_2-1-21000@localhost B' in vhost '/': received '1' but current is '10'">>],
[{file,"src/rabbit_federation_exchange_link.erl"},{line,540}]},
{rabbit_federation_link_util,disposable_connection_call,3,
[{file,"src/rabbit_federation_link_util.erl"},{line,305}]},
{rabbit_federation_exchange_link,ensure_upstream_bindings,2,
[{file,"src/rabbit_federation_exchange_link.erl"},{line,489}]},
{rabbit_federation_exchange_link,'-go/1-fun-1-',8,
[{file,"src/rabbit_federation_exchange_link.erl"},{line,423}]},
{rabbit_federation_link_util,start_conn_ch,5,
[{file,"src/rabbit_federation_link_util.erl"},{line,58}]},
{gen_server2,handle_msg,2,[{file,"src/gen_server2.erl"},{line,1048}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
[#149584741 ]
2017-07-27 17:50:45 +02:00
Michael Klishin
88287acbf5
Erlang/OTP 19.2 is now the minimum supported version.
...
Part of rabbitmq/rabbitmq-server#1305.
[#149563549 ]
2017-07-26 19:02:50 +03:00
Jean-Sébastien Pédron
96230a39a7
exchange_SUITE: Use a dedicated key in `cycle_detection`
...
The testcase is affected by other testcases not cleaning what they
created or not waiting for those resources to disappear.
By using a dedicated binding key (instead of the same `key` as all other
testcases), it seems to improve the success rate of the testcase.
2017-07-26 15:26:41 +02:00
Jean-Sébastien Pédron
d4c33e11dc
exchange_SUITE: No need to import rabbit_federation_test_util:no_plugins()
2017-07-26 15:25:57 +02:00
Michael Klishin
42e916d8e4
Update rabbitmq-components.mk
2017-07-26 03:48:24 +03:00
Michael Klishin
1a94d68983
Update rabbitmq-components.mk
2017-07-26 02:27:05 +03:00
Michael Klishin
c1d9733e12
Merge branch 'stable'
2017-07-24 18:07:54 +03:00
Diana Corbacho
0bd9a9f5c0
Detect internal upstream exchange deletion and restart the link
...
When network partitions happen, two nodes might connect to the upstream
swapping the exchange (A -> B, B -> A). The last surviving link
after healing might have lost its exchange. The periodic check using
a passive declare allows to detect the situation and restart the link,
restoring the connectivity.
Related to rabbitmq-federation#43
rabbitmq-federation#59
2017-07-21 17:37:21 +01:00
Michael Klishin
d29bef40c8
Merge pull request #58 from rabbitmq/rabbitmq-server-1246-master
...
Change algorithm for federation link ID generation from term_to_binary to phash2.
2017-06-13 18:36:07 +03:00
Daniil Fedotov
a57c5187e9
Change algorithm for federation link ID generation from term_to_binary to phash2.
...
term_to_binary can change in defferent OTP versions.
2017-06-13 15:37:47 +01:00
Michael Klishin
f3a8a697cd
Update rabbitmq-components.mk
2017-06-12 20:14:32 +03:00
Michael Klishin
54887f3b79
Update rabbitmq-components.mk
2017-06-12 18:35:39 +03:00
Daniil Fedotov
7d98bb20da
Less compile warnings
2017-06-12 14:18:00 +01:00
Michael Klishin
2d7d48489d
Merge branch 'stable'
2017-06-02 18:10:20 +03:00
Michael Klishin
7fbc5d5f5c
Update rabbitmq-components.mk
2017-06-02 17:51:27 +03:00
Daniil Fedotov
ba8eedd382
New CLI helpers API. Better federation_status banner message
2017-06-02 10:14:40 +01:00
Michael Klishin
7cb5622b86
Update rabbitmq-components.mk
2017-06-02 00:43:22 +03:00
Michael Klishin
5786263c23
Update rabbitmq-components.mk
2017-06-01 18:01:36 +03:00
Jean-Sébastien Pédron
3a86ae1ccf
Merge branch 'stable'
2017-05-16 18:08:17 +02:00
Jean-Sébastien Pédron
dcaefec03e
Makefile: Load the new `rabbitmq-early-plugin.mk` early-stage plugin
...
See the corresponding commit in rabbitmq-common for an explanation.
[#144697185 ]
2017-05-16 17:32:56 +02:00
Jean-Sébastien Pédron
a833d5ba16
Update erlang.mk
2017-05-16 17:32:56 +02:00
Daniil Fedotov
9c152516b5
Replace dicts to maps for internal structures
2017-04-24 14:13:00 +01:00
Jean-Sébastien Pédron
124a18c571
Merge branch 'stable'
2017-04-19 12:45:24 +02:00
Jean-Sébastien Pédron
a177aeef2b
Update erlang.mk
2017-04-19 12:02:06 +02:00
Michael Klishin
898cf32100
Merge branch 'stable'
2017-04-02 21:57:33 +03:00
Michael Klishin
ab6ccc5f1f
(c) year
2017-04-02 21:47:58 +03:00
Michael Klishin
2b7d5d6519
Merge branch 'stable'
2017-03-29 13:02:58 +03:00
Michael Klishin
8935d0ad48
Handle more numerical types for the "hops" property
...
Semantically a {short, N} value is the same as {long, N}
or even {signedint, N}.
Fixes #56 .
2017-03-29 12:40:06 +03:00
Jean-Sébastien Pedron
699a7ce01e
Change cluster_size_2 test ordering to fix failing test
...
Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>
2017-03-13 12:13:21 +00:00
Michael Klishin
01deec9830
Update rabbitmq-components.mk
2017-02-11 23:29:26 +03:00
Michael Klishin
04a1d4f1f7
Update rabbitmq-components.mk
2017-02-10 11:16:28 +03:00
Michael Klishin
24f56e71f7
Update rabbitmq-components.mk
2017-02-10 03:06:21 +03:00
Michael Klishin
7fbadf25af
merge branch 'stable'
2017-02-08 16:54:32 +03:00
Michael Klishin
80d2a3fdbf
Update rabbitmq-components.mk
2017-02-08 16:38:14 +03:00
Michael Klishin
3972f75efa
merge branch 'stable'
2017-02-06 19:50:39 +03:00
Michael Klishin
70a6156cfb
Update rabbitmq-components.mk
2017-02-06 19:23:53 +03:00
Jean-Sébastien Pédron
7055fb50e2
Update rabbitmq-components.mk
2017-02-02 17:17:01 +01:00
Michael Klishin
e03a0ec91f
merge branch 'stable'
2017-01-31 18:18:41 +03:00
Michael Klishin
60ef104db7
Update rabbitmq-components.mk
2017-01-31 18:06:27 +03:00
Diana Corbacho
69ee21591d
Improve logging when the upstream exchange changes while adding bindings
2017-01-23 22:35:01 +03:00
Diana Corbacho
03dae269ab
Improve logging when the upstream exchange changes while adding bindings
2017-01-23 14:52:51 +00:00
Michael Klishin
72774bc805
Merge pull request #51 from rabbitmq/rabbitmq-event-exchange-10
...
Extend notify and notify_clear to support usernames
2017-01-21 02:06:16 +03:00
Michael Klishin
b168031629
Merge branch 'stable'
2017-01-18 12:00:08 +03:00
Diana Corbacho
c63e4ef322
Log when a link stops on init
2017-01-18 07:59:03 +00:00
Diana Corbacho
eb3f004280
Extend notify and notify_clear to support usernames
2017-01-13 15:48:45 +01:00
Michael Klishin
b5db85e3e0
federation_link_restart => restart_federation_link
...
while at it, provide a more user friendly error message
2017-01-04 02:27:15 +08:00
Diana Corbacho
b1b07fbfaa
CLI command to restart a link
2017-01-03 15:26:11 +01:00
Diana Corbacho
9139e8e43f
Merge branch 'stable'
2017-01-03 15:11:37 +01:00
Michael Klishin
0469d84899
Merge pull request #49 from rabbitmq/rabbitmq-federation-management-17
...
Link restart
2016-12-31 01:34:44 +08:00
Diana Corbacho
c8252f2c53
Internal rename of only-down to only_down to satisfy parser
2016-12-30 16:07:33 +01:00
Diana Corbacho
62b7eba56b
Use the hex value of the key's sha to avoid encoding/decoding in URLs
2016-12-30 09:54:05 +01:00
Michael Klishin
6330503015
Merge branch 'stable'
2016-12-30 14:38:51 +08:00
Michael Klishin
78423240fd
Use the same max restart intensity across link supervision tree
...
A follow-up to 9d18974a35
.
We really should use the same values everywhere.
References #43 .
2016-12-30 14:36:50 +08:00
Diana Corbacho
600b29df43
Add tests for federation status/lookup
2016-12-29 10:06:56 +01:00
Diana Corbacho
951f00f1d0
Introduce callbacks that allow to restart a link, listing returns an id
2016-12-28 16:28:33 +01:00
Diana Corbacho
46e5cddeaf
Rename option
2016-12-28 13:23:33 +01:00
Diana Corbacho
4e97240c29
Cosmetic changes
2016-12-28 13:12:25 +01:00
Diana Corbacho
221de38065
CLI command option to list down links
2016-12-28 11:32:12 +01:00
Diana Corbacho
b3d0efb4fb
Introduce id
2016-12-27 19:48:04 +01:00
Diana Corbacho
6567dcae04
Merge remote-tracking branch 'origin/stable'
2016-12-23 12:20:01 +01:00
Michael Klishin
9d18974a35
Increase tolerated restart intensity of rabbit_federation_sup children
...
The intensity depends on the number of links and configured
reconnect-delay. This number is not particularly scientific but
supports 100 links failing a minute with default settings, which
should be sufficient for most environments.
Increasing reconnect-delay would allow for an even higher
failure rate.
Per discussion with @dcorbacho.
2016-12-23 12:28:51 +03:00
Jean-Sébastien Pédron
3ea6688dcc
Travis CI: Import changes from rabbitmq-auth-backend-amqp
2016-12-12 13:37:52 +01:00
Jean-Sébastien Pédron
1a9a68632a
Merge branch 'stable'
2016-12-09 19:20:34 +01:00
Jean-Sébastien Pédron
d62d3e0cb8
Update rabbitmq-components.mk
2016-12-08 19:14:46 +01:00
Jean-Sébastien Pédron
1b35ae4978
Travis CI: Use Ubuntu Trusty image to have access to Elixir
...
Also, required `sudo` so a VM is used instead of a container. This makes
the test much longer, but allows us to install non-whitelisted packages
such as xsltproc.
2016-12-08 17:20:25 +01:00
Jean-Sébastien Pédron
2e44351f16
Merge branch 'stable'
2016-12-07 15:37:31 +01:00
Jean-Sébastien Pédron
d18c5f46e8
Move from .app.src to Makefile variables
...
This is the recommended way with Erlang.mk.
By default, the version is inherited from rabbitmq-server-release when
the source archive is created, or computed from git-describe(1) (see
`rabbitmq-components.mk`). One can override the version from the command
line by setting the `PROJECT_VERSION` variable.
[#130992027 ]
2016-12-06 16:01:45 +01:00
Michael Klishin
c04c0cc853
Merge branch 'stable'
2016-11-29 21:15:43 +03:00
Michael Klishin
f5b2cc8650
Update rabbitmq-components.mk
2016-11-29 20:59:30 +03:00
Jean-Sébastien Pédron
63fdecda9a
Merge branch 'stable'
2016-11-25 10:59:17 +01:00
Jean-Sébastien Pédron
8eb402e15e
Update rabbitmq-components.mk
2016-11-25 10:50:56 +01:00
Jean-Sébastien Pédron
883f5d83f1
Merge branch 'stable'
2016-11-25 10:33:01 +01:00
Jean-Sébastien Pédron
eb0c81ea2b
Update rabbitmq-components.mk
2016-11-25 10:08:17 +01:00
Jean-Sébastien Pédron
ae9ddb585f
Merge branch 'stable'
2016-11-24 10:18:20 +01:00
Jean-Sébastien Pédron
870b1f8a31
Add rabbitmq_ct_client_helpers to TEST_DEPS
2016-11-24 10:18:16 +01:00
Jean-Sébastien Pédron
acb59e473b
Update rabbitmq-components.mk
2016-11-23 18:06:01 +01:00
Gerhard Lazu
7f461a8983
Merge branch 'stable'
2016-11-22 16:49:05 +00:00
Gerhard Lazu
169ba90c84
Update erlang.mk
2016-11-22 16:19:02 +00:00
Gerhard Lazu
ca49672f5e
Update rabbitmq-components.mk
2016-11-22 16:16:32 +00:00
Michael Klishin
3d5d080c1e
Revert "Remove flags, switches and aliases from CLI command"
...
This reverts commit 7e90ee2690
.
I am about to revert some recent CLI changes, so this is again
required.
2016-11-22 14:06:50 +03:00
Diana Corbacho
7e90ee2690
Remove flags, switches and aliases from CLI command
2016-11-21 16:14:29 +00:00
Diana Corbacho
12ad37f1f3
Include empty fields for csv and table formatters
2016-11-21 11:21:34 +00:00
Diana Corbacho
6fb03876c1
Tests for CLI extension for federation status
2016-11-21 10:06:04 +00:00
Diana Corbacho
9b70d870b8
Test refactor
2016-11-21 10:06:04 +00:00
Diana Corbacho
9a1f4395ac
CLI extension for federation status
2016-11-18 22:40:53 +00:00
Jean-Sébastien Pédron
4280eb27ed
Update erlang.mk
2016-11-14 11:55:28 +01:00
Jean-Sébastien Pédron
10d79ca6d4
Update rabbitmq-components.mk
2016-11-10 16:56:34 +01:00
Michael Klishin
1465ba9064
Merge branch 'stable'
2016-10-19 17:26:57 +08:00
Michael Klishin
548f65eb6e
Merge branch 'stable' into rabbitmq-federation-39
2016-10-19 17:12:48 +08:00
Arnaud Cogoluègnes
174b6134b4
Improve Federation link connection name
...
Fixes #39
2016-10-19 09:38:47 +02:00
Daniil Fedotov
f88b7a647d
Merge branch 'stable'
2016-10-14 14:46:01 +01:00
Daniil Fedotov
a4c514f39a
Test cleanup
2016-10-14 14:44:53 +01:00
Arnaud Cogoluègnes
b180f575a1
Make Federation connections (links) specify a name
...
Fixes #39
2016-10-13 18:01:36 +02:00
Michael Klishin
4593851913
Merge branch 'stable'
2016-09-30 00:16:32 +03:00
Jean-Sébastien Pédron
865f75c419
rabbit_federation_*_link: Use the standard `pg2` module
...
References rabbitmq/rabbitmq-server#980.
[#131354699 ]
2016-09-29 17:01:36 +02:00
Jean-Sébastien Pédron
c19d9bebad
Merge branch 'stable'
2016-09-23 16:02:48 +02:00
Jean-Sébastien Pédron
8c61162f94
Update rabbitmq-components.mk
2016-09-23 11:23:04 +02:00
Jean-Sébastien Pédron
3bcec93221
Update erlang.mk
2016-09-22 17:56:26 +02:00
Jean-Sébastien Pédron
7062340927
rabbitmq_federation.app: Depend on rabbit_common
2016-09-19 13:55:45 +02:00
Jean-Sébastien Pédron
71dff3a5c4
Makefile: Explicitely list all DEPS
...
Sync rabbitmq-components.mk with rabbitmq-common to remove automatic
DEPS handling.
[#130086871 ]
2016-09-19 13:55:33 +02:00
Jean-Sébastien Pédron
54d4c2eb78
Update erlang.mk
2016-09-19 13:54:00 +02:00
Jean-Sébastien Pédron
b39c358477
Merge branch 'stable'
2016-09-15 16:39:44 +02:00
Jean-Sébastien Pédron
1b912c73e9
Update rabbitmq-components.mk
2016-09-15 15:46:16 +02:00
Jean-Sébastien Pédron
f00c267586
Merge branch 'stable'
2016-09-02 16:02:50 +02:00
Jean-Sébastien Pédron
0c803b61ce
Update rabbitmq-components.mk
2016-09-02 13:22:25 +02:00
Jean-Sébastien Pédron
22a7a0ec3c
Makefile: No need to filter out rabbitmq_test from TEST_DEPS anymore
...
[#127356157 ]
2016-09-02 12:26:41 +02:00
Jean-Sébastien Pédron
5b71ffba59
Update rabbitmq-components.mk
2016-09-02 12:03:30 +02:00
Michael Klishin
0b536b7050
Update rabbitmq-components.mk
2016-07-14 15:44:10 +03:00
Michael Klishin
7c9bfe682b
Update rabbitmq-components.mk
2016-07-14 15:37:30 +03:00
Michael Klishin
97520bd5fe
Update rabbitmq-components.mk
2016-07-14 13:39:13 +03:00
Michael Klishin
da568d1da2
Update rabbitmq-components.mk
2016-07-14 13:19:59 +03:00
Jean-Sébastien Pédron
b041cba2ad
Merge branch 'stable'
2016-07-07 10:18:59 +02:00
Jean-Sébastien Pédron
68d97fa638
Travis CI: Test against Erlang 18.3 and 19.0
2016-07-06 14:54:16 +02:00
Jean-Sébastien Pédron
dc14525cf4
exchange_SUITE: Increase timetrap to 5 minutes
...
Hopefully this should fix timeouts on CI.
2016-07-06 14:53:00 +02:00
Jean-Sébastien Pédron
c129dbdfd6
Use `rand` directly in master because we require Erlang 18.3
...
References rabbitmq/rabbitmq-server#860.
[#122335241 ]
2016-06-29 16:36:19 +02:00
Jean-Sébastien Pédron
e231203095
Merge branch 'stable'
2016-06-29 16:35:02 +02:00
Jean-Sébastien Pédron
c72d72615d
Use the new `rand_compat` module to transition from `random` to `rand`
...
References rabbitmq/rabbitmq-server#860.
[#122335241 ]
2016-06-29 16:31:51 +02:00
Jean-Sébastien Pédron
d56f2ed2d1
Git: Ignore `xrefr`
2016-06-29 16:31:29 +02:00
Jean-Sébastien Pédron
98345ee506
Merge branch 'stable'
2016-06-24 14:24:28 +02:00
Jean-Sébastien Pédron
06d248d412
exchange_SUITE: Remove debugging printf
2016-06-24 14:23:29 +02:00
Jean-Sébastien Pédron
4e70c06538
Switch testsuite to common_test
...
While here, update Erlang.mk. It fixes the use of the `t=` argument to
`make ct-$suite`.
[#121412011 ]
2016-06-24 12:49:37 +02:00
Jean-Sébastien Pédron
c60e1a7625
Travis CI: Bring latest changes from rabbitmq-shovel
2016-06-24 11:29:34 +02:00
Daniil Fedotov
34ee8c8886
Set bounded timeout for OTP workers
2016-06-17 01:30:01 +03:00
Daniil Fedotov
45c2b339c4
Set bounded timeout for OTP workers
2016-06-16 13:12:03 +01:00
Michael Klishin
175a646585
Merge branch 'master' into rabbitmq-delayed-message-exchange-3
2016-06-02 16:28:09 +03:00
Michael Klishin
37fa3e8a37
Merge branch 'stable'
2016-05-29 23:33:09 +03:00
Michael Klishin
b3918c3d32
Update rabbitmq-components.mk
2016-05-29 23:21:54 +03:00
Michael Klishin
5e5f12d380
Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md
2016-05-28 09:54:06 -07:00
Michael Klishin
0bac7d64e6
Update CONTRIBUTING.md, add CODE_OF_CONDUCT.md
2016-05-28 14:22:49 +03:00
Daniil Fedotov
90a95dc565
Stub for type specific exchange info
2016-05-20 12:09:52 +01:00
kjnilsson
a5f8d5c5da
Merge branch 'stable'
2016-05-18 13:22:06 +01:00
Karl Nilsson
ecd7b1aa76
Update rabbitmq-components.mk
2016-05-18 12:47:59 +01:00
Michael Klishin
5bb83696b2
Merge branch 'master' into rabbitmq-server-546
2016-05-17 15:31:03 +03:00
Michael Klishin
13b83b8e6a
Update rabbitmq-components.mk
2016-05-17 11:17:52 +03:00
Michael Klishin
1d8408f304
Update rabbitmq-components.mk
2016-05-17 10:16:08 +03:00
Daniil Fedotov
4ce72c2077
Use erlang 18.3 only in travis
2016-05-12 10:58:25 +01:00
Daniil Fedotov
0ade54db43
Do not use time_compat
2016-05-12 10:26:24 +01:00
Daniil Fedotov
9ab4a7d57d
Stub for broker_version_requirements
2016-04-22 14:42:18 +01:00
Michael Klishin
a68c4bb616
Merge branch 'stable'
2016-03-23 17:20:51 +03:00
Michael Klishin
0b6152933e
Update rabbitmq-components.mk
2016-03-23 17:13:39 +03:00
Daniil Fedotov
b30f8e461b
use rabbit_registry to register exchange_decorator
2016-01-26 14:20:10 +00:00
Michael Klishin
5b04047100
Update (c) info
2016-01-01 12:59:17 +03:00
Pierre Fenoll
624cbe10dd
.gitignore: make absolute paths relative
2015-12-28 18:46:31 +03:00
Jean-Sébastien Pédron
f520344135
Update erlang.mk
2015-12-18 20:33:54 +01:00
Jean-Sébastien Pédron
0dfbba4875
Sync with upstream build.config
2015-12-18 20:33:03 +01:00
Jean-Sébastien Pédron
ff5e88a013
Update rabbitmq-components.mk
2015-12-18 19:08:08 +01:00
Michael Klishin
af605df78e
Update rabbitmq-components.mk
2015-12-18 19:48:31 +03:00
Jean-Sébastien Pédron
93c7acf3b7
Update rabbitmq-components.mk
2015-12-03 15:38:48 +01:00
Jean-Sébastien Pédron
0fdc1b45e4
Update rabbitmq-components.mk
2015-12-01 18:36:21 +01:00
Jean-Sébastien Pédron
fe53f1dc95
Update rabbitmq-components.mk
2015-12-01 16:17:18 +01:00
Jean-Sébastien Pédron
b1a3f162b4
Update rabbitmq-components.mk
2015-11-30 09:14:31 +01:00
Jean-Sébastien Pédron
02f69be5cc
Add "rabbit" to the TEST_DEPS
...
It is required by the standalone tests.
2015-11-30 09:09:02 +01:00
Jean-Sébastien Pédron
bea013b98c
Update rabbitmq-components.mk
2015-11-26 08:54:10 +01:00
Jean-Sébastien Pédron
c188ee550f
Update rabbitmq-components.mk
2015-11-26 08:41:22 +01:00
Jean-Sébastien Pédron
e48f361e3e
Update erlang.mk
2015-11-25 10:35:57 +01:00
Jean-Sébastien Pédron
d515f4012f
Update rabbitmq-components.mk
2015-11-25 10:35:23 +01:00
Jean-Sébastien Pédron
34711672e0
Update rabbitmq-components.mk
2015-11-20 10:52:04 +01:00
Jean-Sébastien Pédron
66efb8653e
Update erlang.mk
2015-11-19 14:31:45 +01:00
Jean-Sébastien Pédron
48f705a793
Update erlang.mk
2015-11-18 19:14:29 +01:00
Jean-Sébastien Pédron
a96f6e8c9a
Update erlang.mk
2015-11-18 17:42:10 +01:00
Jean-Sébastien Pédron
677479d76d
Update erlang.mk
2015-11-10 13:12:14 +01:00
Jean-Sébastien Pédron
ef26eb97a8
Update rabbitmq-components.mk
2015-11-10 13:11:16 +01:00
Jean-Sébastien Pédron
c76eeca2c7
Update rabbitmq-components.mk
2015-11-05 20:51:33 +00:00
Jean-Sébastien Pédron
150b6c66c2
Update rabbitmq-components.mk
2015-11-03 15:12:29 +01:00
Jean-Sébastien Pédron
adc734b8fb
Update rabbitmq-components.mk
2015-11-02 10:20:49 +01:00
Jean-Sébastien Pédron
35969bce04
Update rabbitmq-components.mk
2015-10-30 17:32:55 +01:00
Jean-Sébastien Pédron
3ac27a0573
Update erlang.mk
2015-10-28 11:15:54 +01:00
Jean-Sébastien Pédron
94eb61c0f2
Update rabbitmq-components.mk
2015-10-28 11:10:36 +01:00
Jean-Sébastien Pédron
16b6035631
Update erlang.mk
2015-10-26 15:33:20 +01:00
Jean-Sébastien Pédron
ec3919e219
Update rabbitmq-components.mk
2015-10-26 11:15:27 +01:00
Jean-Sébastien Pédron
2f36791a8d
Update rabbitmq-components.mk
2015-10-26 10:21:16 +01:00
Jean-Sébastien Pédron
4305870001
Update erlang.mk's build.config
2015-10-23 19:42:47 +02:00
Jean-Sébastien Pédron
26427ec42e
erlang.mk: Disable the eunit plugin
2015-10-23 19:25:28 +02:00
Jean-Sébastien Pédron
d3e7201aaa
Adapt .travis.yml to erlang.mk
2015-10-23 19:18:35 +02:00
Jean-Sébastien Pédron
b40e029426
Update erlang.mk
2015-10-23 18:32:39 +02:00
Jean-Sébastien Pédron
d08f7fe4ba
Update rabbitmq-components.mk
2015-10-23 16:05:42 +02:00
Jean-Sébastien Pédron
af7f075101
Update erlang.mk
2015-10-22 18:34:20 +02:00
Jean-Sébastien Pédron
351020288c
TEST_PLUGINS_ROOTDIR definition was not committed
2015-10-20 16:18:49 +02:00
Jean-Sébastien Pédron
0e70a3f019
Use an empty version string
2015-10-20 09:54:41 +02:00
Jean-Sébastien Pédron
a5390c4858
Update rabbitmq-components.mk
2015-10-19 17:35:44 +02:00
Jean-Sébastien Pédron
4f854beb5a
Update erlang.mk
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
631c90d1ae
Update rabbitmq-components.mk
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
5ed8fe7315
Update rabbitmq-components.mk
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
d68db78be6
Update rabbitmq-components.mk
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
3836212a3d
Use $RABBITMQ_NODENAME instead of hard-coding nodename
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
0e057156bf
Initial move to erlang.mk
2015-10-19 17:29:55 +02:00
Jean-Sébastien Pédron
9c60695f23
Merge branch 'stable'
2015-09-11 18:51:20 +02:00
Gavin M. Roy
ba6a905e70
Add travis-ci configuration
2015-08-21 19:43:58 -04:00
Michael Klishin
3ce1c91224
Bump reconnect-delay default to 5 seconds
2015-08-14 15:30:33 +03:00
Michael Klishin
03c56b077e
Merge branch 'stable'
2015-08-14 12:48:54 +03:00
Michael Klishin
c8466beacc
Nuke old README
2015-08-14 12:48:44 +03:00
Michael Klishin
7ac1a0d13c
Clarify
2015-08-14 12:48:22 +03:00
Michael Klishin
4b6de0b8e0
Port README to Markdown
2015-08-14 12:47:57 +03:00
Michael Klishin
d77a33d51c
Merge branch 'stable'
2015-08-13 18:06:04 +03:00
Michael Klishin
b8067986eb
Ignore x-headers used by federation when they are garbled by clients
...
Usually unintentionally. This is the safest option.
Per discussion with a user suffering from this. Fixes #16 .
2015-08-13 17:38:40 +03:00
Michael Klishin
edb6865c2c
Merge pull request #11 from rabbitmq/rabbitmq-server-233
...
Support the new Time API in Erlang 18.0
2015-08-09 13:03:45 +03:00
Michael Klishin
b58375d2cb
Handle cases when x-received-from already exists in the message
...
Most likely unintentionally published by an app or a framework
(reported against NServiceBus).
2015-08-06 17:27:51 +03:00
Jean-Sébastien Pédron
d05b8fd0d1
Use phash2() and the new Time API as a random seed
...
References rabbitmq/rabbitmq-server#233 .
2015-08-05 15:13:18 +02:00
Michael Klishin
cb789b25eb
Ignore debug/*
2015-08-04 16:49:35 +03:00
Michael Klishin
f45a712649
Merge branch 'rabbitmq_v3_5_3_nowait_patch' of https://github.com/operasoftware/rabbitmq-federation
2015-07-01 16:05:02 +03:00
Marek Wiewiorski
2b4f5d4cff
Keep the = alignment with the surrounding code
2015-07-01 14:54:52 +02:00
Marek Wiewiorski
db7053e4eb
Make no-wait flag on exchange.bind and exchange.unbind configurable
2015-06-22 17:54:16 +02:00
Marek Wiewiorski
fd58a6142c
Set no-wait flag on exchange.bind and exchange.unbind methods
2015-06-22 13:38:30 +02:00
Michael Klishin
631b280fe6
(c) year
2015-05-24 05:13:37 +03:00
Michael Klishin
52fa8ff4a3
Sync CONTRIBUTING.md with the template one
2015-02-20 17:08:41 +03:00
Jean-Sébastien Pédron
4f59f93b1d
Merge branch 'stable'
2015-02-19 18:13:01 +01:00
Jean-Sébastien Pédron
16aaa90d75
Convert .hgignore to .gitignore
2015-02-19 17:26:01 +01:00
Michael Klishin
2be6d799aa
Sync CONTRIBUTING.md with the template one
2015-02-18 00:24:56 +03:00
Jean-Sébastien Pédron
5eb02a8573
Remove the "moved to GitHub" warning.
2015-02-17 21:12:02 +01:00
Jean-Sebastien Pedron
cf690f36d5
README: Warn about the move to GitHub
2015-02-17 18:02:01 +01:00
Simon MacMullen
987f2cf4c6
stable to default
2014-07-22 17:50:18 +01:00
Simon MacMullen
9480a43c95
Prune after old links are gone, otherwise they could still be starting, and store their suffixes after we prune, leading to a tiny leak.
2014-07-22 17:49:40 +01:00
Simon MacMullen
dcf217c174
stable to default
2014-07-16 11:51:12 +01:00
Simon MacMullen
c503423a8a
Slightly clearer?
2014-07-16 11:43:37 +01:00
Simon MacMullen
8fea3230f3
Oops, no, {0,1} is no good as we will always be over the restart limit.
2014-07-14 16:52:56 +01:00
Simon MacMullen
f5ab2f50f1
Don't allow a too-slow restart to prevent a reconnect delay.
2014-07-14 13:58:48 +01:00
Simon MacMullen
1d6fe72e49
stable to default, plus remove_handler()
2014-06-30 14:29:03 +01:00
Simon MacMullen
e8be970e57
Listen for changes to cluster name.
2014-06-30 12:09:34 +01:00
Simon MacMullen
adc99b553a
stable to default
2014-06-27 16:46:07 +01:00
Simon MacMullen
c4ddfb2c19
Fix a log message, remove a lost comment.
2014-06-27 16:45:52 +01:00
Simon MacMullen
457ab381ef
Use functions from the broker, remove need to test.
2014-06-11 13:10:02 +01:00
Simon MacMullen
be3cd2864a
Remove some dependencies that were invented. Add a test to make sure the helper exchange type gets unregistered / reregistered correctly.
2014-06-11 12:04:31 +01:00
Simon MacMullen
34b5272870
Add a test designed to blow up and remind us if those records change. The alternative would be to move the id/1 functions to rabbit_amqqueue and rabbit_exchange, but they (especially the queue one) are just that little bit too federation-specific to really make sense there.
2014-06-11 11:44:06 +01:00
Simon MacMullen
d770e82a1b
Test queues too.
2014-06-10 13:13:59 +01:00
Simon MacMullen
5bc642aa63
Flesh out test, fix bug.
2014-06-10 12:20:53 +01:00
Simon MacMullen
43a5360fed
Start to test plugin enable / disable
2014-06-10 10:28:37 +01:00
Simon MacMullen
989dcb984c
API change.
2014-06-09 17:49:27 +01:00
Simon MacMullen
fb282d0a54
Merge in default
2014-06-06 14:46:44 +01:00
Simon MacMullen
cfeb59c10b
Don't assume paths.
2014-05-15 12:21:18 +01:00
Simon MacMullen
a231fa83de
API change, slight cleanup.
2014-05-15 12:19:10 +01:00
Simon MacMullen
46394d23a9
Easier to just override this than tweak the umbrella.
2014-05-15 12:18:26 +01:00
Simon MacMullen
fd9d3ce5ad
Add needed dependency so we can test from clean.
2014-05-15 11:47:08 +01:00
Simon MacMullen
d7ca888acc
Remove some no-longer-needed stuff
2014-05-14 14:30:28 +01:00
Simon MacMullen
85967f6f2f
Port all the in-broker tests.
2014-05-14 14:06:05 +01:00
Simon MacMullen
2b556b38be
Add a mechanism for federation to run multiple nodes in one distributed system, and thus port the rest of the mutli-node tests. There is still a great deal of detritus to be removed...
2014-05-13 18:10:31 +01:00
Simon MacMullen
6a88d64fac
Further WIP-saving.
2014-05-09 13:53:54 +01:00
Simon MacMullen
4b787a9d20
WIP: port a test to use the multi-node framework.
2014-05-08 16:26:52 +01:00
Tim Watson
10d0de72f0
Merge default into bug24926
2014-04-11 15:59:24 +01:00
Tim Watson
c895c277fb
Make sure queue federation starts back up as well
2014-04-10 22:04:43 +01:00
Tim Watson
b5a6adb9db
Re-establish exchange links when performing a live restart
2014-04-10 21:37:05 +01:00
Simon MacMullen
ff5c092efa
API change.
2014-04-08 16:05:05 +01:00
Tim Watson
f3da39df58
merge default into bug24926
2014-04-08 14:32:43 +01:00
Simon MacMullen
d11c4f4543
Emit events for federation links, and change the format of status a bit.
2014-03-31 16:34:44 +01:00
Simon MacMullen
8b1d0105eb
Update copyright for 2014
2014-03-17 17:25:21 +00:00
Tim Watson
47a967e5f3
Merge default into bug24926
2014-03-13 22:52:18 +00:00
Tim Watson
f9e2608056
Remove now unsupported 'hard' dependency declarations
2014-03-13 22:51:20 +00:00
Matthias Radestock
cc32ab542b
remove unused code & eliminate warning
2014-03-13 12:50:51 +00:00
Simon MacMullen
15ca9ececb
Save the original CC header, don't allow it to wreak havoc.
2014-02-28 11:47:09 +00:00
Simon MacMullen
4cca93bfe2
Typo
2014-02-28 11:20:40 +00:00
Simon MacMullen
9018d0801b
Record original exchange and routing key.
2014-02-28 11:01:16 +00:00
Simon MacMullen
4c4442f5a5
Abstract a bit more.
2014-02-27 16:20:47 +00:00
Simon MacMullen
22dcc486da
Make federation logging configurable.
2014-02-27 15:59:25 +00:00
Simon MacMullen
61a01a752e
Wait for the "goes" key to go away - i.e. for the old internal exchange to be deleted - so that when we check for "stays" we will get the new copy and not inadvertently the old and new copies together.
2014-02-26 14:45:01 +00:00
Simon MacMullen
53ef85ec4e
Another final deracification.
2014-02-20 10:46:12 +00:00
Simon MacMullen
5a5fc63c92
Further attempt to remove raciness from the federation tests. If my calculations are correct, this might be the last one[?!]
2014-02-19 11:43:27 +00:00
Tim Watson
d445fd7ca2
Merge default into bug24926
2014-02-18 12:35:27 +00:00
Simon MacMullen
83584bea6e
stable to default
2014-02-12 13:12:26 +00:00
Simon MacMullen
d75f7e096e
Delay trapping exits a bit more.
2014-02-11 16:47:42 +00:00
Simon MacMullen
6b1349bd2f
stable to default
2014-02-11 16:42:31 +00:00
Simon MacMullen
820408d0f7
rabbit_federation_link_util:start_conn_ch/5 does that too.
2014-02-11 16:42:19 +00:00
Simon MacMullen
ddab02d359
Try to make this test more robust.
2014-02-11 11:25:13 +00:00
Simon MacMullen
be0f92d81b
Merge bug26000
2014-02-10 16:04:11 +00:00
Simon MacMullen
080fe6fdfa
Merge bug25985
2014-02-07 13:16:26 +00:00
Simon MacMullen
55c8ec58e4
API change
2014-02-06 15:37:31 +00:00
Simon MacMullen
524673b392
Merge bug 23906
2014-02-05 16:32:38 +00:00
Simon MacMullen
0382d04e03
Merge bug25979 (again)
2014-02-05 16:26:13 +00:00
Simon MacMullen
9f73f73fdf
Damn, that's no longer relevant either.
2014-02-05 16:24:29 +00:00
Simon MacMullen
933b571aa2
Fix tests post-merge
2014-02-05 16:07:48 +00:00
Simon MacMullen
4e7d0294ed
Merge bug25979 again
2014-02-05 15:30:32 +00:00
Simon MacMullen
4ad9f2b681
That's no longer relevant.
2014-02-05 15:30:18 +00:00
Simon MacMullen
c50ce41bc7
Merge in default.
2014-02-05 15:24:02 +00:00
Simon MacMullen
80bfbe2272
Merge default
2014-02-05 15:15:57 +00:00
Simon MacMullen
183dcd0a47
Merge bug25979
2014-02-05 15:12:41 +00:00
Simon MacMullen
5c51d10313
Get rid of local-username and faffing around with impersonator tag.
2014-02-05 13:19:32 +00:00
Simon MacMullen
4bb0a9fa0e
Remove last remnant of local-nodename.
2014-02-03 16:49:48 +00:00
Simon MacMullen
9e29aa67ea
Derp
2014-01-30 15:08:05 +00:00
Simon MacMullen
523a938917
Remove all the timer:sleep/1 invocations (that aren't part of a loop to check whether something has happened yet). It turns out that they can all be replaced by waiting to see if bindings have appeared upstream. Tests are now notably faster to run, and should be more reliable.
2014-01-30 14:59:52 +00:00
Simon MacMullen
02f59b44e9
Cycle detection for bindings too, plus a test.
2014-01-30 11:17:24 +00:00
Simon MacMullen
222ed7b80a
While we are here, virtual_host is redundant, it can be inferred from the URI.
2014-01-29 18:04:23 +00:00
Simon MacMullen
341946b8a4
First pass at cycle detection.
2014-01-29 18:02:06 +00:00
Simon MacMullen
6f30296eae
Use cluster name.
2014-01-29 15:39:34 +00:00
Simon MacMullen
ef6f12fef0
Be more general about reporting failed command executions - ?assertCmd() doesn't tell you anything.
2014-01-29 15:21:44 +00:00
Simon MacMullen
ef44c9f101
stable to default
2014-01-23 13:21:09 +00:00
Simon MacMullen
2461205cd5
Consistency
2014-01-23 13:13:16 +00:00
Simon MacMullen
228c79300b
The name of name is name not anem.
2014-01-23 13:12:26 +00:00
Simon MacMullen
79d921b229
Clean out transient fields of the queue record before using it as supervisor ID.
2014-01-23 12:32:24 +00:00
Simon MacMullen
6e35f6b5de
stable to default
2014-01-14 10:35:22 +00:00
Simon MacMullen
5e0ff1b869
Merge bug 25956
2014-01-14 10:35:04 +00:00
Simon MacMullen
ba8cb10861
stable to default
2014-01-14 10:18:16 +00:00
Simon MacMullen
49ce187e2a
Don't federate internal-use queues.
2014-01-13 18:31:57 +00:00
Tim Watson
fdab94dda5
Remove upstream (helper) exchange type on disable, strip unused/comments
2014-01-12 11:46:27 +00:00
Tim Watson
fa49e9412c
Re-work boot step cleanup handling
2014-01-10 23:49:36 +00:00
Simon MacMullen
48f0091151
Don't do prefetch if we're not doing acks.
2014-01-08 16:11:38 +00:00
Simon MacMullen
f0a28fecf6
Merge bug25937
2014-01-08 10:46:08 +00:00
Simon MacMullen
40524d6aff
API change, and reinstate the mini-essay.
2014-01-08 10:37:08 +00:00
Simon MacMullen
c0fc78b60b
No longer needed
2014-01-07 16:11:58 +00:00
Simon MacMullen
f0b57b4b6a
Move this to the server.
2014-01-07 16:03:55 +00:00
Simon MacMullen
1b019a7197
Another API change
2014-01-07 13:05:47 +00:00
Simon MacMullen
705d87c860
API change
2014-01-07 12:56:14 +00:00
Simon MacMullen
c1204e62c6
Merge bug25890
2013-12-12 13:43:51 +00:00
Simon MacMullen
299829365a
Update nomenclature in tests too...
2013-12-09 11:18:03 +00:00
Simon MacMullen
14ceca925c
Don't talk about objects, we do that nowhere else.
2013-12-06 14:17:14 +00:00
Simon MacMullen
c87b5d758a
Correct nomenclature
2013-12-04 14:28:46 +00:00
Simon MacMullen
38704c2071
Move remove_credentials() to amqp_uri.
2013-11-29 13:52:07 +00:00
Simon MacMullen
fd997bf412
Unused var
2013-11-29 13:51:43 +00:00
Tim Watson
2bf36028ce
Introduce cleanup steps enabling us to disable federation at runtime
2013-11-26 14:28:11 +00:00
Simon MacMullen
0055e0c1fa
Support a "federation-upstream" policy, and test it in the max_hops_test.
2013-10-08 13:46:11 +01:00
Simon MacMullen
aa4adfac0c
That's redundant with the one from shared_validation/0.
2013-10-08 12:33:14 +01:00
Simon MacMullen
28c719d91c
Found some uses of the old "Connection" nomenclature hiding.
2013-10-08 09:55:26 +01:00
Simon MacMullen
6b45500bde
Very minor correction
2013-10-07 12:27:51 +01:00
Emile Joubert
c777a613d9
Merged bug25797 into default
2013-10-07 11:55:12 +01:00