-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nexus notifications have different importance (#1621)
Even if it's best effort, notifications about progress should be low priority, and not starve out notifications related to processes starting and stopping. Otherwise, we see: 00:16:18.781Z INFO propolis-server (vm_state_driver): live-repair completed successfully = downstairs session_id = 67a91355-4dd1-4e8d-9631-15f5fed073d9 00:16:18.781Z WARN propolis-server (vm_state_driver): could not send notify "Full(..)"; queue is full job = notify_queue session_id = 67a91355-4dd1-4e8d-9631-15f5fed073d9 Store high priority messages and retry them 3 times Importantly, remove `retry_until_known_result`: if Nexus disappears, then the task will be stuck trying to notify it indefinitely, and _of course_ queues will fill up!
- Loading branch information
Showing
2 changed files
with
146 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters