oxidecomputer / crucible

A storage service.
Mozilla Public License 2.0
175 stars 18 forks source link

crucible-agent needs to do more at the same time #1392

Open leftwo opened 3 months ago

leftwo commented 3 months ago

Right now, the worker loop in crucible agent is single threaded. Creating a region from a clone source can take a while, and this can backup other agent commands that could be independent. Figure out a way to make the agent do multiple things at once to prevent a large clone operation from making a backlog of other commands.

leftwo commented 3 months ago

With snapshot replacement about to land, this will become more visible.

leftwo commented 2 months ago

Proposed fix in: https://github.com/oxidecomputer/crucible/pull/1393