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:
parent
63fc0139c4
commit
b1b5f7cc4c
@ -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;
|
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:
|
the current DB contents:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
Loading…
Reference in New Issue
Block a user