Changes setting of replicaIndex and flushEnabled in bucket provider