Hi All,I am trying to do Gerrit to Gerrit replication via http.All my projects are replicated but i am getting below error.
Failed replicate of refs/changes/. ..reason:Notedb update requires -o Notedb=Allow .Please help me to resolve this.Thanks in advance.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CABvLcErkgb1%3DN%2Bu8-Ad1f-3wru8Lw%3DXfkmUc_fBPV_58ETzaZA%40mail.gmail.com.
Hi Nasser,
On Thu, 4 Aug 2022, 9:13 pm Nasser Grainawi, <nasser....@linaro.org> wrote:On Thu, Aug 4, 2022 at 9:41 AM Raj Aravind <rajarav...@gmail.com> wrote:Hi All,I am trying to do Gerrit to Gerrit replication via http.All my projects are replicated but i am getting below error.Are you trying to replicate from one Gerrit primary to another Gerrit primary (different "instances" - uncommon) or from a primary to a replica (same "instance" - commonly used to distribute read-only load)?
I am trying to do Gerrit primary (say 10.0.0.2:8082) to another Gerrit instance(10.0.0.3:8082)
On Thu, 4 Aug 2022, 9:21 pm Nasser Grainawi, <nasser....@linaro.org> wrote:On Thu, Aug 4, 2022 at 9:47 AM Raj Aravind <rajarav...@gmail.com> wrote:On Thu, 4 Aug 2022, 9:13 pm Nasser Grainawi, <nasser....@linaro.org> wrote:On Thu, Aug 4, 2022 at 9:41 AM Raj Aravind <rajarav...@gmail.com> wrote:Hi All,I am trying to do Gerrit to Gerrit replication via http.All my projects are replicated but i am getting below error.Are you trying to replicate from one Gerrit primary to another Gerrit primary (different "instances" - uncommon) or from a primary to a replica (same "instance" - commonly used to distribute read-only load)?I am trying to do Gerrit primary (say 10.0.0.2:8082) to another Gerrit instance(10.0.0.3:8082)That's not typically expected to work. The different Gerrit instances have separate tracking of code review changes (the change numbers will conflict) and their metadata and there's no published process for how to reconcile those.Why are you trying to do that?
My use case is that I have a Gerrit server instance running in one Linux machine whatever repos are created it should be replicated to another gerrit server which acts as just a back up for first Linux instance.
Second Gerrit server can be accessed by users when the first Gerrit server goes down
>>Having a second server available as a "hot standby" is a supported scenario, but you need to configure replication and Gerrit correctly for it to work. Some of that required configuration is documented in the high-availability plugin, but other parts (like replication) might only be in recorded talks or presentations from past user summits. Specific to your issue, it looks like you're trying to replicate to the standby Gerrit instance service, but instead you should be replicating to something lower-level like a filesystem, a git-daemon service, or a git-http-backend service.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CABvLcErLfcXKNGTi%2BvMikBjtCUpZWnYLrKWPNKn20%2Bzi%2Bxzvkg%40mail.gmail.com.