Page Properties | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
|
Truncation problem
PostgreSQL silently truncates identifiers after 63 bytes.
...
To reduce the downtime in multi-tenant installations it must be possible to migrate one tenant at a time.
Okapi and the modules should provide these APIs :
PATCH /_/proxy/tenants - rename all non-compliant tenant ids
PATCH /_/proxy/tenants/{old_tenant_id} - rename the old tenant id, the new tenant id is in the PATCH body
Both APIs fail if the new tenant id already exists. They have a dryRun option that replies with the SQL commands to rename the schema. They have a skipSchemaRename option to disable running the schema rename SQL so that the sysop can run this separately; this might be needed if Okapi doesn't have permissions for schema renameand/or scripts to do the migration.
mod-data-import-converter-storage rename
...
References
Jira Legacy | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|