-
Notifications
You must be signed in to change notification settings - Fork 19
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
Get rid of papertrail gem #1561
Comments
Do you have it documented/planned somewhere whats the exact plan here ? |
Well, atm it's a kind of a research, but I suppose it might be something like this:
Old tables with version data... well, I prefer not to touch them, at least for now, just in case. |
Domain history: https://st-adm.infra.tld.ee/admin/domains/86934/domain_versions https://st-adm.infra.tld.ee/admin/domain_versions/566509 |
https://st-adm.infra.tld.ee/admin/domains/86975/domain_versions
PS there are some special cases of update we should differentiate according to EPP - transfer, renew and delete. Delete means in this case the initiation of delete process that ends with a record being deleted from the table of active registrations and archived in log_domains table. Delete is in pending state for 30 days in .ee case after delete request and before being actually deleted. |
Yep, that's from the view logic. Record 1 is the last(current) state.
Don't know either, that's again from the view logic - mark as 'pending' actions where object isn't persisted yet.
ATM we are do not know anything about epp transform requests in history, because it's made on a DB level by a DB tools. We might save it in some model field in order to have it in the history.
Fixed. |
current situation: 2.1 now entered different contact for all the roles 2.2 |
17.04.2020
now replaced admin contact. Again new record was added to the history New record has new tech contact from the previous change, but admin contact is still the same. Instead new admin contact appears in the initial record then replaced registrant. And this time new record has all the contacts correct. https://st-adm.infra.tld.ee/admin/domains/86980/domain_versions
now added third record to the domain and changed the ip address of the glue record from previous update and as a result newly created record has no hosts, record from previous change was updated with the current state and the initial record is lacking the new and updated record but untouched record is still there https://st-adm.infra.tld.ee/admin/domains/86979/domain_versions dns keys seem to act identically to hosts https://st-adm.infra.tld.ee/admin/domains/86978/domain_versions
https://st-adm.infra.tld.ee/admin/domains/86977/domain_versions
https://st-adm.infra.tld.ee/admin/domains/86981/domain_versions |
As a second stage of deprecation warnings removal (see #1521) we should get rid of papertrail gem and use procedure introduced in auction app to store versions history.
The text was updated successfully, but these errors were encountered: