On 23 Sep 2020, at 10:46, tech....@gmail.com <tech....@gmail.com> wrote:Hello experts,Can anybody will help us on this topic.Is there any way to get those repos on mirror UI. Could it be achieved by implementing any hooks.Or is there nay other way doing this??
--
--
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/37be3973-e24f-4124-8629-7a24f6d3e47cn%40googlegroups.com.
Hello Bjorn,WE want to set up mirrors as read replica of gerrit master.Users only can browse the repos via mirror.NOTE: we can see repos by accessing the direct repo URL as below but why the repos are not listed/visible on Projects>List.
--
--
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/d7bdf472-f427-46fd-872e-8594b19e9550n%40googlegroups.com.
On 24 Sep 2020, at 03:32, mmh19...@gmail.com <mmh19...@gmail.com> wrote:
maybe you can try exec flush-caches and index for slave gerrit server.
ssh ${L_GERRIT_HOST} gerrit flush-caches --all
ssh ${L_GERRIT_HOST} gerrit index start projects --force
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/97de0e9c-eb44-481a-a82e-24e9c9f5588cn%40googlegroups.com.
On 28 Sep 2020, at 07:33, tech....@gmail.com <tech....@gmail.com> wrote:Hi Luca/*,Yes,ssh ${L_GERRIT_HOST} gerrit flush-caches --allssh ${L_GERRIT_HOST} gerrit index start projects --forceDoes the work, projects appears on mirrors/slaves and yes it will take ages if we will do it on thousands of repos. But this is not the solution.@Luca, we are not planning to hve multisite gerrit for now. but we are planning to have master (Push) >> mirrors (Only Pull) which are on different geo locations.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/76833cde-9845-4701-ba58-9dde876bef5bn%40googlegroups.com.
Hi Luca,Seems I am getting same errors even after getting gerrit mirror as a slave. Resulting disabling the mirror GUI.
gerrit mirror config.[container]javaOptions = "-Dflogger.backend_factory=com.google.common.flogger.backend.log4j.Log4jBackendFactory#getInstance"javaOptions = "-Dflogger.logging_context=com.google.gerrit.server.logging.LoggingContext#getInstance"user = gerritjavaHome = /usr/java/latest/jre#slave = truereplica = true
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/57069f15-83d3-461c-93db-8ed506cd6cc4n%40googlegroups.com.
Hello All,I am reopening this topic.Previously we have accepted the feature of projects not showing up after replication to mirrors.Mirrors should be read only replica and this feature justified that, which is cool.My current issue:- This time we conducted an upgrade of gerrit master and mirrors from 3.0.11 to 3.2.11, in which we have reindexed the mirrors as well.- After update and reindex projects are showing up on mirrors as well, which was hidden from 1 year and users are able to see all mirror projects on UI ,which they are not supposed to, what we have been told from last year.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/dfcdcbab-d794-4940-a98a-7fd82c35af79n%40googlegroups.com.
Hello,When a project gets replicate via replication plugin to a mirror, that project doesnt comes up on mirror GUI.
Only after reindexing it comes up on GUI.Which is okay , we want it to be hidden on GUI, and users can do git clone to download it on terminal.It was kind of normal and helping us from last year.