Skip to content

Return *410 Gone* if volume is inactive - #1232

Merged
jmpesp merged 1 commit into
oxidecomputer:mainfrom
jmpesp:gone_is_gone
Mar 25, 2024
Merged

jmpesp merged 1 commit into
oxidecomputer:mainfrom
jmpesp:gone_is_gone

Conversation

@jmpesp

@jmpesp jmpesp commented Mar 25, 2024

Copy link
Copy Markdown
Contributor

If the Pantry's volume is no longer active when it comes time to serve a request, return 410 Gone instead of 503, as 503 is interpreted as a temporary problem. If the Pantry's volume is no longer active, then it's likely a Propolis has activated and taken over, which should signal an unwind of whatever saga is using the Pantry.

If the Pantry's volume is no longer active when it comes time to serve a
request, return `410 Gone` instead of 503, as 503 is interpreted as a
temporary problem. If the Pantry's volume is no longer active, then it's
likely a Propolis has activated and taken over, which should signal an
unwind of whatever saga is using the Pantry.
@jmpesp
jmpesp merged commit 16f1647 into oxidecomputer:main Mar 25, 2024
@jmpesp
jmpesp deleted the gone_is_gone branch March 25, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants