Module unload failed

redis version: 4.0.14
redis bloom:2.2.9

I load module redisbloom by module load /opt/ ,then unload directly ,but unfortunately get an error like this
ERR Error unloading module: the module exports one or more module-side data types, can’t unload

what should i do if i want to update bloom version?

Modules upgrade should be done by a process restart.
If you need to avoid data lost you should either do fail-over to a replica with the new module, restart from an RDB to a new DB with the new module.

hi, why does the module have to be restarted and upgraded? Can you introduce the reason for this design? thank you! :grinning: