Skip to content

Commit

Permalink
more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Jun 6, 2024
1 parent eddc282 commit b87b307
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion schema/crdb/fix-provisioning-counters/up.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
-- in invalid accounting, which is mitigated by this schema change.
--
-- This update is currently occurring offline, so we exploit
-- that fact to identify that all instances should be off.
-- that fact to identify that all instances *should* be terminated
-- before racks are updated. If they aren't, and an instance is in the
-- "running" state when an update occurs, the propolis zone would be
-- terminated, while the running database record remains. In this case,
-- the only action we could take on the VMM would be to delete it,
-- which would attempt to delete the "vritual provisioning resource"
-- record anyway. This case is already idempotent, and would be a safe
-- operation even if the "virtual_provisioning_resource" has already
-- been removed.

SET LOCAL disallow_full_table_scans = OFF;

Expand Down

0 comments on commit b87b307

Please sign in to comment.