John Spray
d1bc36f536
storage controller: fix retries of compute hook notifications while a secondary node is offline ( #10352 )
...
## Problem
We would sometimes fail to retry compute notifications:
1. Try and send, set compute_notify_failure if we can't
2. On next reconcile, reconcile() fails for some other reason (e.g.
tried to talk to an offline node), and we fail the `result.is_ok() &&
must_notify` condition around the re-sending.
Closes: https://github.com/neondatabase/cloud/issues/22612
## Summary of changes
- Clarify the meaning of the reconcile result: it should be Ok(()) if
configuring attached location worked, even if secondary or detach
locations cannot be reached.
- Skip trying to talk to secondaries if they're offline
- Even if reconcile fails and we can't send the compute notification (we
can't send it because we're not sure if it's really attached), make sure
we save the `compute_notify_failure` flag so that subsequent reconciler
runs will try again
- Add a regression test for the above
2025-01-13 13:31:57 +00:00
..
2024-09-12 23:18:41 +01:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-10-29 11:39:09 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-11-11 18:07:01 +00:00
2024-10-08 14:32:26 -05:00
2025-01-03 15:38:51 +00:00
2024-10-31 14:44:59 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-12-16 10:06:08 +00:00
2024-10-08 14:32:26 -05:00
2024-11-25 09:01:05 +00:00
2025-01-10 20:35:50 +00:00
2025-01-10 13:57:23 +00:00
2025-01-09 16:39:53 +00:00
2024-11-08 12:19:18 -06:00
2025-01-06 20:25:31 +00:00
2025-01-02 18:37:50 +00:00
2024-10-08 14:32:26 -05:00
2024-11-27 12:12:21 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-12-14 17:37:13 +00:00
2024-12-11 19:16:33 +00:00
2024-12-11 22:21:42 +00:00
2024-10-08 14:32:26 -05:00
2024-11-25 09:01:05 +00:00
2024-10-18 15:07:36 +03:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-12-19 10:58:49 +00:00
2024-10-31 14:44:59 +00:00
2024-12-11 19:16:33 +00:00
2024-12-11 16:43:26 +00:00
2024-10-08 14:32:26 -05:00
2024-11-11 18:07:01 +00:00
2024-11-11 18:07:01 +00:00
2024-10-08 14:32:26 -05:00
2024-12-11 19:16:33 +00:00
2025-01-10 15:53:23 +00:00
2024-11-25 09:01:05 +00:00
2025-01-10 15:53:23 +00:00
2024-12-02 10:26:15 +00:00
2024-12-12 11:57:00 +00:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2024-12-10 19:42:52 +00:00
2024-11-11 18:07:01 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-10-18 12:42:41 +02:00
2024-10-08 14:32:26 -05:00
2024-11-25 09:01:05 +00:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-11-21 16:25:31 +00:00
2024-11-19 22:29:57 +02:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2024-12-11 19:16:33 +00:00
2024-12-02 10:26:15 +00:00
2024-12-03 22:07:03 +00:00
2024-12-19 09:45:06 +00:00
2024-12-11 22:21:42 +00:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2024-11-21 16:25:31 +00:00
2024-10-08 14:32:26 -05:00
2024-12-18 19:15:38 +00:00
2024-12-01 12:23:10 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-12-13 14:52:54 +00:00
2024-10-08 14:32:26 -05:00
2024-12-11 22:21:42 +00:00
2025-01-13 11:35:39 +00:00
2024-12-04 12:58:35 +00:00
2024-11-25 09:01:05 +00:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2025-01-03 15:38:51 +00:00
2024-12-02 10:26:15 +00:00
2024-10-18 11:25:45 +01:00
2024-11-21 16:25:31 +00:00
2024-10-08 14:32:26 -05:00
2025-01-09 12:31:02 +00:00
2024-11-22 14:31:36 +00:00
2025-01-13 13:31:57 +00:00
2025-01-03 10:55:07 +00:00
2024-12-02 10:26:15 +00:00
2024-11-27 12:12:21 +00:00
2024-12-11 19:16:33 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-12-11 22:21:42 +00:00
2025-01-09 20:41:49 +00:00
2024-12-02 10:26:15 +00:00
2024-12-11 19:16:33 +00:00
2024-12-02 10:26:15 +00:00
2024-12-02 10:26:15 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-28 17:47:15 -05:00
2024-12-11 21:37:25 +00:00
2024-11-14 17:19:13 +02:00
2024-11-27 12:12:21 +00:00
2024-12-16 14:53:04 +00:00
2024-12-02 10:26:15 +00:00
2024-11-08 12:19:18 -06:00
2024-10-08 14:32:26 -05:00