Skip to content

Open GRPC socket before opening the DB and compactions #6421

@matevz

Description

@matevz
SUMMARY

When starting oasis-node, it takes some time to open Badger databases and run compactions. This is especially notable if you have ParaTimes configured. In the meantime, you have no idea what is the state of the node without checking the logs. I suggest we open internal.sock right after reading the config file. Then, during the DB compactions, running oasis net status would already return you meaningful status e.g. "Compacting database".

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

go/oasis-node/cmd

ADDITIONAL INFORMATION

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions