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
Dump user feedback #1347
Dump user feedback #1347
Conversation
…nz-server into dump-user-feedback
…to dump-user-feedback
Hello @mayhem! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2021-04-12 17:00:21 UTC |
@brainzbot test again please |
Thinking out loud, would the recording_recommendation events in the user_timeline_event table be useful wherever this dump is gonna be used? |
Eventually yes. But realistically we're not there yet -- but with this in mind I created the spark FTP dir so that we can create more "out of replication sequence" dumps timed to be fresh for spark ingestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
…nz-server into dump-user-feedback
The spark cluster needs to get period user and recommendation feedback data and this PR adds the functionality to dump a feedback dump and the rsync it to the FTP server. I anticipate that we'll add more spark data dumps in the future, so its good to have separate FTP dir for it.
Also in this PR is the change to keep 30 incremental feedback items. This gives users a complete month to catch up on incremental dumps -- 6 dumps was not enough for this.