Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 63ce1a4

Browse files
committed
demo: fix memory tuning condition
The container memory tuning should only be set on nautilus+ ceph releases. Signed-off-by: Dimitri Savineau <[email protected]> (cherry picked from commit 8d185b6)
1 parent 437e4c9 commit 63ce1a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daemon/demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function parse_size {
7474

7575
function bootstrap_osd {
7676
# Apply the tuning on Nautilus and above only since the values applied are causing the ceph-osd to crash on earlier versions
77-
if [[ ${OSD_BLUESTORE} -eq 1 ]] && [[ "${CEPH_VERSION}" =~ ^(luminous|mimic)$ ]]; then
77+
if [[ ${OSD_BLUESTORE} -eq 1 ]] && [[ ! "${CEPH_VERSION}" =~ ^(luminous|mimic)$ ]]; then
7878
tune_memory $(get_available_ram)
7979
fi
8080

0 commit comments

Comments
 (0)