summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-30 01:25:04 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-30 01:25:04 -0400
commit70591c5ac10069a4ae649bd6f79d769da9e32a98 (patch)
treef9a4d155275975e4f37e063f331b7697f5c3cb07 /docs
parentffba911ba5240f67cc616b2cc2eaf7c730ebbde8 (diff)
Remove `hi-recanonicalize`.
This utility was needed to support a database migration with existing data. I have it on good authority that no further databases exist that are in the state that made this tool necessary.
Diffstat (limited to 'docs')
-rw-r--r--docs/internal-server-errors.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/docs/internal-server-errors.md b/docs/internal-server-errors.md
index 4f679b7..16d61a2 100644
--- a/docs/internal-server-errors.md
+++ b/docs/internal-server-errors.md
@@ -9,22 +9,3 @@ The server attempted two write transactions at the same time, and encountered [s
This error will almost always resolve itself if clients re-try their requests; no further action is needed.
This is a known issue. If you are encountering this consistently (or if you can trigger it on demand), let us know. We are aware of sqlite's features for mitigating this issue but have been unsuccessful in applying them; we're working on it, but patches _are_ welcome, if you have the opportunity.
-
-## stored canonical form […] does not match computed canonical form […] for name […]
-
-When `hi` applies the `migrations/20241019191531_canonical_names.sql` migration (from commit `3f9648eed48cd8b6cd35d0ae2ee5bbe25fa735ac`), this can leave existing names in a state where the stored canonical form is not the correct canonicalization of the stored display names of channels and logins. `hi` will abort requests when it encounters this situation, to avoid incorrect behaviours such as duplicate channels or duplicate logins.
-
-As channel and login names may be presented during client startup, this can render the service unusable until repaired. Treat this as an immediate outage if you see it.
-
-You can verify that login names are unique by running the following commands as the user the `hi` server runs as:
-
-* `sqlite3 .hi 'select display_name from login'`
-* `sqlite3 .hi 'select display_name from channel_name'`
-
-Substitute `.hi` with the path to your `hi` database if it differs from the default.
-
-If the names are unique, you can repair the database:
-
-* Stop the `hi` server.
-* Run `hi-recanonicalize`, as the same user the `hi` server runs as, with the same database options.
-* Start the `hi` server.