Server auto re-binding #291
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#291
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Application starts if at least one endpoint address (interface) can bind listening server. There are cases when some interfaces become available over time, e.g. after system or network restart. However application will not bind any "late" interfaces until app is manually restarted.
Describe the solution you'd like
Storage node had the same issue when application starts with only localhost endpoint and was completely ignoring other data-path interfaces. To solve that, application tries to re-bind servers over time. This is a good stability improvement, which gateway apps may appreciate too.
Describe alternatives you've considered
Control bound interface with metrics and restart application until all required interfaces are up. This requires some external watcher. As far as I know, there was some issues with systemd in controlling of interface status. Described approach looks more robust and independent.
Additional context
Storage node is more affected to described problem, because it serves request over two independent networks (internal for node communications and data for client communications) and requests are delivered directly. Gateways, on the other hand, usually accept requests through some reverse-proxies and localhost binding is pretty much enough to keep going.
Closed in #309
pogpp referenced this issue2024-04-12 09:00:02 +00:00