Skip to content

Commit 84c9d7e

Browse files
committed
better comment for size_used
1 parent f7dbdf8 commit 84c9d7e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

schema/crdb/dbinit.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,8 +599,10 @@ CREATE TABLE IF NOT EXISTS omicron.public.crucible_dataset (
599599
* otherwise ignores this field. It's updated by Nexus as region allocations
600600
* and deletions are performed using this dataset.
601601
*
602-
* Note that this is the size *reserved* by the Crucible agent for regions,
603-
* not the actual region size.
602+
* Note that the value in this column is _not_ the sum of requested region
603+
* sizes, but sum of the size *reserved* by the Crucible agent for the
604+
* dataset that contains the regions (which is larger than the the actual
605+
* region size).
604606
*/
605607
size_used INT NOT NULL
606608
);

0 commit comments

Comments
 (0)