gerrit show-queue -w -qQueue: ReplicateTo-target_01
87e071af 12:20:18.277 [278e65f1] push ssh://git@target_01/<repo_7>
c102d988 12:20:20.407 [44611748] push ssh://git@target_01/<repo_8>
------------------------------------------------------------------------------
2 tasks, 8 worker threads
Queue: ReplicateTo-target_02
87e071af 12:20:18.277 [278e65f1] push ssh://git@target_02/<repo_7>
c102d988 12:20:20.407 [44611748] push ssh://git@target_02/<repo_8>
------------------------------------------------------------------------------
2 tasks, 8 worker threads
Queue: ReplicateTo-target_03
87e071af 12:20:18.277 [278e65f1] push ssh://git@target_03/<repo_7>
c102d988 12:20:20.407 [44611748] push ssh://git@target_03/<repo_8>
------------------------------------------------------------------------------
2 tasks, 8 worker threads
Queue: ReplicateTo-target_04
87e071af 12:20:18.277 [278e65f1] push ssh://git@target_04/<repo_9>
c102d981 12:20:20.407 [44611741] push ssh://git@target_04/<repo_1>
c102d982 12:20:20.407 [44611742] push ssh://git@target_04/<repo_2>
c102d983 12:20:20.407 [44611743] push ssh://git@target_04/<repo_3>
c102d984 12:20:20.407 [44611744] push ssh://git@target_04/<repo_4>
c102d985 12:20:20.407 [44611745] push ssh://git@target_04/<repo_5>
c102d986 12:20:20.407 [44611746] push ssh://git@target_04/<repo_6>
c102d987 12:20:20.407 [44611747] push ssh://git@target_04/<repo_7>
c102d988 Waiting 12:20:20.407 [44611748] push ssh://git@target_04/<repo_8>
------------------------------------------------------------------------------
9 tasks, 8 worker threads target_01:
url: ssh://git@target_01/srv/gerrit/git/${name}.git
threads: 8
mirror: true
authGroup: Registered Users
replicateProjectDeletions: true
replicationDelay: 10
rescheduleDelay: 5
target_02:
url: ssh://git@target_02/srv/gerrit/git/${name}.git
threads: 8
mirror: true
replicateProjectDeletions: true
replicationDelay: 5
rescheduleDelay: 5
target_03:
url: ssh://git@target_03/srv/gerrit/git/${name}.git
threads: 8
mirror: true
authGroup:
- blub
- Registered Users
replicateProjectDeletions: true
replicationDelay: 11
rescheduleDelay: 11
timeout: 3000
target_04:
url: ssh://git@target_04/srv/gerrit/git/${name}.git
threads: 8
mirror: true
authGroup:
- blub
- Registered Users
replicateProjectDeletions: true
replicationDelay: 20
rescheduleDelay: 20
replicationRetry: 2
timeout: 5000BRRikard Almgren--
--
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/01fd0b96-cf8b-445e-afd1-89a2848e835c%40googlegroups.com.
To unsubscribe, email rep...@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-d...@googlegroups.com.
We are running Gerrit 2.16.12-93-g27ca7c6, Replication Plugin is v2.16.11.1-15-g04bd527
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/67dfe843-10c9-4054-bae3-9adb86f52277%40googlegroups.com.
To unsubscribe, email repo-d...@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-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/67dfe843-10c9-4054-bae3-9adb86f52277%40googlegroups.com.
--BRRikard Almgren
--
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 unsubscribe, email repo-d...@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-d...@googlegroups.com.
This IS a known issue with jgit ssh, at least with older versions, I am not sure that this has been fixed yet? The known issue is that the jgit implementation of ssh, jshell is broken and not very thread working. It will basically serialize your operations. This is the reason many people have switched to git: or https for replication,
-Martin
To unsubscribe, email repo-d...@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-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/01fd0b96-cf8b-445e-afd1-89a2848e835c%40googlegroups.com.
We had a problem with SSH connection deadlocking in Gerrit, particularly when using multiple threads and under load.for us, we fixed it by adding this to the Gerrit config files.[sshd]rekeyBytesLimit = 0rekeyTimeLimit = 0
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/35B1690E-46C8-4B8E-9C32-129C47555F0B%40codeaurora.org.
On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3S%3Ds0LVaBJ-UzgMv25GU-FP5shRUEm7-vFPk8vmPne3Tg%40mail.gmail.com.
On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.+1 to that. Can you add it to the Gerrit roadmap?
On 16 Apr 2020, at 22:17, Matthias Sohn <matthi...@gmail.com> wrote:On Thu, Apr 16, 2020 at 9:03 PM Luca Milanesio <luca.mi...@gmail.com> wrote:On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.+1 to that. Can you add it to the Gerrit roadmap?do you think this could be done in 3.2 or rather in 3.3 ?
On 16 Apr 2020, at 22:17, Matthias Sohn <matthi...@gmail.com> wrote:On Thu, Apr 16, 2020 at 9:03 PM Luca Milanesio <luca.mi...@gmail.com> wrote:On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.+1 to that. Can you add it to the Gerrit roadmap?do you think this could be done in 3.2 or rather in 3.3 ?We haven’t cut the stable-3.2 branch yet, so I would go for v3.2. What do you think?
The current Git/SSH client support in Gerrit is very unstable and flaky anyway, so I don’t believe we are going to lose stability with the upgrade.
On Thu, Apr 16, 2020 at 11:21 PM Luca Milanesio <luca.m...@gmail.com> wrote:
On 16 Apr 2020, at 22:17, Matthias Sohn <matthi...@gmail.com> wrote:
On Thu, Apr 16, 2020 at 9:03 PM Luca Milanesio <luca.m...@gmail.com> wrote:On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.+1 to that. Can you add it to the Gerrit roadmap?do you think this could be done in 3.2 or rather in 3.3 ?
We haven’t cut the stable-3.2 branch yet, so I would go for v3.2. What do you think?
sounds good
Luca.Luca.
To unsubscribe, email repo-discuss+unsub...@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-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/01fd0b96-cf8b-445e-afd1-89a2848e835c%40googlegroups.com.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
--
To unsubscribe, email repo-discuss+unsub...@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-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/35B1690E-46C8-4B8E-9C32-129C47555F0B%40codeaurora.org.
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-d...@googlegroups.com.
On Thursday, April 16, 2020 at 11:52:39 PM UTC+2, Matthias Sohn wrote:On Thu, Apr 16, 2020 at 11:21 PM Luca Milanesio <luca.m...@gmail.com> wrote:On 16 Apr 2020, at 22:17, Matthias Sohn <matthi...@gmail.com> wrote:On Thu, Apr 16, 2020 at 9:03 PM Luca Milanesio <luca.m...@gmail.com> wrote:On 16 Apr 2020, at 16:47, Matthias Sohn <matthi...@gmail.com> wrote:Since jgit 5.2 there is an alternative ssh implementation in jgit based on mina sshd [1].In 5.3 we switched the default for EGit to this new implementation [2].I think this new implementation can be considered stable.Advantages are that mina sshd is actively developed and maintainedin a real open source setup and we can contribute patches which isnot the case for jsch. The code also looks a lot cleaner than jsch.Find more details in [3]. Kudos to Thomas Wolf for this implementation.We may consider to use this in gerrit as well.+1 to that. Can you add it to the Gerrit roadmap?do you think this could be done in 3.2 or rather in 3.3 ?We haven’t cut the stable-3.2 branch yet, so I would go for v3.2. What do you think?sounds goodAm I understanding correctly or am I confused? You are talking about switching to a jgit that uses Mina, or?
import org.eclipse.jgit.transport.SshSessionFactory;
import org.eclipse.jgit.transport.sshd.DefaultProxyDataFactory;
import org.eclipse.jgit.transport.sshd.JGitKeyCache;
import org.eclipse.jgit.transport.sshd.SshdSessionFactory;
SshdSessionFactory f = new SshdSessionFactory(new JGitKeyCache(), new DefaultProxyDataFactory());
SshSessionFactory.setInstance(factory)
jgit uses sshd-osgi which is a shaded combination of sshd-common and sshd-core toavoid issues with split packages which bite in an osgi runtime like Eclipse.In gerrit I think we would need to- upgrade to the mina version 2.4 which jgit master is using- use sshd-osgi instead of sshd-common and sshd-core- add a dependency to org.eclipse.jgit.ssh.apache- add sshd-sftp to the dependencies- eddsa 0.3 is already in Gerrit dependencies- add a dependency to org.eclipse.jgit.ssh.jsch when https://git.eclipse.org/r/#/c/156153/ is submitted- set the SshdSessionFactory to enable switching implementations based on some new gerrit config option- org.eclipse.jgit.gpg.bc would be only required if there is any use case for creating signed commits in gerrit
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/CAKSZd3RhuEQFa3eteeO6s3qAFUc00E8k8qhmQNLgCHO_u6%3DXZQ%40mail.gmail.com.