GEO: Cannot delete secondary node if it's the only node present
I accidentally added the server itself as a secondary server and now I cannot delete it as it says 'I cannot do writing operations on a secondary Gitlab Geo instance'.
- My GitLab domain is
- I go to the Geo nodes admin area for the first time (no node yet registered)
- I register a new node
http://example.combut I forget to mark it as primary
- The GitLab server is now read-only and I cannot undo my action because of that
- Users start e-mailing me death threats because they cannot use GitLab
My only option now is to delete the entry from the db.
I think the user should be prevented from adding a secondary server if no primary is set with the same domain that GitLab runs on.