On Thursday, September 20, 2012 at 06:20 EDT,
Sergey Kuznetsov <skuznet...@griddynamics.com> wrote:
> Please help me understand how replication works.
> I has configure two nodes, one for master and another
> slave(replication from master to slave).
> Now i have two questions:
[...]
> 2. When i manually create project with the same name on slave,
> replication goes well and i see in root git directory on slave
> replicated project, but no changes in web-ui.
What web UI changes did you expect to see? Are you running Gitweb on the
slave? Normally a slave doesn't have anything you'd call a UI, and the
web UI on the master server doesn't indicate the replication status of
any slaves.
On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck wrote:
> On Thursday, September 20, 2012 at 06:20 EDT, > Sergey Kuznetsov <skuzn...@griddynamics.com <javascript:>> wrote:
> > 2. When i manually create project with the same name on slave, > > replication goes well and i see in root git directory on slave > > replicated project, but no changes in web-ui.
> >What web UI changes did you expect to see?
On menu My->changes. When i commit something to the master, on this page i can see changes to review.
Are you running Gitweb on the slave?
No, i mean http daemon from gerrit install, he provide web page where i can see commits(on menu My->changes).
Normally a slave doesn't have anything you'd call a UI, and the
> web UI on the master server doesn't indicate the replication status of > any slaves.
http://gerrit-documentation.googlecode.com/svn/Documentation/2.4.2/co... I read this doc about configuring gerrit replication, if i think right, master and slave has identical setup java -jar gerrit-2.4.2.war init -d /some/path, but master in gerrit $site_path/etc/ have configured replication.config. That all diff for me in master and slave.
> On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck wrote:
> > What web UI changes did you expect to see?
> On menu My->changes. When i commit something to the master, on this
> page i can see changes to review.
> > Are you running Gitweb on the slave?
> No, i mean http daemon from gerrit install, he provide web page where
> i can see commits(on menu My->changes).
> > Normally a slave doesn't have anything you'd call a UI, and the web
> > UI on the master server doesn't indicate the replication status of
> > any slaves.
> http://gerrit-documentation.googlecode.com/svn/Documentation/2.4.2/co... > I read this doc about configuring gerrit replication, if i think right,
> master and slave has identical setup java -jar gerrit-2.4.2.war init -d
> /some/path, but master in gerrit $site_path/etc/ have configured
> replication.config.
> That all diff for me in master and slave.
Oh. In that case you don't actually have a master/slave set up -- you
have two Gerrit master servers where one happens to replicate Git data
to the other one. Gerrit doesn't support multimaster setups. The data
replicated to slaves is only for read-only purposes to spread the load
and/or cope with slow connections between sites.
> On Thursday, September 20, 2012 at 12:08 EDT, > Sergey Kuznetsov <skuzn...@griddynamics.com <javascript:>> wrote:
> > On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck wrote:
> > > What web UI changes did you expect to see?
> > On menu My->changes. When i commit something to the master, on this > > page i can see changes to review.
> > > Are you running Gitweb on the slave?
> > No, i mean http daemon from gerrit install, he provide web page where > > i can see commits(on menu My->changes).
> > > Normally a slave doesn't have anything you'd call a UI, and the web > > > UI on the master server doesn't indicate the replication status of > > > any slaves.
> http://gerrit-documentation.googlecode.com/svn/Documentation/2.4.2/co... > > I read this doc about configuring gerrit replication, if i think right, > > master and slave has identical setup java -jar gerrit-2.4.2.war init -d > > /some/path, but master in gerrit $site_path/etc/ have configured > > replication.config. > > That all diff for me in master and slave.
> Oh. In that case you don't actually have a master/slave set up -- you > have two Gerrit master servers where one happens to replicate Git data > to the other one. Gerrit doesn't support multimaster setups. The data > replicated to slaves is only for read-only purposes to spread the load > and/or cope with slow connections between sites.
Many thanks for explanation, but where i can read about right setup of master/slave configuration? Or "a load-balanced public mirror farm"?
If it is not difficult, please give me an urls where i can learn more about this configs.
> пятница, 21 сентября 2012 г., 0:15:08 UTC+4 пользователь Magnus Bäck
> написал:
>> On Thursday, September 20, 2012 at 12:08 EDT,
>> Sergey Kuznetsov <skuzn...@griddynamics.com> wrote:
>> > On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck wrote:
>> > > What web UI changes did you expect to see?
>> > On menu My->changes. When i commit something to the master, on this
>> > page i can see changes to review.
>> > > Are you running Gitweb on the slave?
>> > No, i mean http daemon from gerrit install, he provide web page where
>> > i can see commits(on menu My->changes).
>> > > Normally a slave doesn't have anything you'd call a UI, and the web
>> > > UI on the master server doesn't indicate the replication status of
>> > > any slaves.
>> Oh. In that case you don't actually have a master/slave set up -- you
>> have two Gerrit master servers where one happens to replicate Git data
>> to the other one. Gerrit doesn't support multimaster setups. The data
>> replicated to slaves is only for read-only purposes to spread the load
>> and/or cope with slow connections between sites.
> Many thanks for explanation, but where i can read about right setup of
> master/slave configuration? Or "a load-balanced public mirror farm"?
> If it is not difficult, please give me an urls where i can learn more
> about this configs.
>> пятница, 21 сентября 2012 г., 0:15:08 UTC+4 пользователь Magnus Bäck >> написал:
>>> On Thursday, September 20, 2012 at 12:08 EDT, >>> Sergey Kuznetsov <skuzn...@griddynamics.com> wrote:
>>> > On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck wrote:
>>> > > What web UI changes did you expect to see?
>>> > On menu My->changes. When i commit something to the master, on this >>> > page i can see changes to review.
>>> > > Are you running Gitweb on the slave?
>>> > No, i mean http daemon from gerrit install, he provide web page where >>> > i can see commits(on menu My->changes).
>>> > > Normally a slave doesn't have anything you'd call a UI, and the web >>> > > UI on the master server doesn't indicate the replication status of >>> > > any slaves.
>>> Oh. In that case you don't actually have a master/slave set up -- you >>> have two Gerrit master servers where one happens to replicate Git data >>> to the other one. Gerrit doesn't support multimaster setups. The data >>> replicated to slaves is only for read-only purposes to spread the load >>> and/or cope with slow connections between sites.
>> Many thanks for explanation, but where i can read about right setup of >> master/slave configuration? Or "a load-balanced public mirror farm"?
>> If it is not difficult, please give me an urls where i can learn more >> about this configs.
In messages above i wrote this url, the document does not have any words about how must i instruct gerrit to act a slave. Please read all thread to understand what my problem for.
>>> пятница, 21 сентября 2012 г., 0:15:08 UTC+4 пользователь Magnus Bäck
>>> написал:
>>>> On Thursday, September 20, 2012 at 12:08 EDT, >>>> Sergey Kuznetsov <skuzn...@griddynamics.com> wrote:
>>>> > On Thursday, September 20, 2012 7:19:14 PM UTC+4, Magnus Bäck
>wrote:
>>>> > > What web UI changes did you expect to see?
>>>> > On menu My->changes. When i commit something to the master, on
>this >>>> > page i can see changes to review.
>>>> > > Are you running Gitweb on the slave?
>>>> > No, i mean http daemon from gerrit install, he provide web page
>where >>>> > i can see commits(on menu My->changes).
>>>> > > Normally a slave doesn't have anything you'd call a UI, and the
>web >>>> > > UI on the master server doesn't indicate the replication status
>of >>>> > > any slaves.
>>>> > I read this doc about configuring gerrit replication, if i think >>>> right, >>>> > master and slave has identical setup java -jar gerrit-2.4.2.war
>init >>>> -d >>>> > /some/path, but master in gerrit $site_path/etc/ have configured >>>> > replication.config. >>>> > That all diff for me in master and slave.
>>>> Oh. In that case you don't actually have a master/slave set up --
>you >>>> have two Gerrit master servers where one happens to replicate Git
>data >>>> to the other one. Gerrit doesn't support multimaster setups. The
>data >>>> replicated to slaves is only for read-only purposes to spread the
>load >>>> and/or cope with slow connections between sites.
>>> Many thanks for explanation, but where i can read about right setup
>of >>> master/slave configuration? Or "a load-balanced public mirror farm"?
>>> If it is not difficult, please give me an urls where i can learn
>more >>> about this configs.
>In messages above i wrote this url, the document does not have any
>words >about how must i instruct gerrit to act a slave. Please read all thread
>to >understand what my problem for.