IR: Split init and run stages #1000

Open
opened 2025-12-28 17:21:27 +00:00 by sami · 1 comment
Owner

Originally created by @cthulhu-rider on GitHub (Mar 23, 2023).

Inspired by https://github.com/nspcc-dev/neofs-node/pull/2277#discussion_r1145779900

After #2277 IR runs internal blockchain services instantly, not in dedicated Start method. The reason is in all other undelying services which depend on started blockchain. It is propose within this issue to completely split init and launch steps, and don't run anything in innerring.New.

P.S.
I would prefer to allocate dynamic sys resources like files and sockets within innerring.Start, too. But this requires deeper detail at the component level.

Originally created by @cthulhu-rider on GitHub (Mar 23, 2023). _Inspired by https://github.com/nspcc-dev/neofs-node/pull/2277#discussion_r1145779900_ After #2277 IR runs internal blockchain services instantly, not in dedicated `Start` method. The reason is in all other undelying services which depend on started blockchain. It is propose within this issue to completely split init and launch steps, and don't run anything in `innerring.New`. P.S. I would prefer to allocate dynamic sys resources like files and sockets within `innerring.Start`, too. But this requires deeper detail at the component level.
Author
Owner

@roman-khimov commented on GitHub (Mar 27, 2023):

Making it a proper NeoGo service would simplify a lot of things, probably ~0.38.0.

@roman-khimov commented on GitHub (Mar 27, 2023): Making it a proper NeoGo service would simplify a lot of things, probably ~0.38.0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-node#1000
No description provided.