From 5fc2dacd003d7599c2150e895708d15e7c627e36 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Tue, 22 Oct 2013 14:51:15 +0000 Subject: [PATCH] Flush Gerrit caches after fixing E-mail dupes * doc/source/gerrit.rst: In the section on clearing duplicate E-mail addresses, note that a cache flush is needed for immediate effect. Change-Id: I436dfc85f86683ffe90c099f449466db02844a18 --- doc/source/gerrit.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index def98826b7..fc190459f8 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -532,6 +532,13 @@ using, and then null out the others with: update accounts set preferred_email=NULL, registered_on=registered_on where account_id=OLD; +Then flush Gerrit's caches so any immediate account lookups will hit +the current DB contents: + +.. code-block:: bash + + ssh review.openstack.org -p29418 gerrit flush-caches --all + Combining Gerrit Accounts -------------------------