Files
nats-server/server
Derek Collison 7e38ebcb6e Allow assets such as streams and their associated consumers to migrate between clusters.
The system will allow an update to a stream, and subsequently all attached consumers, to be placed in another cluster either directly or via tag placement.
The meta layer will scale the underlying peerset appropriately to straddle the two clusters for both the stream and consumers, taking into account the consumer type.
Control will then pass to the current leaders of the assets who will monitor the catchup status of the new peers.
(Note we can optimize this later to only traverse once across a GW for any given asset, but for now this is simpler)
Once the original leaders have determined the assets are synched it will pass leadership to a member of the new peerset.
Once the new leader has been elected, it will forward a request for the meta layer to shrink the peerset by removing the old peers.

Signed-off-by: Derek Collison <derek@nats.io>
2022-04-04 18:28:36 -07:00
..
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2022-01-21 11:03:19 -08:00
2022-04-01 17:55:33 -06:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2020-02-25 19:53:09 -05:00
2021-12-14 10:00:54 -07:00
2021-11-15 17:23:08 -07:00
2022-03-17 17:53:06 -06:00
2022-03-17 17:53:06 -06:00
2022-02-04 13:32:18 -08:00
2022-03-25 18:24:17 -06:00
2022-04-01 17:55:33 -06:00
2019-05-06 15:41:38 -07:00
2022-03-17 17:53:06 -06:00
2022-01-21 11:03:19 -08:00
2020-06-12 10:03:47 -06:00
2022-03-17 17:53:06 -06:00
2022-04-01 17:55:33 -06:00
2021-11-15 17:23:08 -07:00
2019-11-14 20:05:32 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-09-01 14:55:26 -07:00
2021-11-15 17:23:08 -07:00
2019-12-12 11:58:24 -07:00
2021-12-16 16:53:20 -05:00
2021-09-13 15:22:05 +03:00
2022-03-25 12:11:55 -06:00
2022-03-25 12:11:55 -06:00