Open srtalbot opened 2 months ago
Related issue: https://github.com/cds-snc/platform-forms-client/issues/3051
Deployment plan has been updated after I discovered a scenario that was not originally taken into account. @srtalbot @Abi-Nada
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.
Context on why we had to create a new GSI: https://github.com/cds-snc/platform-forms-client/issues/4205#event-14308835557
Deployment plan (for both Staging and Production):
CONF#
itemsCreatedAt
property (equal to the one that already exists inNAME#
items) inCONF#
items.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# itemsStatus
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 pageStatus
GSI in DynamoDB Vault tableStatus
property in the web application. If applicable, useStatus#CreatedAt
instead ofStatus
Status
property in the infra (Nagware). If applicable, useStatus#CreatedAt
instead ofStatus