Hi All,We are running Gerrit 3.5.6 and we are planning to upgrade to 3.7.9
The Gerrit 3.6 release notes [1] says that we need to add a config item like below. Is it fixed in Gerrit 3.7.9 to or should we add this to our config after the upgrade?[cache "changes_by_project"]
memoryLimit = 0
--
--
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 visit https://groups.google.com/d/msgid/repo-discuss/bdaad64a-98b0-4141-be07-bc1b9db15b1en%40googlegroups.com.
On 5 Jun 2025, at 10:23, Matthias Sohn <matthi...@gmail.com> wrote:On Thu, Jun 5, 2025 at 11:14 AM ravirajk...@gmail.com <ravirajk...@gmail.com> wrote:Hi All,We are running Gerrit 3.5.6 and we are planning to upgrade to 3.7.9You should consider upgrading to a supported release (at least 3.10.6, see https://endoflife.date/gerrit).
The Gerrit 3.6 release notes [1] says that we need to add a config item like below. Is it fixed in Gerrit 3.7.9 to or should we add this to our config after the upgrade?[cache "changes_by_project"]
memoryLimit = 0
Reading the commit message of https://gerrit-review.googlesource.com/c/homepage/+/444141it seems Gerrit releases at least up to 3.11 are affected by this issue.I don't know if there's a fix already.
-Matthias--
--
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 visit https://groups.google.com/d/msgid/repo-discuss/bdaad64a-98b0-4141-be07-bc1b9db15b1en%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 visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3R35mFZu6-_xpbQ%3DFbcCfE4SZbOPY2LXd4A0a4Amtnd2w%40mail.gmail.com.
On 18 Jul 2025, at 11:23, Nuno Costa <nunoco...@gmail.com> wrote:
Hi All,
We are testing upgrade to 3.9 (last version that supports java 11 and we will upgrade java after Gerrit upgrade) and cache changes_by_project always shows empty.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/816cdf9e-d811-49da-927f-cc7de8701144n%40googlegroups.com.
On 18 Jul 2025, at 11:29, Nuno Costa <nunoco...@gmail.com> wrote:Primary for now.We use replicas with UI (basically Master with readonly plugin) but did not tested on them yet.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/6170dcc0-969b-46d4-ab5d-fa278074ec86n%40googlegroups.com.
$ git config -f gerrit.config -l | grep cache.changes_by
cache.changes_by_project.memorylimit=0
% date ; ssh -p 29418 gerrit.server gerrit show-caches | grep changes_by_project
Fri Jul 18 11:41:00 WEST 2025
changes_by_project | | | |
On 18 Jul 2025, at 11:29, Nuno Costa <nunoco...@gmail.com> wrote:Primary for now.We use replicas with UI (basically Master with readonly plugin) but did not tested on them yet.That change isn’t for you then: just disable the cache altogether.
Luca.On Friday, 18 July 2025 at 11:25:46 UTC+1 Luca Milanesio wrote:On 18 Jul 2025, at 11:23, Nuno Costa <nunoco...@gmail.com> wrote:Hi All,We are testing upgrade to 3.9 (last version that supports java 11 and we will upgrade java after Gerrit upgrade) and cache changes_by_project always shows empty.Are you testing it on primary or replicas?Luca.I tried list changes in a repo using the API, normal clones, mirror clones and pushing review but nothing seems to populate the cache.Also explicitly set memLimit=10000 but it is still empty.Since we don't see any issues with clone latency and to avoid potencial problems we will disable the cache as suggested.How is this cache populated?Is there some gerrit config that might be overriding populating the cache?
I'm running the wrong tests?
something else? :)
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/CC5F4F83-929E-4239-9BB4-B90E3D2AF942%40gmail.com.
On 21 Jul 2025, at 21:55, Nasser Grainawi <nasser....@oss.qualcomm.com> wrote:On Fri, Jul 18, 2025 at 4:31 AM Luca Milanesio <luca.mi...@gmail.com> wrote:On 18 Jul 2025, at 11:29, Nuno Costa <nunoco...@gmail.com> wrote:Primary for now.We use replicas with UI (basically Master with readonly plugin) but did not tested on them yet.That change isn’t for you then: just disable the cache altogether.It can be helpful on primaries, so I wouldn't disable it just because the testing results weren't what you expected...
On 21 Jul 2025, at 21:55, Nasser Grainawi <nasser....@oss.qualcomm.com> wrote:On Fri, Jul 18, 2025 at 4:31 AM Luca Milanesio <luca.mi...@gmail.com> wrote:On 18 Jul 2025, at 11:29, Nuno Costa <nunoco...@gmail.com> wrote:Primary for now.We use replicas with UI (basically Master with readonly plugin) but did not tested on them yet.That change isn’t for you then: just disable the cache altogether.It can be helpful on primaries, so I wouldn't disable it just because the testing results weren't what you expected...What would be the benefit on Gerrit primary nodes?Because the Lucene index is there, I did not see any improvement in the benchmark included in the change.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/2DF4DAE9-4B28-4E35-92F5-7F7BEC92B311%40gmail.com.