redpanda-data/redpanda

redpanda: remove throwing if 1G of memory is not free

Geschlossen

#2.879 geöffnet am 05.11.2021

 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (514 Forks)batch import
area/redpandagood first issuekind/enhance

Repository-Metriken

Stars
 (8.251 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 4T 14h) (242 gemergte PRs in 30 T)

Beschreibung

Today, unless developer_mode is true, we throw if there is less than 1G of free memory on startup.

Similar to how we recommend XFS, we can recommend that 1G memory be available, but allow things to work if less is available. Redpanda works for low memory situations, and not throwing allows us to drop into memory constrained environments more easily.

JIRA Link: CORE-777

Contributor Guide