grid icon indicating copy to clipboard operation
grid copied to clipboard

Add script for reindexing usages

Open Fweddi opened this issue 3 years ago • 2 comments

What does this change?

Worked on with @andrew-nowak and @rhystmills.

Adds a bash script to reindex usages from a csv of CAPI articles (of format internal-composer-code,path).

Has the ability to replay from the last reindexed ID if needed.

Also logs failed IDs.

How should a reviewer test this change?

We are testing this on PROD. Once we have finished running this script, we will be confident of merging it into the codebase for future reference.

How can success be measured?

Usages are successfully reindex for all CAPI articles in PROD.

Fweddi avatar Nov 14 '22 15:11 Fweddi

We are testing this on PROD. Once we have finished running this script, we will be confident of merging it into the codebase for future reference.

Not sure from this comment if this actually needs a review?

alinaboghiu avatar Nov 21 '22 15:11 alinaboghiu

We are testing this on PROD. Once we have finished running this script, we will be confident of merging it into the codebase for future reference.

Not sure from this comment if this actually needs a review?

Yeah, I think all it needs is a nod through once this has been tested on PROD.

Fweddi avatar Nov 22 '22 10:11 Fweddi

Seen on auth, usage, image-loader, metadata-editor, thrall, leases, cropper, collections, media-api, kahuna (merged by @Fweddi 8 minutes and 35 seconds ago) Please check your changes!

prout-bot avatar Jul 15 '24 16:07 prout-bot