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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-03-02 11:46:49 -05:00
parent 63fc0139c4
commit b1b5f7cc4c

View File

@ -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