Add reserved_storage_bytes for replicas

What does this MR do and why?

Add reserved_storage_bytes for replicas

Adds reserved_storage_bytes for knowledge graph replicas, similar to zoekt indexes. Reserved storage is included when counting unclaimed storage space for nodes.

Changelog: added EE: true

DB queries

Query for ordering ndoes by order_by_unclaimed_space_desc: https://explain.depesz.com/s/AMuSr#html

The query is from localhost (the reason is that reserved_storage_bytes column doesn't exist on .com yet).

References

Related to #551093 (closed)

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jan Provaznik

Merge request reports

Loading