-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
Hi I've just found a small issue. When creating a new index targeting the latest release of Redis version 8 I get the redis client error "no such index" and it fails there.
I've tracked it to the lib/repository/repository.ts createIndex function specifically the section of code that compares the currentHash to the incoming hash when creating a new index the currentHash is always null so i just added a an in statement and made the dropIndex optional.
if (currentIndexHash !== incomingIndexHash) {
if (currentIndexHash) {
await this.dropIndex();
}
please let me know if this could be incoperated into a new release that would work with redis version 8.
AidanBroadbent, wanxxz, esipavicius, alexZ8, paucabuti and 6 moreruizmarc and thienscmon
Metadata
Metadata
Assignees
Labels
No labels