Derek Collison
ebd522d732
Test cleanup
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 17:20:30 -08:00
Derek Collison
20d250c7cf
Move storage type to own variable for unlocked access, can't change
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 17:20:12 -08:00
Derek Collison
8fe8b835fe
Fixes for flapping tests
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 14:08:17 -08:00
Derek Collison
09e3d26fa3
Add in support for stream mirrors and sources.
...
Add in proper support for stream updates in clustered mode.
Don't send API updates without subjects, caused GW parser errors.
Stream internal loops use their own clients now.
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:27 -08:00
Derek Collison
dd19f620a9
Does not need receiver
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:18 -08:00
Derek Collison
6d6a6c07ff
Don't send empty subjects, always put system account in interest only
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:12 -08:00
Derek Collison
6444038660
Make sure this is GW and leafnode friendly
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:10 -08:00
Derek Collison
c39641c263
Tweak hb and election times, fix unsubscribe leak
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:05 -08:00
Derek Collison
0487ce48a4
Spelling
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:57:00 -08:00
Derek Collison
a9394d7692
Handle JetStream subjects across GWs
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-23 10:56:24 -08:00
Matthias Hanel
a26436411a
Merge pull request #1930 from nats-io/crash-no-sys-acc-js
...
[fixes] crash in checkJetStreamExports when there is no system account
2021-02-23 11:50:04 -05:00
Matthias Hanel
2e4a892c8d
[fixes] crash in checkJetStreamExports when there is no system account
...
Signed-off-by: Matthias Hanel <mh@synadia.com >
2021-02-23 00:42:31 -05:00
Derek Collison
7486b2681d
Merge pull request #1927 from nats-io/metamove
...
Allow placement directives for meta controllers
2021-02-19 12:25:39 -07:00
Derek Collison
2047b46e54
Updates based on feedback
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-19 11:07:31 -08:00
Derek Collison
fa8a74ceb5
Allow placement directives for metacontroller stepdown to allow placement to new clusters.
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-19 10:55:22 -08:00
Ivan Kozlovic
2bd7a4d32e
Merge pull request #1926 from nats-io/mqtt_clustering
...
MQTT clustering
2021-02-19 11:45:19 -07:00
Matthias Hanel
efcd2acd0b
Merge pull request #1925 from nats-io/ln-wrong-subject
...
[fixed] LeafNode sending message using stream's import subject.
This fixes #1766
2021-02-19 13:36:07 -05:00
Ivan Kozlovic
7526c76703
Changes to setHeader
...
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-02-19 10:46:14 -07:00
Ivan Kozlovic
61bd1b8d86
MQTT clustering
...
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-02-19 08:50:00 -07:00
Ivan Kozlovic
eafc6b7a25
[fixed] LeafNode sending message using stream's import subject.
...
A publish on "a" becomes an LMSG on ">" which
is the stream import's subject. The subscriber on "a" on the other
side did not receive the message.
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-02-19 00:11:41 -05:00
Derek Collison
e81b208591
Change for client update in api requests
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 20:05:53 -08:00
Derek Collison
cc1edcead7
Bump Version
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 19:22:46 -08:00
Derek Collison
882ead6504
Merge pull request #1924 from nats-io/sc_interest
...
Cross cluster consumer interest.
2021-02-18 20:13:19 -07:00
Derek Collison
9de18dfefe
Removed unused function
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 18:35:44 -08:00
Derek Collison
afea79610a
Consumer interest was not properly handled cross cluster.
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 18:29:59 -08:00
Derek Collison
048011d7f1
Split vote improvements
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 18:29:18 -08:00
Matthias Hanel
1b1ffa7401
Merge pull request #1923 from nats-io/processMsgResults
...
[fixed] out of range issue in processMsgResults during subject rewrite
2021-02-18 19:27:14 -05:00
Matthias Hanel
b410026319
[fixed] out of range issue in processMsgResults during subject rewrite
...
Signed-off-by: Matthias Hanel <mh@synadia.com >
2021-02-18 16:16:41 -05:00
Derek Collison
d58e68051a
Bump Version
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 08:52:52 -08:00
Derek Collison
136c18d052
Merge pull request #1922 from nats-io/s2
...
various bug fixes, wal/snapshot stability
2021-02-18 09:52:17 -07:00
Derek Collison
89fe3b05df
various bug fixes, wal/snapshot stability
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-18 08:41:09 -08:00
Derek Collison
700726c75b
Bump Version
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-17 20:14:32 -08:00
Derek Collison
d68753c037
Merge pull request #1920 from nats-io/stable
...
General stability improvements.
2021-02-17 21:10:31 -07:00
Derek Collison
e21c7097f3
General stability improvements.
...
Original thought to move to memory based WALs was ill-advised and caused issues with stability around restarts.
Returned to file based but with async flush for the WAL itself.
Also the raft inline catchup has been improved.
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-17 19:56:16 -08:00
Derek Collison
2c6381cc06
Merge pull request #1918 from nats-io/bump
...
Some stability improvements to raft lib and catchup stream processing.
2021-02-16 21:50:28 -07:00
Derek Collison
765b9ad57a
Some stability improvements to raft lib and catchup stream processing.
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 20:30:12 -08:00
Derek Collison
73d819c433
Merge pull request #1916 from nats-io/better_restore
...
Better restore logic
2021-02-16 17:19:02 -07:00
Derek Collison
ddc4cc79d2
Make sure to not process AR when no longer leader
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 15:58:46 -08:00
Derek Collison
eecec2aed1
Increase due to sendq
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 14:17:46 -08:00
Derek Collison
ddc800174f
Stabilize catchups and snapshot logic
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 13:30:02 -08:00
Derek Collison
0dcb006968
Handle AppendEntry reponse inline, lower outstanding on catchup to stabilize
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 13:24:09 -08:00
Derek Collison
30cc739797
Increase internal sendq due to JSC
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-16 13:19:13 -08:00
Ivan Kozlovic
84ae705ccf
Merge pull request #1915 from nats-io/fix_1912
...
[FIXED] Gateway's implicit connection not using global user/pass
2021-02-16 11:05:25 -07:00
Ivan Kozlovic
8598de6dbe
[FIXED] Gateway's implicit connection not using global user/pass
...
If a gateway is configured with an authorization block containing
username and password and accepts an unknown Gateway connection,
when initiating the outbound connection, it should use the
gateway authorization's user/pass information.
Resolves #1912
Signed-off-by: Ivan Kozlovic <ivan@synadia.com >
2021-02-16 10:06:06 -07:00
R.I.Pienaar
546f7a9816
Merge pull request #1914 from ripienaar/nightly_fix
...
revert to previous checkout version
2021-02-16 15:29:39 +01:00
R.I.Pienaar
3521d4c463
revert to previous checkout version
...
Signed-off-by: R.I.Pienaar <rip@devco.net >
2021-02-16 11:50:13 +01:00
R.I.Pienaar
50e9a8b609
Merge pull request #1911 from ripienaar/trigger_nightly
...
enable manual triggers of nightly builds
2021-02-15 21:21:54 +01:00
R.I.Pienaar
1c27acb846
enable manual triggers of nightly builds
...
Signed-off-by: R.I.Pienaar <rip@devco.net >
2021-02-15 21:17:11 +01:00
Derek Collison
7cc49f8c62
Use system account when nil
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-15 08:23:16 -08:00
Derek Collison
82de5a3cf8
Bump Version
...
Signed-off-by: Derek Collison <derek@nats.io >
2021-02-14 19:07:12 -08:00