C
C#9mo ago
Alex

Redis.OM Indexes are dropped automatically

I create index using Redis.OM , after some time they are deleted for no reason
Provider.Connection.CreateIndexAsync(typeof(T));
Provider.Connection.CreateIndexAsync(typeof(T));
and I'm getting error
[name]-idx: no such index\nFailed on FT.SEARCH station-idx * LIMIT 0 100
[name]-idx: no such index\nFailed on FT.SEARCH station-idx * LIMIT 0 100
8 Replies
Mayor McCheese
Mayor McCheese9mo ago
What does the redis console say?
Alex
AlexOP9mo ago
I can't find anything there https://pastebin.com/64N01kKj
Pastebin
10:C 08 Apr 2024 08:19:46.982 # WARNING Memory overcommit must be e...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Mayor McCheese
Mayor McCheese9mo ago
I don't see anything out of the ordinary there Do you know what your eviction policy is? and is anything else caching? also, if you spin up a new redis node ( you can use docker for this ) do you have the same problem
dreadfullydistinct
Weird question: is your Redis instance accessible over the internet Redis does not come with a password by default and I have had this exact issue which turned out to be someone connecting and doing flush all But then again can’t see any sign of that in your logs
Alex
AlexOP9mo ago
no, I don't. I don't think that limit can be exceeded because the size of data is the same every time, I'm just updating previous values with new information. I create indixes in my backend, and after I restart it everything works fine again Yes it's accessible over the internet. I can try to run the same docker container on my pc for some time and see what happens Is there other way to see all commands have been executed?
dreadfullydistinct
Run MONITOR from the Redis cli I think should show you That’s what I did
Alex
AlexOP9mo ago
Okay
dreadfullydistinct
I might be wrong if you don't see any flushall, these are good suggestions too
Want results from more Discord servers?
Add your server