Add timeout for opening database in frostfs-lens meta explore
#1415
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1415
Loading…
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.
When running
frostfs-lens meta explore
, the command hangs if the database is already open by another process, and there's no clear indication of why the command is stalled.Describe the solution you'd like
Timeout
option when opening the database--timeout
to configure the wait time, e.g.--timeout=10s
--timeout
optionNo need to parametrize this, it is a timeout for obtaining a lock on the database.
Take constant from other places in code (100ms).