Open
Description
Is your feature request related to a problem? Please describe.
We've found the Redis feature about asynchronous replication that can help us have a smooth primary instance upgrade path with RediSearch.
However, while checking how it works, we found that the RediSearch module is not compatible with async replication.
Part of the logs while enabling swapdb mode:
1:S 19 May 2025 12:02:10.706 * Skipping diskless-load because there are modules that are not aware of async replication.
Describe the solution you'd like
The RediSearch module will support async replication mode.
Describe alternatives you've considered
Additional context
I didn't find a feature request about supporting async replication mode, so I decided to create such an issue in the tracker.
Refs:
- https://github.com/redis/redis/blob/8bd50a3b3584819b8b7bd94eb0a62eba12d2979a/redis.conf#L638-L668C1
- https://redis.io/docs/latest/develop/reference/modules/modules-api-ref/#:~:text=See%20RedisModule_SignalModifiedKey().-,REDISMODULE_OPTIONS_HANDLE_REPL_ASYNC_LOAD,-%3A%20Setting%20this%20flag
- https://redis.io/docs/latest/develop/reference/modules/modules-api-ref/#:~:text=See%20RedisModule_SignalModifiedKey().-,REDISMODULE_OPTIONS_HANDLE_REPL_ASYNC_LOAD,-%3A%20Setting%20this%20flag
- https://redis.io/docs/latest/develop/reference/modules/modules-api-ref/#:~:text=RedisModuleEvent_SwapDB
- https://redis.io/docs/latest/operate/oss_and_stack/management/replication/