Closed lmlg closed 2 months ago
Heya, thanks for that! One minor nit inside.
Also I'm wondering if we might want to add a small functest for this. Could e.g. in juju-single-test set RF=1 and only add 1 OSD there
After refactoring, the config hook calls out to set_pool_size
, which has its own functional test, so I would say it's already being tested, but I can cook up something specific for it if it's needed.
The configuration option description looks good to me.
The change looks good to me, +1 for @sabaini's suggestion because single node single disk deployment are one of the primary use cases for this config.
Instead of setting the default replication factor to 1 by default, this PR aims to let users select what default value they wish to be applied.