eventespresso / eea-multisite

An EE Add-on that implements some features for multisite installs.
GNU General Public License v2.0
1 stars 0 forks source link

Use last_admin_visit for prioritizing sites to migrate #3

Open lorenzocaum opened 4 years ago

lorenzocaum commented 4 years ago

From: https://github.com/eventespresso/eventsmart.com-website/issues/563

I think the main challenge for the migration system is that its list of sites to migrate was continually being updated from different sources.

An unexpected result was that old sites were being prioritized over sites that were actively accepting attendee registrations.

When the migration tool started failing at around 16k sites, I grabbed all the sites before refreshing as it suggested. I pulled up the list and looked at some of the sites at the beginning that I did not recognize.

The ones in blue are old sites from 2017, 2016, etc:

Image 2019-09-08 at 8 13 33 PM

You can see the list here and spot check some of the sites:

https://d1jfzjx68gj8xs.cloudfront.net/items/3P1q2Y151t440T0V2M07/sept5-failed-630pm.txt

Instead of looking at multiple sources, I think last_admin_visit might be a better signal since admins login regularly.

lorenzocaum commented 4 years ago

We could revisit this later on if there are changes that require migrations.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been automatically closed because it has been stale for a significant period of time without any activity.

tn3rb commented 3 years ago

the query that generates the initial list of sites that need migrating could likely look at whether their are active and/or upcoming events and prioritize those

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.