Warm regards,
On 25 Mar 2025, at 07:08, '张久旺' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:
Hi,I am reaching out to you all for some urgent assistance regarding an issue we are encountering in our Gerrit system.
Due to an oversight in our operational personnel's management of permissions, a massive number of groups (approximately 80,000) were inadvertently created in our Gerrit system. This has led to significant performance degradation. The most noticeable impact is when the change owner tries to add reviewers; it now takes about 5 to 6 seconds to retrieve the reviewer information, and there are instances where the HTTP status code reports a 502 error.
We are currently operating on Gerrit version 3.2.2. We are keen to find out if there is a viable method to delete these groups and restore our system's performance. Any insights, suggestions, or step-by-step guidance on safely removing these unnecessary groups would be immensely appreciated.
Thank you for your attention to this critical matter. We are hopeful for your kind assistance and look forward to your valuable responses.
Warm regards,
--
--
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/a3a8fec2-a7bd-4cd0-8911-0785b7ae63f8n%40googlegroups.com.
Sent from my iPhoneOn 25 Mar 2025, at 07:08, '张久旺' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:Hi,I am reaching out to you all for some urgent assistance regarding an issue we are encountering in our Gerrit system.
Due to an oversight in our operational personnel's management of permissions, a massive number of groups (approximately 80,000) were inadvertently created in our Gerrit system. This has led to significant performance degradation. The most noticeable impact is when the change owner tries to add reviewers; it now takes about 5 to 6 seconds to retrieve the reviewer information, and there are instances where the HTTP status code reports a 502 error.
We are currently operating on Gerrit version 3.2.2. We are keen to find out if there is a viable method to delete these groups and restore our system's performance. Any insights, suggestions, or step-by-step guidance on safely removing these unnecessary groups would be immensely appreciated.All groups are stored on All-Users.git, you can just locate the commit that created them and revert them in the group-names ref.After the removal, just run an off line reinforcing of groups, and then Jon done !
--HTHLuca--
Thank you for your attention to this critical matter. We are hopeful for your kind assistance and look forward to your valuable responses.
Warm regards,
--
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/a3a8fec2-a7bd-4cd0-8911-0785b7ae63f8n%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/B0000E2C-8AE0-4E82-B4DA-40A06EACF705%40gmail.com.
On 25 Mar 2025, at 08:21, Matthias Sohn <matthi...@gmail.com> wrote:On Tue, Mar 25, 2025 at 8:59 AM <luca.mi...@gmail.com> wrote:Sent from my iPhoneOn 25 Mar 2025, at 07:08, '张久旺' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:Hi,I am reaching out to you all for some urgent assistance regarding an issue we are encountering in our Gerrit system.
Due to an oversight in our operational personnel's management of permissions, a massive number of groups (approximately 80,000) were inadvertently created in our Gerrit system. This has led to significant performance degradation. The most noticeable impact is when the change owner tries to add reviewers; it now takes about 5 to 6 seconds to retrieve the reviewer information, and there are instances where the HTTP status code reports a 502 error.
We are currently operating on Gerrit version 3.2.2. We are keen to find out if there is a viable method to delete these groups and restore our system's performance. Any insights, suggestions, or step-by-step guidance on safely removing these unnecessary groups would be immensely appreciated.All groups are stored on All-Users.git, you can just locate the commit that created them and revert them in the group-names ref.After the removal, just run an off line reinforcing of groups, and then Jon done !I guess Luca meant reindexing of groups, see https://gerrit-review.googlesource.com/Documentation/pgm-reindex.html
On 25 Mar 2025, at 11:15, 'jiuwang zhang' via Repo and Gerrit Discussion <repo-d...@googlegroups.com> wrote:Hi Luca,
Thank you for your prompt response.Your suggestion seems to be a good solution to our current predicament. However, I am not very familiar with the All-users.git repository. The challenge I am facing is how to locate the commit that created the group and then revert it. It appears that using the git log command only shows the commit logs for refs/meta/config.
Could you please provide some guidance on how to identify and revert the specific commit related to group creation in this repository?
Thank you once again for your help.
Best regards
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/5bae9d68-6fe7-4ffa-83d3-c0fab466db02n%40googlegroups.com.
Hi, lucaThank you so much for your detailed and helpful instructions. I followed your guidance and was able to locate the relevant commit in the All-users.git repository. Your step-by-step explanation made the process much clearer, and I successfully reverted the commit as needed.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/4a0c9c73-edec-430d-9588-37abdf662005n%40googlegroups.com.