--
--
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.
For more options, visit https://groups.google.com/d/optout.
On 24 Apr 2019, at 22:25, Jonathan Nieder <j...@google.com> wrote:> *very bad things* may happen :-(Can you please link to a bug about this?
On 24 Apr 2019, at 22:38, Jonathan Nieder <j...@google.com> wrote:> However, if you just look for "Missing Unknown" in the issue tracker, you will find many issues related to concurrency of Git (or JGit) GC and normal Gerrit operation.Mind filing or pointing to one that is reproducible? Many of those in the bug tracker don't appear to have any connection to GC.More generally, I would like to make a habit of always mentioning a relevant bug whenever providing instructions for working around it. Otherwise it's difficult to make progress on fixing the underlying bugs.
On 24 Apr 2019, at 22:45, Jonathan Nieder <j...@google.com> wrote:> https://bugs.eclipse.org/bugs/show_bug.cgi?id=544199Thanks much. That explains precaution #4 (using a new enough version of JGit and Gerrit) but I am still wondering about precautions 1-3 and 5.Are they about the same bug?
1. The machine that is running Gerrit has enough spare RAM and CPU
2. You are running GC externally using JGit CLI
3. You configure a "reasonable" pack-expire policies at JGit level
5. You have on the filesystem enough disk-space available (around 2x the size of the repos)
—Eric
To unsubscribe, email re...@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.
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.
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 24 Apr 2019, at 23:10, Jonathan Nieder <j...@google.com> wrote:Wonderful, thanks for the explanations.If any of these produce corruption or other problematic symptoms beyond e.g. filling up disk space, please do file a bug. We want this code to do the right thing automatically
--- it should respect the user's intentions, instead of requiring the user to carefully respect its needs. :)
On Apr 24, 2019, at 5:53 PM, Luca Milanesio <luca.mi...@gmail.com> wrote:
1. The machine that is running Gerrit has enough spare RAM and CPU
This is not a bug: if you run a GC on a machine that isn't capable of allocating enough RAM or have enough spare-CPU cycles, you will just kill your server.It's more *common sense* rather than a bug, but it's worth taking into consideration anyway.
That's the reason why we do GC on the failover node, sharing the repos over NFS.
2. You are running GC externally using JGit CLI
This is not a bug again, but common sense: if you run GC inside Gerrit, the operation is going to trigger the load and invalidation of many in-memory JGit objects and thus putting a lot of stress on the JVM head and triggering lots of JVM GC. Again, you could kill the Gerrit JVM with that.
On 24 Apr 2019, at 23:27, luke....@hpe.com wrote:> You are running GC externally using JGit CLIWith this precaution, are you saying 'gerrit gc' can/will cause problems (performance related) if ran while the Gerrit server is live/active?
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.