Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.27k stars 571 forks source link

[BUG] Redisearch with ENABLE_FLASH=yes #531

Closed keithchew closed 1 year ago

keithchew commented 1 year ago

Describe the bug

When using KeyDB with flash, upon startup/restart, redisearch indexes are not created/initialised/loaded. I believe that the current redisearch module starts the indexing process when data is loaded into memory from RDB, and in the case of flash, this step is not performed as data is kept flash. Would like to know if there is a workaround on startup to kick off the indexing process from flash.

To reproduce

Expected behavior

When flash is enabled, KeyDB should initialise search indexes into memory on startup.

msotheeswaran-sc commented 1 year ago

We are unable to officially support usage of redisearch with keydb as the license on the Redis labs modules is not open source and prevents them from being used with other databases, but we will continue to fix any bugs with the module api and support open source modules.