Server aliases should only point to a single server #38
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: friendica/friendica-directory#38
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently there's no unique index on the
alias
column of theserver_alias
table. This means any number of different servers can be associated with the same alias, leading to unexpected results. A single alias should point to a single server, and it should be updated every time the alias is polled.Technical info:
alias
column of theserver_alias
table.ON DUPLICATE KEY
clause updating theserver_id
column with the new value.