freddygv
6453375ab2
Add leader routine to clean up peerings
...
Once a peering is marked for deletion a new leader routine will now
clean up all imported resources and then the peering itself.
A lot of the logic was grabbed from the namespace/partitions deferred
deletions but with a handful of simplifications:
- The rate limiting is not configurable.
- Deleting imported nodes/services/checks is done by deleting nodes with
the Txn API. The services and checks are deleted as a side-effect.
- There is no "round rate limiter" like with namespaces and partitions.
This is because peerings are purely local, and deleting a peering in
the datacenter does not depend on deleting data from other DCs like
with WAN-federated namespaces. All rate limiting is handled by the
Raft rate limiter.
2022-06-14 15:36:50 -06:00
..
2022-02-03 13:42:28 -05:00
2022-04-21 17:34:40 -05:00
2022-05-20 15:47:40 +01:00
2022-06-07 15:55:02 -04:00
2022-06-06 15:13:19 -04:00
2022-06-09 17:07:41 -07:00
2022-04-05 15:11:49 -07:00
2022-06-10 17:15:22 -04:00
2022-06-14 15:36:50 -06:00
2022-01-20 10:46:23 -06:00
2022-05-19 14:00:07 -05:00
2021-11-16 12:04:01 -06:00
2022-06-09 11:05:18 -05:00
2022-04-05 15:11:49 -07:00
2021-11-15 09:51:14 -06:00
2022-04-21 16:21:35 -04:00
2022-06-10 16:11:40 -05:00
2022-06-06 14:20:41 -05:00
2022-05-27 13:25:08 -04:00
2022-02-03 13:42:28 -05:00
2021-12-07 12:48:50 +00:00
2022-06-14 15:36:50 -06:00
2022-05-25 13:20:17 -07:00
2022-06-08 13:24:10 -04:00
2022-05-20 15:47:40 +01:00
2021-12-07 12:12:47 +00:00
2022-06-01 11:09:51 -04:00
2022-06-14 13:19:09 -07:00
2021-10-26 15:20:57 -04:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2021-12-03 20:36:28 +00:00
2022-05-19 16:03:46 -04:00
2022-04-29 13:42:49 -04:00
2022-05-09 10:07:19 -07:00
2022-04-05 15:11:49 -07:00
2022-06-06 15:13:19 -04:00
2022-06-09 17:04:05 -07:00
2022-06-01 16:18:06 +01:00
2022-04-18 11:41:10 -04:00
2022-06-06 14:20:41 -05:00
2021-11-16 12:04:01 -06:00
2022-06-06 15:13:19 -04:00
2022-06-01 13:17:14 -04:00
2022-04-05 15:11:49 -07:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2022-04-29 13:42:49 -04:00
2022-04-18 11:41:10 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2022-04-05 15:11:49 -07:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2022-04-05 15:11:49 -07:00
2021-12-07 12:48:50 +00:00
2022-06-10 11:23:51 -07:00
2021-11-16 12:04:01 -06:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2022-06-01 13:17:14 -04:00
2022-05-31 12:04:19 -07:00
2022-06-01 13:17:14 -04:00
2021-10-09 17:12:52 -04:00
2021-12-07 12:48:50 +00:00
2022-04-29 13:42:49 -04:00
2022-06-10 11:10:46 -05:00
2022-06-01 13:17:14 -04:00
2022-06-01 13:17:14 -04:00
2021-11-16 12:04:01 -06:00
2022-06-14 10:59:53 -07:00
2022-06-01 13:17:14 -04:00
2021-12-07 12:48:50 +00:00
2022-02-24 17:24:57 +00:00
2022-06-02 12:26:18 -04:00
2022-06-03 13:07:37 -04:00
2021-10-27 16:26:09 -04:00
2021-11-16 12:04:01 -06:00
2022-04-29 13:42:49 -04:00
2022-05-02 11:49:05 -07:00
2022-06-14 15:36:50 -06:00
2022-06-10 11:10:46 -05:00
2022-04-29 13:42:49 -04:00
2022-06-01 13:17:14 -04:00
2021-12-07 12:48:50 +00:00
2021-10-26 15:08:55 -05:00
2022-05-25 13:20:17 -07:00
2022-05-25 13:20:17 -07:00
2022-06-01 13:17:14 -04:00
2021-11-16 12:04:01 -06:00
2022-06-03 13:07:37 -04:00
2022-01-20 10:46:23 -06:00
2021-11-16 12:04:01 -06:00
2021-11-16 12:04:01 -06:00
2021-11-01 11:40:16 -04:00
2022-05-19 16:03:46 -04:00
2022-04-29 13:42:49 -04:00
2022-04-29 13:42:49 -04:00
2021-11-16 12:04:01 -06:00
2022-02-16 16:51:54 -05:00
2022-06-01 13:17:14 -04:00
2021-09-21 17:57:29 -04:00
2022-02-14 09:45:45 -08:00
2021-11-04 13:07:54 -07:00
2021-11-04 13:07:54 -07:00