v0.6.0 #502
leggetter
announced in
Announcements
v0.6.0
#502
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Breaking Changes
Redis Schema Migration Required
Existing deployments must migrate Redis keys to hash-tagged format before upgrading to v0.6.0. This enables Redis Cluster support for horizontal scaling.
Schema Change
The Redis key structure has been updated to support Redis Cluster by adding hash tags:
tenant:123tenant:{123}:tenanttenant:123:destinationstenant:{123}:destinationstenant:123:destination:abctenant:{123}:destination:abcWhy?
Redis Cluster distributes keys across nodes using hash slots. Without hash tags, related keys like
tenant:123andtenant:123:destinationscould be on different nodes, causingCROSSSLOTerrors during transactions. Hash tags{...}ensure all tenant data maps to the same hash slot, enabling atomic multi-key operations.outpostbinary behavior changeThe
outpostbinary is now a unified CLI that consolidates server and migration operations.The binary interface has changed:
Before v0.6.0:
v0.6.0 and later:
still starts the server by default.
unified CLI, so commands change as shown above.
outpostCLI orchestratesoutpost-serverandoutpost-migrate-redisbinaries. All three binaries must be in the same directory oravailable in your $PATH for the CLI to function correctly.
Migration Steps
Option 1: Using environment variables
Option 2: Using CLI flags
Option 3: Using
.envfileThen proceed with apply, verify, deploy, and cleanup:
docker run --rm -it hookdeck/outpost:v0.6.0 migrate apply [options] docker run --rm hookdeck/outpost:v0.6.0 migrate verify [options] # Deploy v0.6.0 and test thoroughly docker run --rm -it hookdeck/outpost:v0.6.0 migrate cleanup [options]📖 Full guide: Outpost Migration Guide
Features
outpost migrate) (#498) by @alexluongFixes
Full Changelog
Compare v0.5.1...v0.6.0
This discussion was created from the release v0.6.0.
Beta Was this translation helpful? Give feedback.
All reactions