--
--
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/8af2129a-c113-423b-9265-8567017b0efc%40googlegroups.com.
+1 to that, it's a great idea.We should get rid of many other "zero timeouts" in Gerrit v3.1, as long as we highlight them properly in the release notes.
On Sunday, 25 August 2019 15:39:25 UTC+2, lucamilanesio wrote:+1 to that, it's a great idea.We should get rid of many other "zero timeouts" in Gerrit v3.1, as long as we highlight them properly in the release notes.Almost one month later, I have received 1 positive response and 0 negative responses, 0 suggestions about what the new default should be and no other comments.Please come forward *now* if you have objections or a better suggestion about the default timeout of 30 minutes. Thanks!
Tracking issue is Issue 11550 [1] & proposed change [2].
--
--
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/49413cbf-9088-4753-9902-f2ed431f4572%40googlegroups.com.
On 21 Sep 2019, at 21:15, Matthias Sohn <matthi...@gmail.com> wrote:On Sat, Sep 21, 2019 at 8:05 PM Gert van Dijk <gert...@gmail.com> wrote:On Sunday, 25 August 2019 15:39:25 UTC+2, lucamilanesio wrote:+1 to that, it's a great idea.We should get rid of many other "zero timeouts" in Gerrit v3.1, as long as we highlight them properly in the release notes.Almost one month later, I have received 1 positive response and 0 negative responses, 0 suggestions about what the new default should be and no other comments.
Please come forward *now* if you have objections or a better suggestion about the default timeout of 30 minutes. Thanks!we use 10min for sshd.idleTimeout and 5 min for receive.timeout [3] and this works for us
Tracking issue is Issue 11550 [1] & proposed change [2].--
--
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/49413cbf-9088-4753-9902-f2ed431f4572%40googlegroups.com.--
--
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/CAKSZd3QjRMtYJ-tFOGNO8OFrw5wtoqXgHpFGTV1phtmTa3-82w%40mail.gmail.com.
On 21 Sep 2019, at 21:15, Matthias Sohn <matthi...@gmail.com> wrote:On Sat, Sep 21, 2019 at 8:05 PM Gert van Dijk <gert...@gmail.com> wrote:On Sunday, 25 August 2019 15:39:25 UTC+2, lucamilanesio wrote:+1 to that, it's a great idea.We should get rid of many other "zero timeouts" in Gerrit v3.1, as long as we highlight them properly in the release notes.Almost one month later, I have received 1 positive response and 0 negative responses, 0 suggestions about what the new default should be and no other comments.0 negative responses is a good thing :-)I don't think anyone can say that "waiting forever" is a good idea !Please come forward *now* if you have objections or a better suggestion about the default timeout of 30 minutes. Thanks!we use 10min for sshd.idleTimeout and 5 min for receive.timeout [3] and this works for usMy suggestion is to define "good common sense" defaults from v3.1 onwards.With regards to existing sites, during the migration the "old defaults" will be stored in the gerrit.config, so that the upgrade to v3.1 won't change their settings.However, for new setups, a "plain vanilla" Gerrit would have finite timeout values.WDYT as migration path?
On 21 Sep 2019, at 21:27, Matthias Sohn <matthi...@gmail.com> wrote:On Sat, Sep 21, 2019 at 10:24 PM Luca Milanesio <luca.mi...@gmail.com> wrote:On 21 Sep 2019, at 21:15, Matthias Sohn <matthi...@gmail.com> wrote:On Sat, Sep 21, 2019 at 8:05 PM Gert van Dijk <gert...@gmail.com> wrote:On Sunday, 25 August 2019 15:39:25 UTC+2, lucamilanesio wrote:+1 to that, it's a great idea.We should get rid of many other "zero timeouts" in Gerrit v3.1, as long as we highlight them properly in the release notes.Almost one month later, I have received 1 positive response and 0 negative responses, 0 suggestions about what the new default should be and no other comments.0 negative responses is a good thing :-)I don't think anyone can say that "waiting forever" is a good idea !Please come forward *now* if you have objections or a better suggestion about the default timeout of 30 minutes. Thanks!we use 10min for sshd.idleTimeout and 5 min for receive.timeout [3] and this works for usMy suggestion is to define "good common sense" defaults from v3.1 onwards.With regards to existing sites, during the migration the "old defaults" will be stored in the gerrit.config, so that the upgrade to v3.1 won't change their settings.However, for new setups, a "plain vanilla" Gerrit would have finite timeout values.WDYT as migration path?for existing sites we could emit a warning during gerrit init for timeout values explicitly set to 0
On 21 Sep 2019, at 21:45, Gert van Dijk <gert...@gmail.com> wrote:On Sat, Sep 21, 2019 at 10:38 PM Luca Milanesio
<luca.mi...@gmail.com> wrote:That is going to break *many* installations :-(
Specifically for people with very slow remote connections, they'll fail systematically.
No, they wouldn't? Why would this break any regular behavior? Long
running clones are not idle, only long-silent stream-events are.
Right?sshd.idleTimeout isn't applied only to the Git/SSH protocol, isn't it?
On 21 Sep 2019, at 22:13, Matthias Sohn <matthi...@gmail.com> wrote:On Sat, Sep 21, 2019 at 10:50 PM Luca Milanesio <luca.mi...@gmail.com> wrote:On 21 Sep 2019, at 21:45, Gert van Dijk <gert...@gmail.com> wrote:On Sat, Sep 21, 2019 at 10:38 PM Luca Milanesio
<luca.mi...@gmail.com> wrote:That is going to break *many* installations :-(
Specifically for people with very slow remote connections, they'll fail systematically.
No, they wouldn't? Why would this break any regular behavior? Long
running clones are not idle, only long-silent stream-events are.
Right?sshd.idleTimeout isn't applied only to the Git/SSH protocol, isn't it?if this is used also for other protocols this should be at least documented,though I'd tend to call this a bug
for http there is http.idleTimeout
On 21 Sep 2019, at 22:15, Gert van Dijk <gert...@gmail.com> wrote:On Sat, Sep 21, 2019 at 10:50 PM Luca Milanesio
<luca.mi...@gmail.com> wrote:sshd.idleTimeout isn't applied only to the Git/SSH protocol, isn't it?
It's for everything over SSH, yes. That's why i considered stream-events.There are many operations in Gerrit that could potentially wait for many minutes, if not hours.
Yes, but that's also limited by sshd.waitTimeout, and it has a default
of 30s. So if your operation takes longer than 30s currently, it will
be killed with default settings.
Now, IIUC, it would only cause a problem if you increase the
waitTimeout to > 30 minutes and your operation takes indeed longer
*and* it does not produce any output (because then it's considered
idle for the SSH channel).
That's what I understand of it. If you or someone else thinks I
misunderstand things here, please enlighten me. :-)
[1]: https://gerrit-documentation.storage.googleapis.com/Documentation/3.0.2/config-gerrit.html#sshd.waitTimeout