Elasticsearch helper implements hook_module_uninstall which deletes the respective indices when uninstalling a module providing an elasticsearch helper index plugin.
Imagine two modules providing index plugins which point to the same index but for different types. Uninstalling one of them would accidently delete the index controlled by the other module.
I guess the only save way to handle this is to not automatically delete an index when uninstalling a module.
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2875365-2-dont-drop-index-on-uninstall.patch | 1022 bytes | g.oechsler |
Comments
Comment #2
g.oechsler commentedHere it is.
Comment #3
g.oechsler commentedComment #4
g.oechsler commentedComment #6
floretan commentedCommitted to the 8.x-1.x branch, will be merged into the 8.x-5.x branch later. Thank you!