As suggested by ekempin in https://bugs.chromium.org/p/gerrit/issues/detail?id=9256#c22 a plugin to manage user accoundIds is as a means of working around T197192: Unable to edit external-ids ref in notedb due to validation is being developed on https://gerrit-review.googlesource.com/admin/repos/plugins/wmf-fixshadowuser
|Resolved||mmodell||T197083 Gerrit has created duplicate accounts for some users|
|Declined||None||T199749 Gerrit plugin to edit accountid|
After struggling with the gerrit plugin approach, I really think that it's largely misguided route to the original goal which was to patch one piece of data in the gerrit notesdb. I still believe that we can simply edit notesdb on disk and restart gerrit (along with clearing caches) to resolve T197083: Gerrit has created duplicate accounts for some users and work around T197192: Unable to edit external-ids ref in notedb due to validation. Ultimately I'd like to see T197192 resolved rather than this one.