You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rust/cubestore/cubestore/src/sql/mod.rs
+88Lines changed: 88 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -317,6 +317,19 @@ impl SqlServiceImpl {
317
317
}else{
318
318
None
319
319
};
320
+
321
+
let max_disk_space = self.config_obj.max_disk_space();
322
+
if max_disk_space > 0{
323
+
let used_space = self.db.get_used_disk_space_out_of_queue().await?;
324
+
if max_disk_space < used_space {
325
+
returnErr(CubeError::user(format!(
326
+
"Exceeded available storage space: {:.3} GB out of {} GB allowed. Please consider changing pre-aggregations build range, reducing index count or pre-aggregations granularity.",
0 commit comments