David Frickert
David Frickert
another update, i finally found out how to make it truly read only. the read only replica cannot have the "olcMirrorMode" set to TRUE. and it needs to have olcUpdateref...
any ideas on how to stop olcMirrorMode/olcMultiProvider to be replicated from master replicas to read only replica @jp-gouin ? what i have right now locally to make it work is...
> How about changing the `type=refreshAndPersist` to `type=refreshOnly` for read only replica ? Can't try it now , you can give it a shot will try, thanks
> How about changing the `type=refreshAndPersist` to `type=refreshOnly` for read only replica ? Can't try it now , you can give it a shot I think this might help a...
latest commits should make tests work for readonly (tested locally) although i now have changed default repl to refreshOnly so should perhaps work on a new commit to split that...
> Hi @davidfrickert Did you take a look at my previous comment ? hey, sorry for the delay, been sick and working on other stuff. I think that your proposal...
> Hey no worries > > So how does the replication work if the base is in total read-only ? It is in read-only from LDAP operations but syncrepl can...
I'm not that well versed in OpenLDAP so the current implementation might not be ideal. In the current implementation, the read-only replicas still receive replication so they need to be...
The last commit does work but it seems a bit shaky, as it requires you to manually remove the olcMultiProvider config from both databases of the read-only replica to make...
I'm ok with contributing to this feature, if the proposed solution sounds reasonable. Otherwise also open to other solutions that achieve the same goal with less complexity.