MB-7235: Enable/disable flush option

Also, enable/disable index replica

Change-Id: I9df070c93fa932c3d9730c5a9e9077043a159113