Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ability to restart all production vats #8104

Open
turadg opened this issue Jul 27, 2023 · 0 comments
Open

ability to restart all production vats #8104

turadg opened this issue Jul 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@turadg
Copy link
Member

turadg commented Jul 27, 2023

What is the Problem Being Solved?

As we perform upgrades to parts of the stack, running vats don't automatically get them. Only upon restart does a vat's environment change. That's a good thing architecturally, but operationally we want to minimize the number of concurrent versions in production.

Description of the Design

Some mechanism to restart all the vats.

TBD whether to make an exception for the bootstrap vat. It's currently not upgradable/restartable (#8849).

To make it restartable we'll have to store the 5 objects that are still heap-only:

test.serial('audit bootstrap exports', async t => {
const expected = {
maxExports: 5,
maxNonDurable: 5,
ifaces: {
// in bridgeCoreEval()
coreHandler: true,
// in bridgeProvisioner()
provisioningHandler: true,
'prioritySenders manager': true,
// TODO? move to provisioning vat?
clientCreator: true,
},
};

Security Considerations

Scaling Considerations

Test Plan

Upgrade Considerations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant