- Issue created by @Kristen Pol
- 🇺🇸United States Kristen Pol Santa Cruz, CA, USA
I figured out when it gets the error.
1) Add
quant_purger
to the purger list viapurge_ui
2) Uninstall
quant_purger
.3) Get the error.
The solution is to add hook_uninstall code that will remove it from the list. A better improvement would be to have the purge module handle this but we can at least handle our own case.
- 🇺🇸United States Kristen Pol Santa Cruz, CA, USA
Would you please elaborate? You wrote your own hook_uninstall function that removed the module from the purger list? Please add steps to reproduce.
- 🇦🇺Australia steveworley
This issue looked to be caused by a race condition. The order of operations would mean that the database is not always available when Drupal calls TrafficRegistry::invalidateTag. This would result in the select query failing and resulting in being in a state where the table doesn't exist and Drupal not being able to recreate.
I've resolved the issue with:
https://github.com/quantcdn/drupal/pull/155/commits/4d87390da5fbc23c248a...
- Assigned to Kristen Pol
- Status changed to RTBC
over 1 year ago 3:00am 28 July 2023 - 🇺🇸United States Kristen Pol Santa Cruz, CA, USA
Confirmed that the updated PR fixes the install/uninstall race condition. This will get merged in once the rest of the feature is fully reviewed and tested. Assigning to myself to followup on this after that happens.
- 🇺🇸United States Kristen Pol Santa Cruz, CA, USA
This has been merged and will be in the next release: 📌 Create Quant 1.5.2 release Fixed
- Status changed to Fixed
over 1 year ago 12:39am 31 July 2023 - Issue was unassigned.
- Status changed to Fixed
over 1 year ago 1:23am 31 July 2023 - 🇺🇸United States Kristen Pol Santa Cruz, CA, USA