Skip to content

Commit 13f2a07

Browse files
committed
more docs is always better
1 parent f031305 commit 13f2a07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

schema/crdb/dbinit.sql

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,9 @@ CREATE TABLE IF NOT EXISTS omicron.public.crucible_dataset (
598598
* Reconfigurator rendezvous process, this field is set to 0. Reconfigurator
599599
* otherwise ignores this field. It's updated by Nexus as region allocations
600600
* and deletions are performed using this dataset.
601+
*
602+
* Note that this is the size *reserved* by the Crucible agent for regions,
603+
* not the actual region size.
601604
*/
602605
size_used INT NOT NULL
603606
);
@@ -645,6 +648,12 @@ CREATE TABLE IF NOT EXISTS omicron.public.region (
645648

646649
deleting BOOL NOT NULL,
647650

651+
/*
652+
* The Crucible Agent will reserve space for a region with overhead for
653+
* on-disk metadata that the downstairs needs to store. Record here the
654+
* overhead associated with a specific region as this may change or be
655+
* configurable in the future.
656+
*/
648657
reservation_percent omicron.public.region_reservation_percent NOT NULL
649658
);
650659

0 commit comments

Comments
 (0)