Problem/Motivation
Working with multiple environnements, having to manually index at each deployment is not viable in production.
My flow is as follow : develop -> qa -> uat -> master with separated indexes.
When UAT is deployed for new features, a command is run to enable the corresponding index and only that one. Meaning that the others, being disabled, remove the data from their indexes (cannot have that with master).
Steps to reproduce
Look at the first point.
Using Drupal 9.3.9 and PHP 8.0.13.
Proposed resolution
Delete the checkup for inactive index and the following removal of indexes.
Comments
Comment #2
Lordy_Nathan commentedComment #3
drunken monkeyThanks for reporting this problem, and sorry it took me so long to get back to you.
However, this behavior is definitely not a bug just because it causes problems in your specific scenario. If you have other suggestions for helping with your scenario without affecting the correct default behavior, please make them. However, as this issue still has no other comments or followers after more than a year, it doesn’t seem like a wide-spread problem. So, probably not one that needs to be solved by this module.
Please try to work with the behavior as it is now, or provide a workaround in custom code. I can assure you, thousands of other sites using this module also have multiple environments, and all others have also found a solution. I don’t think anyone is really re-indexing at every deployment.
Comment #4
drunken monkey