From b1b5f7cc4cb1bd584776b95925f3e2d17a90e85b Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 2 Mar 2017 11:46:49 -0500 Subject: [PATCH] Additional updates for 'Duplicate Accounts in Gerrit' Make sure you set the old account to inactive to complete the process. Change-Id: I2dd3d639967ff8164beb0e9c07fdfb2520b84b45 Signed-off-by: Paul Belanger --- doc/source/gerrit.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index fc905d24a2..b6d9704c42 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -562,7 +562,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 +Then be sure to set the old account to inactive: + +.. code-block:: bash + + ssh review.openstack.org -p29418 gerrit set-account --inactive OLD + +Finally, flush Gerrit's caches so any immediate account lookups will hit the current DB contents: .. code-block:: bash