Skip to content

Add the default value for reserved_storage_bytes

Ravi Kumar requested to merge set-reserved_storage_bytes-default into master

What does this MR do and why?

This MR adds the default value of reserved_storage_bytes to 10.gigabytes

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  • Run the db migration
bin/rails db:migrate
  • Open the rails console
bin/rails c
  • Run the following command and ensure reserved_storage_bytes is 10737418240
Search::Zoekt::Index.new.reserved_storage_bytes

Related to: #472431 (closed)

Edited by Dmitry Gruzd

Merge request reports

Loading