Page MenuHomePhabricator

backend versioning for restbase-mod-table-cassandra
Closed, ResolvedPublic

Description

In addition to supporting migrations of table schema (T75808), it should also be possible to migrate the storage backend-specific implementation of schemas. This will require that a _backend-version attribute be assigned (by the backend itself), so that version mismatches can trigger whatever changes are necessary.

As a use-case, the current ad-hoc dropping of the native secondary index on _domain should be converted to use this mechanism.

Event Timeline

Eevans claimed this task.
Eevans raised the priority of this task from to Medium.
Eevans updated the task description. (Show Details)
Eevans added subscribers: Eevans, GWicke, mobrovac.

This is tentatively complete in https://github.com/eevans/restbase-mod-table-cassandra/tree/backend-vers, but it depends upon https://github.com/wikimedia/restbase-mod-table-cassandra/pull/98, so I'll wait to open a pull request until that has been merged.

Lets get this out soon, after the next deploy.

This has been deployed a few weeks ago.