Skip to content

fix: tolerate Index already exists in Redis Cluster FT.CREATE#1265

Merged
zhenghaoz merged 2 commits into
gorse-io:masterfrom
guandeng:redis
May 7, 2026
Merged

fix: tolerate Index already exists in Redis Cluster FT.CREATE#1265
zhenghaoz merged 2 commits into
gorse-io:masterfrom
guandeng:redis

Conversation

@guandeng
Copy link
Copy Markdown
Contributor

@guandeng guandeng commented May 6, 2026

FT._LIST may not return all indices in cluster mode, causing FT.CREATE to fail when the index already exists on another node. Ignore "Index already exists" errors instead of fataling.

FT._LIST may not return all indices in cluster mode, causing
FT.CREATE to fail when the index already exists on another node.
Ignore "Index already exists" errors instead of fataling.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 73.32%. Comparing base (8ff190e) to head (f4ba3e7).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
storage/cache/redis.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1265      +/-   ##
==========================================
+ Coverage   72.96%   73.32%   +0.35%     
==========================================
  Files          91       91              
  Lines       16721    16743      +22     
==========================================
+ Hits        12200    12276      +76     
+ Misses       3276     3252      -24     
+ Partials     1245     1215      -30     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zhenghaoz zhenghaoz merged commit d54a2ea into gorse-io:master May 7, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants