Zoekt indices stuck in evicted on STG
Summary
Some indices get stuck in the evicted state in STG. They are not getting deleted because they still have replica. And since they still have replica, they can not be deleted and stuck in evicted
Steps to reproduce
What is the current bug behavior?
Indices moved to evicted without deleting the replica.
What is the expected correct behavior?
Indices should be moved to evicted only after they replica is deleted.
Relevant logs and/or screenshots
Possible fixes
Add a constraint in the DB to not have replica_id of evicted indices.
Edited by Ravi Kumar