lens/explorer: Add timeout for opening database #1420
No reviewers
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 milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#1420
Loading…
Reference in a new issue
No description provided.
Delete branch "a-savchuk/frostfs-node:metabase-explorer-timeout"
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?
Close #1415
Signed-off-by: Aleksey Savchuk a.savchuk@yadro.com
@ -71,6 +72,7 @@ func runTUI(cmd *cobra.Command) error {
func openDB(writable bool) (*bbolt.DB, error) {
db, err := bbolt.Open(vPath, 0o600, &bbolt.Options{
ReadOnly: !writable,
Timeout: 100 * time.Microsecond,
Millisecond I think:)
Fixed:)
70eac25d4a
to14c5c466db
14c5c466db
to9625010563
WIP: lens/explorer: Add timeout for opening databaseto lens/explorer: Add timeout for opening database9625010563
to0c49bca19c