|
Loading...
|
repo-discuss@googlegroups.com
[Prev] Thread [Next] | [Prev] Date [Next]
Re: Deleting a project in Gerrit 2.2.2? Luca Milanesio Thu Feb 16 08:01:23 2012
+ project_list (otherwise the project will be returned when listing them through GWT UI ... and then Internal Error when trying to click it) P.S. Is there any "fine-grained" flush-cache ? (eviction of a single entry ?) In our production environment (with 7000 projects) ... it takes 20 mins to reload all the projects cache ;-( Luca. On 16 Feb 2012, at 15:39, Luthander, Fredrik wrote: > Hi all! > > $ ssh gerrit-server gerrit flush-caches --list > accounts > accounts_byemail > accounts_byname > adv_bases > diff > diff_intraline > git_tags > groups > groups_byext > groups_byinclude > groups_byname > groups_byuuid > ldap_groups > ldap_usernames > permission_sort > project_list > projects > sshkeys > web_sessions > $ > > My gut feeling is that the projects cache is enough, but I'm not at all into > the code, so I wouldn't know. > > -- > Best regards, > Fredrik Luthander > Sony Ericsson Mobile Communications AB > >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:repo- >> [EMAIL PROTECTED] On Behalf Of Luca Milanesio >> Sent: torsdag den 16 februari 2012 16:37 >> To: Magnus Bäck >> Cc: [EMAIL PROTECTED] >> Subject: Re: Deleting a project in Gerrit 2.2.2? >> >> Do you know a way to flush cache from RPC or SSH ? >> (We did out own RPC for project removal + cache flush ... but it's >> quick and dirty) >> >> Luca. >> >> On 16 Feb 2012, at 15:31, Magnus Bäck wrote: >> >>> On Thursday, February 16, 2012 at 10:28 EST, >>> Luca Milanesio <[EMAIL PROTECTED]> wrote: >>> >>>> If you don't have opened change-ids or reviews, it is >> straightforward :-) >>>> >>>> a) Remove the Git repo from filesystem >>>> b) Restart Gerrit >>>> >>>> ... and project is gone :-) >>> >>> Surely it's enough to flush the project cache rather than restarting >>> Gerrit? >>> >>> (If you have slave servers you'll have to delete the project from >> them >>> as well. I'm pretty sure project deletions aren't replicated.) >>> >>> -- >>> Magnus Bäck >>> [EMAIL PROTECTED] >>> >>> -- >>> To unsubscribe, email [EMAIL PROTECTED] >>> More info at http://groups.google.com/group/repo-discuss?hl=en >> >> -- >> To unsubscribe, email [EMAIL PROTECTED] >> More info at http://groups.google.com/group/repo-discuss?hl=en -- To unsubscribe, email [EMAIL PROTECTED] More info at http://groups.google.com/group/repo-discuss?hl=en
- Deleting a project in Gerrit 2.2.2? Larry Prikockis 2012/02/16
- Re: Deleting a project in Gerrit 2.2.2? Luca Milanesio 2012/02/16
- Re: Deleting a project in Gerrit 2.2.2? Magnus Bäck 2012/02/16
- Re: Deleting a project in Gerrit 2.2.2? Luca Milanesio 2012/02/16
- RE: Deleting a project in Gerrit 2.2.2? Luthander, Fredrik 2012/02/16
- Re: Deleting a project in Gerrit 2.2.2? Luca Milanesio 2012/02/16 <=
- Re: Deleting a project in Gerrit 2.2.2? Shawn Pearce 2012/02/16
- Re: Deleting a project in Gerrit 2.2.2? Deniz Türkoglu 2012/02/19
- Re: Deleting a project in Gerrit 2.2.2? Matthias Sohn 2012/02/16
Re: Deleting a project in Gerrit 2.2.2? Larry Prikockis 2012/02/16