-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration of new StatusCreatedAt
GSI in web application
#4287
Comments
StatusCreatedAt
GSI in web application
Related issue: #3051 |
Part 2 is now in prod! On part 3 of the deployment plan. Testing before merging to staging. |
Part 3 is now released in Production. Will now be testing part 4 in Staging. |
Part 4 migration script was successfully run in Production on Saturday (Nov 30th) |
Added new step 5 that will need to be released before the old step 5 (which is now step 6). |
Part 6 has been deployed to Production |
Part 7 is currently running in Staging and should be ready to be released in Production. |
Part 7 > API is now running in Production |
Infra release for today so that we can release the app tomorrow! |
Part 7 > Infra is now running in Production |
Part 8 is now running in Staging and awaiting Production release |
Part 8 is now running in Production. The plan is now to wait for at least a week to see if everything works fine with the full integration of the new Index. After that we can proceed with Part 9 which will result in the old Index being completely deleted from DynamoDB. |
closes #3051
Context on why we had to create a new GSI: #4205 (comment)
Deployment plan (for both Staging and Production):
CONF#
itemsCreatedAt
property (equal to the one that already exists inNAME#
items) inCONF#
items (chore: add migration script to add CreatedAt property to Vault CONF# items #4678)NAME#
items. This script should be executed in a period where there is the lowest traffic possible on GC Forms (e.g. Saturday at noon) as there is a very very very minimal risk of race condition where both the script and a user of GC Forms would try to update the exact same item in the Vault.Status#CreatedAt
property (using the existingStatus
andCreatedAt
properties from the same item) in NAME# items (chore: add migration script to add StatusCreatedAt property to Vault NAME# items #4679)Status
GSI byStatusCreatedAt
in the web application. New index does not return as many properties as the old one so we need to change how the web app loads all the data needed to render a complete response page (Reapply "feat: replace old Status index with new StatusCreatedAt one (#4691)" (#4761) #4763)Status
property in the infra (Nagware). If applicable, useStatus#CreatedAt
instead ofStatus
(refactor: replace use of Status with new Status#CreatedAt attribute when requesting Vault items forms-terraform#904)Status
property in the API. If applicable, useStatus#CreatedAt
instead ofStatus
(refactor: replace use of Status with new Status#CreatedAt attribute when requesting Vault items forms-api#116)Status
property in the web application. If applicable, useStatus#CreatedAt
instead ofStatus
(refactor: replace use of Status with new Status#CreatedAt attribute when requesting Vault items #4707)Status
GSI in DynamoDB Vault table as well asStatus
property in Vault table (chore: remove unused Vault Status global secondary index as well as Status property in Vault table forms-terraform#903)The text was updated successfully, but these errors were encountered: