-
Notifications
You must be signed in to change notification settings - Fork 56
ES/DB compare script #459
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
ES/DB compare script #459
Conversation
ES/DB compare script (for projects without timelines)
Report ES/DB Data Mismatches - part 2
- added verification scripts and guides to the repo - moved README to the script folder - README and Verification guide improvements - ignore paths configured for production use
Report ES/DB - Upload to AWS S3
Thanks @maxceem. PR looks good to me. I have couple of questions:
|
Oh, yes indeed these files contain metadata from DEV. So we have to clear out some data first from them before merging.
These scripts together with DB and ES dumps are only necessary for verification of the script. So work on this script locally, we have to create some test data in ES and DB which has some mismatches on purpose. So after we can test how the script works. |
You are doing that, right? And again to be on same page, these files are only needed for verification just like insertXXData scripts? |
This is done. Prices are random now so this PR is ready for merging.
RIght, everything in |
@vikasrohit The script for comparing data in ES and DB is ready.
It would compare all metadata objects and projects with related objects like
invites
,members
,attachments
,phases
,products
,timelines
andmilestones
.See README on how to use it.
I propose for the first testing to run it on the DEV environment once to chech projects with ids from 8000 to 9000:
This command requires that AWS credential env variables are already set:
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY